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

Disassembly:
push 0x1c
mov eax, 0x43c11e
call fcn.0042f19a
mov esi, ecx
mov dword [ebp - 0x20], esi
xor edi, edi
mov ebx, edi
cmp dword [esi + 0x7c], edi
jbe 0x4094d6
mov eax, dword [esi + 0x78]
mov ecx, ebx
shl ecx, 2
mov edx, dword [ecx + eax]
mov eax, dword [esi + 8]
add eax, ecx
mov dword [ebp - 0x18], edx
cmp byte [esi + 0x60], 0
je 0x40947a
mov ecx, dword [eax]
xor edi, edi
inc edi
jmp 0x40947f
mov edi, dword [eax]
xor ecx, ecx
inc ecx
lea eax, [edx + 0x70]
mov dword [ebp - 0x24], ecx
mov ecx, eax
mov dword [ebp - 0x1c], eax
call fcn.004090ae
test edi, edi
je 0x4094a5
mov esi, dword [ebp - 0x1c]
mov ecx, esi
call fcn.00403b7a
sub edi, 1
jne 0x409496
mov esi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
add eax, 0x7c
mov ecx, eax
mov dword [ebp - 0x1c], eax
call fcn.004090ae
mov edi, dword [ebp - 0x24]
test edi, edi
je 0x4094ce
mov esi, dword [ebp - 0x1c]
mov ecx, esi
call fcn.00403b7a
sub edi, 1
jne 0x4094bf
mov esi, dword [ebp - 0x20]
inc ebx
cmp ebx, dword [esi + 0x7c]
jb 0x40945a
xor edi, edi
mov ebx, edi
cmp dword [esi + 0x18], edi
jbe 0x409617
mov edx, dword [esi + 0x14]
mov eax, dword [esi + 0x3c]
mov ecx, dword [edx + ebx*8]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [esi + 0x30]
mov dword [ebp - 0x20], ecx
sub edx, dword [eax + ecx*4]
cmp byte [esi + 0x60], 0
mov dword [ebp - 0x1c], edx
mov edx, dword [esi + 0x14]
je 0x409514
mov dword [ebp - 0x24], ecx
mov ecx, dword [edx + ebx*8 + 4]
mov dword [ebp - 0x20], ecx
jmp 0x40951b
mov eax, dword [edx + ebx*8 + 4]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c]
mov edx, eax
mov cl, byte [esi + 0x60]
and dword [ebp - 0x1c], 0
test cl, cl
cmovne edx, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], edx
xor edx, edx
test cl, cl
mov ecx, dword [esi + 0x78]
cmovne edx, eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], edx
mov eax, dword [ecx + eax*4]
mov eax, dword [eax + 0x7c]
mov edx, dword [eax + edx*4]
mov eax, dword [ebp - 0x20]
push edx
mov eax, dword [ecx + eax*4]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [eax + 0x70]
mov ecx, dword [eax + ecx*4]
mov eax, dword [esi + 0x6c]
push ecx
mov ecx, dword [eax + ebx*4]
call fcn.0041186d
mov dword [ebp - 0x18], edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x14], edi
mov ecx, dword [ebp - 0x20]
mov eax, dword [esi + 0x78]
mov byte [ebp - 4], 1
mov eax, dword [eax + ecx*4]
mov ecx, dword [eax + 0x18]
test ecx, ecx
jne 0x409585
mov ecx, dword [eax + 0x1c]
mov eax, dword [ecx]
lea edx, [ebp - 0x18]
push edx
push 0x43f5f8
push ecx
call dword [eax]
mov ecx, dword [ebp - 0x24]
mov eax, dword [esi + 0x78]
mov eax, dword [eax + ecx*4]
mov ecx, dword [eax + 0x18]
test ecx, ecx
jne 0x4095a6
mov ecx, dword [eax + 0x1c]
mov eax, dword [ecx]
lea edx, [ebp - 0x14]
push edx
push 0x43f5f8
push ecx
call dword [eax]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
test eax, eax
je 0x4095e7
test ecx, ecx
je 0x4095e7
mov ecx, dword [eax]
push 0x80000
push dword [ebp - 0x1c]
push eax
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x14]
push 0x80000
push dword [ebp - 0x28]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 2
test ecx, ecx
je 0x4095f8
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], 3
test eax, eax
je 0x409609
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
inc ebx
cmp ebx, dword [esi + 0x18]
jb 0x4094e1
cmp byte [esi + 0x60], 0
mov ecx, dword [esi + 0x2c]
mov eax, dword [esi + 0x78]
mov ebx, dword [ebp + 8]
mov ecx, dword [eax + ecx*4]
je 0x409637
mov ecx, dword [ecx + 0x70]
push dword [ebx]
mov ecx, dword [ecx]
call fcn.0040295d
jmp 0x409646
mov eax, dword [ebp + 0xc]
mov ecx, dword [ecx + 0x7c]
push dword [eax]
mov ecx, dword [ecx]
call fcn.0040295d
cmp dword [esi + 0x24], edi
jbe 0x40969b
sub dword [ebp + 0xc], ebx
mov eax, dword [esi + 0x20]
mov edx, dword [eax + edi*4]
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax + edx*4]
mov eax, dword [esi + 0x78]
mov eax, dword [eax + ecx*4]
mov dword [ebp + 8], eax
mov eax, dword [esi + 0x30]
sub edx, dword [eax + ecx*4]
cmp byte [esi + 0x60], 0
mov ecx, dword [ebp + 8]
je 0x409685
mov eax, dword [ebp + 0xc]
mov ecx, dword [ecx + 0x7c]
push dword [eax + ebx]
mov ecx, dword [ecx + edx*4]
call fcn.0040295d
jmp 0x409692
mov ecx, dword [ecx + 0x70]
push dword [ebx]
mov ecx, dword [ecx + edx*4]
call fcn.0040295d
inc edi
add ebx, 4
cmp edi, dword [esi + 0x24]
jb 0x40964e
xor eax, eax
call fcn.0042f168
ret 8