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

Disassembly:
sub esp, 0x4c
push ebx
push edi
mov edi, dword [esp + 0x5c]
mov ebx, 1
push edi
mov dword [esp + 0xc], ebx
call fcn.00409c40
add esp, 4
test eax, eax
je 0x407298
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x58]
push eax
push edi
push ecx
call fcn.004071c0
add esp, 0xc
pop edi
pop ebx
add esp, 0x4c
ret
push ebp
lea edx, [esp + 0x28]
push esi
push edx
call fcn.00406dd0
lea eax, [esp + 0x3c]
push eax
call fcn.00406dd0
lea ecx, [esp + 0x28]
push ecx
call fcn.00406dd0
lea edx, [esp + 0x20]
push edx
call fcn.00406dd0
lea eax, [esp + 0x54]
push eax
call fcn.00406dd0
lea ecx, [esp + 0x64]
push ecx
call fcn.00406dd0
mov ebp, dword [esp + 0x78]
lea eax, [esp + 0x44]
push eax
lea edx, [esp + 0x2c]
push ebp
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], edx
call fcn.00407670
mov esi, eax
add esp, 0x20
test esi, esi
jne 0x4075c3
lea ecx, [esp + 0x38]
push ecx
push edi
call fcn.00407670
mov esi, eax
add esp, 8
test esi, esi
jne 0x4075c3
lea edx, [esp + 0x20]
push edx
push ebx
call fcn.00406ef0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4075c3
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x28], ebx
push ebx
mov dword [eax], ebx
call fcn.00406ef0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4075c3
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x18], ebx
mov dword [edx], eax
lea ebx, [ebx]
cmp dword [esp + 0x30], ebx
jne 0x407373
mov eax, dword [esp + 0x34]
cmp dword [eax], 0
je 0x4075aa
lea ecx, [esp + 0x2c]
push ecx
call fcn.00409c40
add esp, 4
test eax, eax
je 0x4073d2
lea edx, [esp + 0x2c]
push edx
call fcn.00409bf0
lea eax, [esp + 0x24]
push eax
call fcn.00409c40
add esp, 8
test eax, eax
jne 0x4073b7
lea ecx, [esp + 0x20]
push ecx
push edi
call fcn.004096c0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4075c3
lea edx, [esp + 0x20]
push edx
call fcn.00409bf0
lea eax, [esp + 0x30]
push eax
call fcn.00409c40
add esp, 8
test eax, eax
jne 0x407384
test esi, esi
jne 0x4075c3
lea ecx, [esp + 0x38]
push ecx
call fcn.00409c40
add esp, 4
test eax, eax
je 0x407458
jmp 0x4073f0
lea edx, [esp + 0x38]
push edx
call fcn.00409bf0
mov esi, eax
add esp, 4
test esi, esi
jne 0x4075c3
lea eax, [esp + 0x14]
push eax
call fcn.00409c40
add esp, 4
test eax, eax
jne 0x407430
lea ecx, [esp + 0x14]
push ecx
push edi
call fcn.004096c0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4075c3
lea edx, [esp + 0x14]
push edx
call fcn.00409bf0
mov esi, eax
add esp, 4
test esi, esi
jne 0x4075c3
lea eax, [esp + 0x38]
push eax
call fcn.00409c40
add esp, 4
test eax, eax
jne 0x4073f0
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x30]
push edx
call fcn.004076c0
add esp, 8
test eax, eax
lea edx, [esp + 0x2c]
jl 0x40751f
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x3c]
push ecx
push edx
call fcn.00407870
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4075c3
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x48]
push ecx
call fcn.00407670
mov esi, eax
add esp, 8
test esi, esi
jne 0x4075c3
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x24]
push eax
call fcn.004076c0
add esp, 8
test eax, eax
jge 0x4074dd
lea ecx, [esp + 0x20]
push ecx
push edi
call fcn.004096c0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4075c3
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.00407870
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4075c3
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x48]
push eax
call fcn.00407670
mov esi, eax
add esp, 8
test esi, esi
je 0x407360
jmp 0x4075c3
lea ecx, [esp + 0x44]
push ecx
push edx
lea eax, [esp + 0x40]
push eax
call fcn.00407870
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4075c3
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x48]
push edx
call fcn.00407670
mov esi, eax
add esp, 8
test esi, esi
jne 0x4075c3
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.004076c0
add esp, 8
test eax, eax
jge 0x40757e
lea edx, [esp + 0x14]
push edx
push edi
call fcn.004096c0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4075c3
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.00407870
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4075c3
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x48]
push ecx
jmp 0x407508
test esi, esi
jne 0x4075c3
mov edx, dword [esp + 0x68]
push edx
lea eax, [esp + 0x18]
push edi
push eax
call fcn.00408940
add esp, 0xc
mov esi, eax
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x3c]
push edx
call fcn.004076c0
add esp, 8
test eax, eax
je 0x4075ea
mov eax, dword [esp + 0x68]
push eax
push edi
push ebp
call fcn.004071c0
add esp, 0xc
mov esi, eax
lea ecx, [esp + 0x2c]
push ecx
call fcn.00406de0
lea edx, [esp + 0x3c]
push edx
call fcn.00406de0
lea eax, [esp + 0x28]
push eax
call fcn.00406de0
lea ecx, [esp + 0x20]
push ecx
call fcn.00406de0
lea edx, [esp + 0x54]
push edx
call fcn.00406de0
add esp, 0x14
mov eax, esi
pop esi
pop ebp
pop edi
pop ebx
add esp, 0x4c
ret