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

Disassembly:
sub esp, 0x6c
push ebx
mov ebx, dword [esp + 0x74]
push edi
lea eax, [ebx*4]
mov edi, 1
sub edi, eax
jne 0x440db2
pop edi
or eax, 0xffffffff
pop ebx
add esp, 0x6c
ret
push 2
push esi
call fcn.004565d0
add esp, 8
test eax, eax
js 0x4412e8
push 2
push esi
call fcn.0045db20
add esp, 8
test eax, eax
je 0x440def
push 2
push esi
call fcn.004565d0
add esp, 8
neg eax
sbb eax, eax
and eax, 0xfffffffe
pop edi
add eax, 2
pop ebx
add esp, 0x6c
ret
lea ecx, [esp + 0x50]
push ecx
call fcn.004565a0
lea edx, [esp + 0x6c]
push edi
push edx
call fcn.0045da00
lea eax, [esp + 0x50]
push eax
call fcn.004565a0
push ebx
lea ecx, [esp + 0x7c]
push ecx
lea edx, [esp + 0x5c]
push edx
call fcn.0045dbc0
lea eax, [esp + 0x60]
push 2
push eax
mov ecx, eax
push ecx
call fcn.00459570
lea edx, [esp + 0x6c]
push esi
push edx
mov eax, edx
push eax
call fcn.00458a00
lea ecx, [esp + 0x78]
push esi
push ecx
call fcn.00456920
add esp, 0x3c
test eax, eax
je 0x440e89
lea edx, [esp + 0x44]
push 1
push edx
call fcn.004565d0
add esp, 8
test eax, eax
jle 0x440e89
lea eax, [esp + 0x68]
push eax
call fcn.00456900
lea ecx, [esp + 0x48]
push ecx
call fcn.00456900
lea edx, [esp + 0x58]
push edx
call fcn.00456900
add esp, 0xc
pop edi
xor eax, eax
pop ebx
add esp, 0x6c
ret
lea eax, [esp + 0x50]
push esi
push eax
call fcn.00456880
lea ecx, [esp + 0x70]
push esi
push ecx
call fcn.00459b10
add esp, 0x10
cmp eax, 0xffffffff
jne 0x440eb8
lea edx, [esp + 0x50]
push 1
push edx
mov eax, edx
push eax
call fcn.00456ad0
jmp 0x440ecb
cmp eax, 1
jne 0x440ece
push eax
lea ecx, [esp + 0x54]
push ecx
mov edx, ecx
push edx
call fcn.00458940
add esp, 0xc
push ebp
lea eax, [esp + 0x24]
push 1
push eax
call fcn.0045da00
lea ecx, [esp + 0x14]
push 2
push ecx
call fcn.0045da00
lea edx, [esp + 0x40]
push 1
push edx
call fcn.0045da00
lea eax, [esp + 0x30]
push 1
push eax
call fcn.0045da00
lea ecx, [esp + 0x80]
push 1
push ecx
call fcn.0045da00
lea edx, [esp + 0x64]
push 0
push edx
call fcn.0045da00
lea eax, [esp + 0x84]
push 0
push eax
call fcn.0045d760
lea ecx, [esp + 0x8c]
push 2
push ecx
mov ebp, eax
call fcn.00457f70
lea edi, [eax - 1]
lea ebx, [ebp + 1]
add esp, 0x40
cmp edi, ebx
jl 0x441116
jmp 0x440f50
lea edx, [esp + 0x60]
push edx
lea eax, [esp + 0x1c]
push eax
mov ecx, eax
push ecx
call fcn.00458530
lea edx, [esp + 0x24]
push esi
push edx
mov eax, edx
push eax
call fcn.00458470
lea ecx, [esp + 0x6c]
push edi
push ecx
call fcn.0045d990
add esp, 0x20
cmp eax, 1
lea ecx, [esp + 0x60]
lea eax, [esp + 0x18]
jne 0x44104a
mov edx, dword [esp + 0x7c]
push edx
push eax
push ecx
call fcn.0045dbc0
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x34]
push eax
mov ecx, eax
push ecx
call fcn.00458530
lea edx, [esp + 0x3c]
push esi
push edx
mov eax, edx
push eax
call fcn.00458470
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x58]
push edx
mov eax, ecx
push eax
call fcn.00458530
push 1
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x74]
push edx
call fcn.0045dbc0
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x4c]
push ecx
mov edx, ecx
push edx
call fcn.00459720
add esp, 0x48
lea eax, [esp + 0xc]
push esi
push eax
mov ecx, eax
push ecx
call fcn.00458470
lea edx, [esp + 0x3c]
push edx
mov eax, edx
push eax
mov ecx, edx
push ecx
call fcn.00458530
push 2
lea edx, [esp + 0x7c]
push edx
lea eax, [esp + 0x5c]
push eax
call fcn.0045dbc0
lea ecx, [esp + 0x60]
push ecx
lea edx, [esp + 0x58]
push edx
mov eax, edx
push eax
call fcn.00459720
lea ecx, [esp + 0x60]
push esi
push ecx
mov edx, ecx
push edx
call fcn.00458470
add esp, 0x3c
jmp 0x44110d
push eax
push ecx
call fcn.00456880
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x30]
push eax
mov ecx, eax
push ecx
call fcn.00458530
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x3c]
push eax
mov ecx, eax
push ecx
call fcn.00459720
lea edx, [esp + 0x44]
push esi
push edx
mov eax, edx
push eax
call fcn.00458470
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x60]
push edx
mov eax, edx
push eax
call fcn.00458530
push 1
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x7c]
push edx
call fcn.0045dbc0
add esp, 0x44
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x34]
push ecx
mov edx, ecx
push edx
call fcn.00459720
lea eax, [esp + 0x3c]
push esi
push eax
mov ecx, eax
push ecx
call fcn.00458470
lea edx, [esp + 0x24]
push edx
mov eax, edx
push eax
mov ecx, edx
push ecx
call fcn.00458530
push 2
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x68]
push eax
call fcn.0045dbc0
lea ecx, [esp + 0x6c]
push ecx
lea edx, [esp + 0x40]
push edx
mov eax, edx
push eax
call fcn.00459720
lea ecx, [esp + 0x48]
push esi
push ecx
mov edx, ecx
push edx
call fcn.00458470
add esp, 0x48
dec edi
cmp edi, ebx
jge 0x440f50
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov edx, ecx
push edx
call fcn.00458530
mov eax, dword [esp + 0x88]
push eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x74]
push edx
call fcn.0045dbc0
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x40]
push ecx
mov edx, ecx
push edx
call fcn.00458530
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x4c]
push ecx
mov edx, ecx
push edx
call fcn.00459720
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x64]
push ecx
mov edx, eax
push edx
call fcn.00458530
push 1
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x80]
push ecx
call fcn.0045dbc0
add esp, 0x48
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x10]
push eax
mov ecx, eax
push ecx
call fcn.00459720
lea edx, [esp + 0x6c]
push edx
lea eax, [esp + 0x28]
push eax
mov ecx, eax
push ecx
call fcn.00458530
add esp, 0x18
cmp ebp, 1
jl 0x44124c
mov edi, ebp
mov edi, edi
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x28]
push eax
mov ecx, eax
push ecx
call fcn.00458530
lea edx, [esp + 0x30]
push esi
push edx
mov eax, edx
push eax
call fcn.00458470
lea ecx, [esp + 0x24]
push ecx
mov edx, ecx
push edx
mov eax, ecx
push eax
call fcn.00458530
push 2
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x68]
push edx
call fcn.0045dbc0
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x40]
push ecx
mov edx, ecx
push edx
call fcn.00459720
lea eax, [esp + 0x48]
push esi
push eax
mov ecx, eax
push ecx
call fcn.00458470
lea edx, [esp + 0x60]
add esp, 0x48
push edx
mov eax, edx
push eax
mov ecx, edx
push ecx
call fcn.00458530
lea edx, [esp + 0x24]
push esi
push edx
mov eax, edx
push eax
call fcn.00458470
add esp, 0x18
dec edi
jne 0x4411c0
push esi
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x50]
push edx
call fcn.00458470
lea eax, [esp + 0x78]
push eax
call fcn.00456900
lea ecx, [esp + 0x64]
push ecx
call fcn.00456900
lea edx, [esp + 0x38]
push edx
call fcn.00456900
lea eax, [esp + 0x24]
push eax
call fcn.00456900
lea ecx, [esp + 0x4c]
push ecx
call fcn.00456900
lea edx, [esp + 0x38]
push edx
call fcn.00456900
lea eax, [esp + 0x84]
push eax
call fcn.00456900
lea ecx, [esp + 0x64]
push ecx
call fcn.00456900
lea edx, [esp + 0x74]
push 0
push edx
call fcn.004565d0
add esp, 0x34
pop ebp
test eax, eax
jne 0x4412db
lea eax, [esp + 0x44]
push eax
call fcn.00456900
add esp, 4
pop edi
mov eax, 1
pop ebx
add esp, 0x6c
ret
lea ecx, [esp + 0x44]
push ecx
call fcn.00456900
add esp, 4
pop edi
xor eax, eax
pop ebx
add esp, 0x6c
ret