Function at 0x2166bc6b0
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xb8
xor eax, eax
mov r14, rdx
lea rdx, [rsp + 0x30]
mov rbx, rcx
mov ecx, 0x10
mov rdi, rdx
mov rbp, r8
mov esi, r9d
rep stosq qword [rdi], rax
test rbx, rbx
je 0x2166bc6ed
cmp word [rbx], 0x5a4d
je 0x2166bc710
xor r12d, r12d
mov rax, r12
add rsp, 0xb8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
movsxd rdi, dword [rbx + 0x3c]
add rdi, rbx
cmp dword [rdi], 0x4550
jne 0x2166bc6ed
mov edx, 0x766d6eae
lea rcx, [0x2167e1d40]
call fcn.2166bc0d0
test byte [rdi + 0x17], 0x20
je 0x2166bc6ed
mov edx, 0x5dd0bf2e
lea rcx, [0x2167e1d00]
call fcn.2166bc0d0
movsxd rdx, dword [rbx + 0x3c]
add rdx, rbx
movdqu xmm0, xmmword [rdx + 0x88]
movdqu xmm1, xmmword [rdx + 0x98]
movdqu xmm2, xmmword [rdx + 0xa8]
movdqu xmm3, xmmword [rdx + 0xb8]
movdqu xmm4, xmmword [rdx + 0xc8]
movdqu xmm5, xmmword [rdx + 0xd8]
movaps xmmword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x40], xmm1
movdqu xmm0, xmmword [rdx + 0xe8]
movdqu xmm1, xmmword [rdx + 0xf8]
mov edx, dword [rsp + 0x34]
movaps xmmword [rsp + 0x50], xmm2
movaps xmmword [rsp + 0x60], xmm3
movaps xmmword [rsp + 0x70], xmm4
movaps xmmword [rsp + 0x80], xmm5
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0xa0], xmm1
test edx, edx
je 0x2166bc6ed
movsxd rax, dword [rsp + 0x30]
test eax, eax
je 0x2166bc6ed
lea rdi, [rax + rbx]
lea rcx, [0x2167e1c80]
mov edx, 0x5d9cf56a
call fcn.2166bc0d0
movsxd r13, dword [rdi + 0x1c]
movsxd rax, dword [rdi + 0x20]
mov r12d, dword [rdi + 0x18]
add r13, rbx
mov edi, dword [rax + rbx]
lea rax, [0x216721071]
mov qword [rsp + 0x20], r13
mov ecx, dword [r13]
cmp r14, rax
je 0x2166bc905
test r14, r14
je 0x2166bc827
cmp byte [r14], 0
je 0x2166bc905
test r12d, r12d
js 0x2166bc965
mov dword [rsp + 0x118], esi
xor ebp, ebp
lea r15, [0x2167e1c00]
mov esi, ecx
jmp 0x2166bc8a5
add qword [rsp + 0x20], 4
mov rax, qword [rsp + 0x20]
mov r9d, dword [rax]
mov edx, 1
test r13, r13
jne 0x2166bc935
add edi, edx
cmp r14, r13
je 0x2166bc97b
test r14, r14
je 0x2166bc896
test r13, r13
je 0x2166bc896
mov rdx, r13
mov rcx, r14
mov dword [rsp + 0x2c], r9d
call sub.msvcrt.dll_strcmp
mov r9d, dword [rsp + 0x2c]
test eax, eax
je 0x2166bc97b
add ebp, 1
cmp r12d, ebp
jl 0x2166bc965
mov esi, r9d
mov edx, 0x481655ce
mov rcx, r15
call fcn.2166bc0d0
movsxd r8, edi
mov edx, 0x4929134a
lea rcx, [0x2167e1bd0]
lea r13, [r8 + rbx]
call fcn.2166bc0d0
lea rdx, [0x216721071]
test rax, rax
je 0x2166bc8e9
lea rdx, [rax + 0x10]
cmp qword [rax], 0
lea rax, [0x216721071]
cmove rdx, rax
mov rcx, r13
call fcn.2166bc5c0
test eax, eax
je 0x2166bc848
add r12d, 1
mov r9d, esi
jmp 0x2166bc856
mov edx, 0x38e3c5ee
lea rcx, [0x2167e1c40]
call fcn.2166bc0d0
movsxd rax, dword [r13 + rbp*4 - 4]
lea r12, [rax + rbx]
mov edx, 0x7c9095aa
lea rcx, [0x2167e1920]
call fcn.2166bc0d0
jmp 0x2166bc6f0
xor eax, eax
cmp byte [r13], 0
lea rcx, [r13 + 1]
je 0x2166bc864
nop word cs:[rax + rax]
lea rdx, [rcx + rax]
add rax, 1
cmp byte [rdx], 0
jne 0x2166bc950
lea edx, [rax + 1]
jmp 0x2166bc864
mov edx, 0x7c9095aa
lea rcx, [0x2167e1920]
call fcn.2166bc0d0
jmp 0x2166bc6ed
movsxd rax, esi
mov esi, dword [rsp + 0x118]
test esi, esi
jne 0x2166bca0d
mov edx, 0x279e142a
lea rcx, [0x2167e1b80]
lea r12, [rax + rbx]
call fcn.2166bc0d0
mov edx, 0x7d9be0e
lea rcx, [0x2167e1b40]
call fcn.2166bc0d0
mov edx, 0x69c6300a
lea rcx, [0x2167e1b20]
call fcn.2166bc0d0
mov edx, 0xcfd9fae
lea rcx, [0x2167e1ae0]
call fcn.2166bc0d0
mov edx, 0x21425eea
lea rcx, [0x2167e1aa0]
call fcn.2166bc0d0
mov edx, 0x457b6a4e
lea rcx, [0x2167e1a80]
call fcn.2166bc0d0
mov edx, 0x2f4858ca
lea rcx, [0x2167e1a40]
call fcn.2166bc0d0
jmp 0x2166bc91f
mov eax, dword [0x2167e74a8]
test eax, eax
je 0x2166bca32
mov edx, 0x75a95d6e
lea rcx, [0x2167e1ba0]
mov dword [rsp + 0x20], r9d
call fcn.2166bc0d0
mov r9d, dword [rsp + 0x20]
mov edx, 0x279e142a
lea rcx, [0x2167e1b80]
mov dword [rsp + 0x20], r9d
call fcn.2166bc0d0
mov edx, 0x7d9be0e
lea rcx, [0x2167e1b40]
call fcn.2166bc0d0
mov edx, 0x69c6300a
lea rcx, [0x2167e1b20]
call fcn.2166bc0d0
mov edx, 0xcfd9fae
lea rcx, [0x2167e1ae0]
call fcn.2166bc0d0
mov edx, 0x21425eea
lea rcx, [0x2167e1aa0]
call fcn.2166bc0d0
mov edx, 0x457b6a4e
lea rcx, [0x2167e1a80]
call fcn.2166bc0d0
mov edx, 0x2f4858ca
lea rcx, [0x2167e1a40]
call fcn.2166bc0d0
movsxd r9, dword [rsp + 0x20]
lea r12, [r9 + rbx]
jmp 0x2166bc91f