Function at 0x1016a40f
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x10223e3a
call fcn.10210210
sub esp, 0x40
push ebx
push ebp
mov ebp, dword [esp + 0x5c]
xor ebx, ebx
push esi
push edi
inc ebx
mov edi, ecx
cmp dword [ebp + 0x144], 0
mov dword [esp + 0x14], edi
mov dword [esp + 0x64], ebx
je 0x1016a4ac
push 0x40
call fcn.101dbffe
pop ecx
mov dword [esp + 0x18], eax
and dword [esp + 0x58], 0
test eax, eax
je 0x1016a45a
mov ecx, eax
call fcn.10168955
mov esi, eax
jmp 0x1016a45c
xor esi, esi
or dword [esp + 0x58], 0xffffffff
lea ecx, [edi + 0x28]
push esi
call fcn.1016f290
push ebp
mov ecx, esi
call fcn.10168972
lea eax, [esp + 0x18]
push eax
lea ecx, [ebp + 0xe8]
call fcn.10168023
mov ecx, eax
mov dword [esp + 0x58], ebx
call fcn.10163f6e
mov esi, eax
lea edi, [esp + 0x6c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
or dword [esp + 0x58], 0xffffffff
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x1016a4a8
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [esp + 0x14]
lea eax, [edi + 8]
mov ecx, ebp
push eax
call fcn.101680ac
lea eax, [esp + 0x18]
push eax
lea ecx, [ebp + 0xe8]
call fcn.10168023
lea ecx, [esp + 0x18]
mov dword [esp + 0x58], 2
call fcn.1014d43e
mov ebx, dword [esp + 0x18]
test al, al
je 0x1016a613
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x168]
test al, al
je 0x1016a613
lea eax, [esp + 0x18]
push eax
lea ecx, [edi + 0x3c]
call fcn.10163b9b
mov eax, dword [ebx]
lea ecx, [esp + 0x20]
push ecx
mov ecx, ebx
call dword [eax + 0x10c]
sub esp, 0xc
lea esi, [esp + 0x78]
mov edi, esp
lea eax, [esp + 0x24]
mov ecx, ebx
push dword [esp + 0x74]
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.10187e5e
mov eax, dword [ebx + 0x54]
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
add ecx, 0x2c
movzx eax, word [eax + ebx*2]
mov dword [esp + 0x68], eax
lea eax, [esp + 0x68]
push eax
call fcn.10010758
mov esi, dword [esp + 0x18]
mov ecx, ebp
imul eax, ebx, 0xc
mov esi, dword [esi + 0x58]
add esi, eax
mov eax, dword [esp + 0x14]
lea edi, [eax + 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [eax + 0x40], ebx
call fcn.101721ac
push 1
xor eax, eax
mov ecx, ebp
push eax
push eax
push eax
call fcn.10175130
mov ebx, dword [esp + 0x18]
lea ecx, [esp + 0x30]
push ecx
mov ecx, ebx
mov eax, dword [ebx]
call dword [eax + 0x10c]
mov eax, dword [esp + 0x20]
sub esp, 0x10
mov ecx, esp
sub esp, 0x10
mov dword [ecx], eax
mov eax, dword [esp + 0x44]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x48]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x4c]
mov dword [ecx + 0xc], eax
mov ecx, esp
mov eax, dword [esp + 0x50]
mov dword [ecx], eax
mov eax, dword [esp + 0x54]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x58]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x5c]
mov dword [ecx + 0xc], eax
call fcn.1001d7a2
add esp, 0x20
test al, al
je 0x1016a606
mov esi, dword [ebp]
lea edx, [esp + 0x20]
sub esp, 0x10
mov ecx, esp
push ecx
call fcn.1016f6fe
pop ecx
lea eax, [esp + 0x50]
mov ecx, ebp
push eax
call dword [esi + 0x110]
push eax
mov ecx, ebp
call dword [esi + 0x98]
jmp 0x1016a618
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0x9c]
jmp 0x1016a618
mov byte [esp + 0x64], 0
or dword [esp + 0x58], 0xffffffff
test ebx, ebx
je 0x1016a628
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 4]
mov ecx, dword [esp + 0x50]
mov al, byte [esp + 0x64]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
leave
ret 0x14