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

Disassembly:
mov ecx, dword [0x100fc618]
sub esp, 0x19c
mov eax, dword [ecx]
push ebx
push ebp
push esi
push edi
call dword [eax + 0xf8]
mov edi, dword [esp + 0x1b4]
test eax, eax
je 0x2164dac
push 0x100e2c68
push edi
push 0x100f12f0
push 0x100e9e94
push 4
lea ecx, [esp + 0x28]
call fcn.020b59d0
mov ecx, eax
call fcn.020b7d30
mov ecx, eax
call fcn.020b7d30
mov ecx, eax
call fcn.020b7d30
lea ecx, [esp + 0x14]
call fcn.020b7a00
push 0
push 0
push 2
push 0
push 1
push 0x40000000
push edi
call dword [0x100d3084]
mov esi, eax
cmp esi, 0xffffffff
jne 0x2164df8
call dword [0x100d326c]
mov ecx, dword [0x100fc618]
mov ebx, eax
mov edx, dword [ecx]
call dword [edx + 0xf8]
test eax, eax
je 0x21651be
push ebx
push 0x100f0170
push edi
push 0x100f1340
jmp 0x2165189
lea eax, [esp + 0x16c]
push 0x40
push eax
call fcn.021639e0
mov ebp, dword [0x100d320c]
add esp, 8
mov eax, 0x5a4d
mov dword [esp + 0x1a8], 0x40
mov word [esp + 0x16c], ax
lea eax, [esp + 0x20]
push 0
push eax
push 0x40
lea eax, [esp + 0x178]
push eax
push esi
call ebp
test eax, eax
jne 0x2164e6f
call dword [0x100d326c]
mov ecx, dword [0x100fc618]
mov ebx, eax
mov edx, dword [ecx]
call dword [edx + 0xf8]
test eax, eax
je 0x21651be
push ebx
push 0x100f0170
push edi
push 0x100f1390
jmp 0x2165189
lea eax, [esp + 0x74]
push 0xf8
push eax
call fcn.021639e0
mov ecx, dword [esp + 0x1b8]
xor edx, edx
add esp, 8
mov dword [esp + 0x74], 0x4550
mov dword [esp + 0x9c], 0x1000
mov dword [esp + 0xa0], 0x1000
movzx eax, word [ecx + 0x16]
mov ebx, dword [ecx + 0x50]
mov word [esp + 0x8a], ax
add ebx, 0x2000
movzx eax, word [ecx + 4]
mov word [esp + 0x78], ax
mov eax, 2
mov word [esp + 0x7a], ax
mov eax, 0xe0
mov word [esp + 0x88], ax
movzx eax, word [ecx + 0x18]
mov word [esp + 0x8c], ax
mov eax, dword [ecx + 0x34]
mov dword [esp + 0xa8], eax
movzx eax, word [ecx + 0x5c]
mov word [esp + 0xd0], ax
mov eax, ebx
div dword [0x100fc4b0]
mov dword [esp + 0xb0], 0x1000
mov dword [esp + 0xac], 0x1000
mov dword [esp + 0x90], 0x1000
mov dword [esp + 0xc8], 0x1000
mov dword [esp + 0xe8], 0x10
test edx, edx
jne 0x2164f4b
mov dword [esp + 0xc4], ebx
jmp 0x2164f5a
inc eax
imul eax, dword [0x100fc4b0]
mov dword [esp + 0xc4], eax
movzx eax, word [ecx + 0x40]
mov word [esp + 0xb4], ax
movzx eax, word [ecx + 0x42]
mov word [esp + 0xb6], ax
movzx eax, word [ecx + 0x44]
mov word [esp + 0xb8], ax
movzx eax, word [ecx + 0x46]
mov word [esp + 0xba], ax
movzx eax, word [ecx + 0x48]
mov word [esp + 0xbc], ax
movzx eax, word [ecx + 0x4a]
mov word [esp + 0xbe], ax
mov eax, dword [ecx + 0x4c]
mov dword [esp + 0xc0], eax
mov eax, dword [ecx + 0x60]
mov dword [esp + 0xd4], eax
mov eax, dword [ecx + 0x64]
mov dword [esp + 0xd8], eax
mov eax, dword [ecx + 0x68]
mov dword [esp + 0xdc], eax
mov eax, dword [ecx + 0x6c]
push 0
mov dword [esp + 0xe4], eax
lea eax, [esp + 0x24]
push eax
push 0xf8
lea eax, [esp + 0x80]
push eax
push esi
call ebp
mov ebx, dword [0x100d31c8]
xor eax, eax
mov dword [esp + 0x25], eax
xorps xmm0, xmm0
mov word [esp + 0x29], ax
mov byte [esp + 0x2b], al
lea eax, [esp + 0x24]
push 0x100f10e4
push eax
mov byte [esp + 0x2c], 0
movdqu xmmword [esp + 0x34], xmm0
movdqu xmmword [esp + 0x44], xmm0
call ebx
push 0
lea eax, [esp + 0x24]
mov dword [esp + 0x34], 0x1000
push eax
push 0x28
lea eax, [esp + 0x30]
mov dword [esp + 0x40], 0x1000
push eax
push esi
mov dword [esp + 0x4c], 0x1000
mov dword [esp + 0x40], 0x1000
mov dword [esp + 0x5c], 0xe0000060
call ebp
test eax, eax
je 0x2164e40
xor eax, eax
mov byte [esp + 0x4c], 0
mov dword [esp + 0x4d], eax
xorps xmm0, xmm0
mov word [esp + 0x51], ax
mov byte [esp + 0x53], al
lea eax, [esp + 0x4c]
push 0x100f10f4
push eax
movdqu xmmword [esp + 0x5c], xmm0
movdqu xmmword [esp + 0x6c], xmm0
call ebx
mov eax, dword [esp + 0xc4]
add eax, 0xffffe000
mov dword [esp + 0x58], 0x2000
push 0
mov dword [esp + 0x58], eax
lea eax, [esp + 0x24]
push eax
push 0x28
lea eax, [esp + 0x58]
mov dword [esp + 0x68], 0
push eax
push esi
mov dword [esp + 0x74], 0
mov dword [esp + 0x84], 0xc0000080
call ebp
test eax, eax
je 0x2164e40
mov ebx, dword [0x100d31c0]
push 0
push 0
push dword [esp + 0x40]
push esi
call ebx
push 0
lea eax, [esp + 0x24]
mov byte [esp + 0x17], 0xc3
push eax
push 1
lea eax, [esp + 0x1f]
push eax
push esi
call ebp
test eax, eax
je 0x2164e40
push 0
push 0
push 0x1000
push esi
call ebx
cmp eax, 0xffffffff
jne 0x2165148
call dword [0x100d326c]
mov ecx, dword [0x100fc618]
mov ebx, eax
mov edx, dword [ecx]
call dword [edx + 0xf8]
test eax, eax
je 0x21651be
push ebx
push 0x100f0170
push edi
push 0x100f13e8
jmp 0x2165189
push 1
push 0
push dword [esp + 0x3c]
push esi
call ebx
cmp eax, 0xffffffff
je 0x216511c
push esi
call dword [0x100d3220]
test eax, eax
jne 0x21651c2
call dword [0x100d326c]
mov ecx, dword [0x100fc618]
mov ebx, eax
mov edx, dword [ecx]
call dword [edx + 0xf8]
test eax, eax
je 0x21651be
push ebx
push 0x100f0170
push edi
push 0x100f1448
push 0x100e9e94
push 0
lea ecx, [esp + 0x2c]
call fcn.020b59d0
mov ecx, eax
call fcn.020b7d30
mov ecx, eax
call fcn.020b7d30
mov ecx, eax
call fcn.020b7d30
mov ecx, eax
call fcn.020b7c00
lea ecx, [esp + 0x14]
call fcn.020b7a00
xor edi, edi
jmp 0x21651c7
mov edi, 1
test esi, esi
je 0x21651d6
cmp esi, 0xffffffff
je 0x21651d6
push esi
call fcn.02158b00
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x19c
ret
jmp 0x2164d50