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

Disassembly:
sub esp, 0x4c
imul ecx, dword [esp + 0x58], 0x160c
mov eax, dword [esp + 0x54]
push ebx
push ebp
push edi
add ecx, dword [eax + 0x4c]
mov edi, dword [esp + 0x5c]
mov dword [esp + 0x50], ecx
mov eax, dword [ecx + 0x1a4]
mov edi, dword [edi + 0x10]
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], edi
lea ebx, [eax + 1]
imul eax, edi, 0x210
push eax
call fcn.1008aa70
mov ebp, eax
add esp, 4
mov dword [esp + 0x10], ebp
test ebp, ebp
jne 0x1009d991
pop edi
pop ebp
pop ebx
add esp, 0x4c
ret
lea eax, [edi*4]
push esi
push eax
call fcn.1008aa70
mov esi, eax
add esp, 4
mov dword [esp + 0x3c], esi
test esi, esi
jne 0x1009d9bf
push ebp
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
add esp, 4
xor eax, eax
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x4c
ret
push dword [esp + 0x70]
push dword [esp + 0x6c]
push dword [esp + 0x6c]
push dword [esp + 0x6c]
call fcn.1009ca80
mov ebp, eax
add esp, 0x10
mov dword [esp + 0x30], ebp
test ebp, ebp
jne 0x1009d9fd
push dword [esp + 0x14]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
push esi
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
add esp, 8
xor eax, eax
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x4c
ret
mov ecx, dword [esp + 0x14]
xor eax, eax
test edi, edi
je 0x1009da1e
nop word [eax + eax]
mov dword [esi + eax*4], ecx
inc eax
add ecx, 0x210
cmp eax, edi
jb 0x1009da10
push esi
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x4c]
push eax
push dword [esp + 0x8c]
push dword [esp + 0x8c]
push dword [esp + 0x8c]
call fcn.1009c1b0
mov eax, dword [esp + 0x40]
imul eax, edi
push 2
mov ecx, eax
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x98]
imul ecx, dword [esp + 0x74]
mov eax, dword [eax + 0x60]
shr eax, 3
and al, 1
mov dword [esp + 0x7c], ecx
mov byte [ebp], al
mov eax, dword [esp + 0x88]
mov eax, dword [eax + 8]
imul eax, ecx
push eax
mov dword [ebp + 8], eax
call fcn.1008aa30
mov ecx, ebp
add esp, 0x38
mov dword [ecx + 4], eax
test eax, eax
jne 0x1009dad0
push dword [esp + 0x14]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
push esi
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
push ebx
push ebp
call fcn.1009d8b0
add esp, 0x10
xor eax, eax
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x4c
ret
mov eax, dword [esp + 0x60]
xor ebx, ebx
mov esi, dword [ecx + 0xc8]
mov ebp, dword [eax + 0x18]
mov eax, dword [esp + 0x2c]
mov dword [ecx + 0xcc], eax
mov eax, dword [esp + 0x24]
mov dword [ecx + 0xd0], eax
mov eax, dword [esp + 0x28]
mov dword [ecx + 0xd4], eax
mov eax, dword [esp + 0x20]
mov dword [ecx + 0xd8], eax
mov eax, dword [esp + 0x1c]
mov dword [ecx + 0xe4], eax
mov eax, dword [esp + 0x18]
mov dword [ecx + 0xe8], eax
mov eax, dword [esp + 0x10]
mov dword [ecx + 0x14], eax
mov eax, dword [esp + 0x44]
mov dword [ecx + 0x10], eax
mov eax, dword [esp + 0x48]
mov dword [ecx + 0x18], 1
mov dword [ecx + 0xc], eax
test edi, edi
je 0x1009db96
nop dword [eax + eax]
mov eax, dword [esp + 0x3c]
xor edi, edi
mov edx, dword [esi + 0xc]
mov ecx, dword [eax + ebx*4]
mov eax, dword [ebp]
mov dword [esi], eax
mov eax, dword [ebp + 4]
mov dword [esi + 4], eax
cmp dword [esi + 8], edi
jbe 0x1009db83
add ecx, 8
nop
mov eax, dword [ecx - 8]
lea ecx, [ecx + 0x10]
mov dword [edx], eax
lea edx, [edx + 0x10]
mov eax, dword [ecx - 0x14]
inc edi
mov dword [edx - 0xc], eax
mov eax, dword [ecx - 0x10]
mov dword [edx - 8], eax
mov eax, dword [ecx - 0xc]
mov dword [edx - 4], eax
cmp edi, dword [esi + 8]
jb 0x1009db60
mov edi, dword [esp + 0x34]
inc ebx
add esi, 0x10
add ebp, 0x34
cmp ebx, edi
jb 0x1009db40
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x38]
inc eax
cmp eax, 1
jbe 0x1009dcb1
lea ebx, [ecx + 0x1bc]
mov dword [esp + 0x50], ebx
nop
mov eax, dword [esp + 0x60]
xor ebp, ebp
mov esi, dword [ebx - 4]
mov ecx, dword [eax + 0x18]
mov eax, dword [esp + 0x2c]
mov dword [ebx], eax
mov eax, dword [esp + 0x24]
mov dword [ebx + 4], eax
mov eax, dword [esp + 0x28]
mov dword [ebx + 8], eax
mov eax, dword [esp + 0x20]
mov dword [ebx + 0xc], eax
mov eax, dword [esp + 0x1c]
mov dword [ebx + 0x18], eax
mov eax, dword [esp + 0x18]
mov dword [ebx + 0x1c], eax
mov eax, dword [esp + 0x10]
mov dword [ebx - 0xb8], eax
mov eax, dword [esp + 0x44]
mov dword [ebx - 0xbc], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x4c], ecx
mov dword [ebx - 0xb4], 1
mov dword [ebx - 0xc0], eax
test edi, edi
je 0x1009dc84
mov ebx, dword [esp + 0x34]
nop dword [eax]
mov eax, dword [esp + 0x3c]
xor edi, edi
mov edx, dword [esi + 0xc]
mov eax, dword [eax + ebp*4]
mov dword [esp + 0x58], eax
mov eax, dword [ecx]
mov dword [esi], eax
mov eax, dword [ecx + 4]
mov dword [esi + 4], eax
cmp dword [esi + 8], edi
jbe 0x1009dc6d
mov eax, dword [esp + 0x58]
add eax, 8
mov ecx, dword [eax - 8]
lea eax, [eax + 0x10]
mov dword [edx], ecx
lea edx, [edx + 0x10]
mov ecx, dword [eax - 0x14]
inc edi
mov dword [edx - 0xc], ecx
mov ecx, dword [eax - 0x10]
mov dword [edx - 8], ecx
mov ecx, dword [eax - 0xc]
mov dword [edx - 4], ecx
cmp edi, dword [esi + 8]
jb 0x1009dc46
mov ecx, dword [esp + 0x4c]
add ecx, 0x34
inc ebp
add esi, 0x10
mov dword [esp + 0x4c], ecx
cmp ebp, ebx
jb 0x1009dc20
mov ebx, dword [esp + 0x50]
mov edi, dword [esp + 0x34]
mov eax, dword [ebx - 0x1b8]
mov dword [ebx - 0xc8], eax
mov eax, dword [ebx - 0x1b4]
mov dword [ebx - 0xc4], eax
add ebx, 0xf0
sub dword [esp + 0x38], 1
mov dword [esp + 0x50], ebx
jne 0x1009dbb0
push dword [esp + 0x14]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
push dword [esp + 0x40]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov eax, dword [esp + 0x5c]
add esp, 8
mov ecx, dword [esp + 0x64]
test byte [eax + 0x1608], 4
je 0x1009dd28
movzx eax, word [ecx]
cmp eax, 3
jb 0x1009dce4
cmp eax, 6
jbe 0x1009dceb
cmp dword [esp + 0x6c], 1
jne 0x1009dd28
push dword [esp + 0x18]
mov eax, dword [esp + 0x44]
push dword [esp + 0x20]
push eax
push dword [esp + 0x1c]
push dword [esp + 0x30]
push dword [esp + 0x38]
push dword [esp + 0x40]
push dword [esp + 0x48]
push dword [esp + 0x88]
push ecx
call fcn.1009f050
mov eax, dword [esp + 0x58]
add esp, 0x28
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x4c
ret
push dword [esp + 0x18]
mov eax, dword [esp + 0x44]
push dword [esp + 0x20]
push eax
push dword [esp + 0x1c]
push dword [esp + 0x30]
push dword [esp + 0x38]
push dword [esp + 0x40]
push dword [esp + 0x48]
push dword [esp + 0x88]
push edi
push ecx
call fcn.1009ef70
mov eax, dword [esp + 0x5c]
add esp, 0x2c
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x4c
ret