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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x44ea29
push eax
mov dword fs:[0], esp
sub esp, 0x4e0
push ebx
push esi
mov esi, dword [ebp + 8]
add esi, 0x2c
xor ebx, ebx
push edi
cmp dword [esi], ebx
je 0x409a46
mov dword [esp + 0x24], esi
mov dword [esp + 0x2c], esi
mov eax, dword [esi]
cmp dword [eax + 8], 4
jne 0x409b23
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x28]
mov edx, dword [ecx]
push ebx
push ebx
push ebx
push ebx
push dword [eax]
call dword [edx + 0x54]
mov edi, eax
mov eax, dword [esi]
push dword [eax + 4]
call fcn.00409b50
test al, al
je 0x409b41
mov eax, dword [esi]
push dword [eax + 4]
lea ecx, [esp + 0x14c]
call fcn.004179e0
mov dword [esp + 0x4f4], ebx
fldz
fstp dword [esp + 0x34]
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 0x78]
mov dword [esp + 0x30], eax
fild dword [esp + 0x30]
test eax, eax
jns 0x4097d4
fadd dword [0x454df0]
mov eax, dword [edi]
fstp dword [esp + 0x30]
push ebx
mov ecx, edi
call dword [eax + 0x5c]
mov esi, eax
mov dword [esp + 0x14], esi
mov dword [esp + 0x20], 1
cmp esi, ebx
je 0x409aee
jmp 0x4097fc
mov esi, dword [esp + 0x14]
push 0x103
lea eax, [esp + 0x45]
push ebx
push eax
mov byte [esp + 0x4c], bl
call fcn.0043bbc0
mov eax, dword [edi]
add esp, 0xc
push ebx
push ebx
push esi
mov ecx, edi
call dword [eax + 0x14]
push 0x5c
push esi
mov dword [esp + 0x20], eax
call fcn.0043b260
pop ecx
pop ecx
inc eax
push eax
lea ecx, [esp + 0x14c]
mov dword [esp + 0x14], eax
call fcn.00412c50
test al, al
je 0x40985c
push str..inf
push esi
call fcn.0043b2a0
pop ecx
pop ecx
test eax, eax
jne 0x40985c
mov eax, dword [esp + 0x10]
mov dword [esp + 0x10], eax
jmp 0x409892
push esi
lea ecx, [esp + 0x14c]
call fcn.00412c50
test al, al
je 0x409884
push str..inf
push esi
call fcn.0043b2a0
pop ecx
pop ecx
test eax, eax
je 0x409884
mov dword [esp + 0x10], esi
jmp 0x409892
or dword [0x46a4a4], 0x10000
mov dword [esp + 0x10], ebx
cmp dword [esp + 0x10], ebx
jne 0x4098af
lea eax, [esp + 0x148]
push eax
push dword [esp + 0x1c]
mov eax, esi
call fcn.00409c59
mov dword [esp + 0x10], eax
mov eax, dword [edi]
push 1
push str.nocache
push esi
mov ecx, edi
call dword [eax + 0x70]
mov dword [esp + 0x1c], eax
cmp eax, 1
jne 0x409939
mov eax, dword [ebp + 8]
mov esi, dword [esp + 0x18]
mov eax, dword [eax + 0x58]
push str.systemcomponents2_
push esi
mov dword [esp + 0x30], eax
mov dword [esp + 0x40], ebx
call fcn.0043b2a0
pop ecx
pop ecx
test eax, eax
je 0x4098ef
push 0x12
pop eax
jmp 0x4098f3
mov eax, dword [esp + 0x38]
add eax, esi
push eax
push 0x45335c
push dword [esp + 0x30]
lea eax, [esp + 0x4c]
push str._s_s_s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
push 0xffffffffffffffff
push ebx
push ebx
push ebx
push ebx
push 0x453270
push esi
push str.location
push dword [esp + 0x30]
lea ecx, [esp + 0x16c]
call fcn.00414260
mov esi, dword [esp + 0x14]
jmp 0x40995a
push dword [esp + 0x10]
lea ecx, [esp + 0x14c]
push ecx
push eax
push dword [esp + 0x24]
mov eax, dword [ebp + 8]
push dword [eax + 0x58]
lea eax, [esp + 0x54]
push eax
call fcn.00409ce2
push str.cache_
push dword [esp + 0x1c]
mov dword [esp + 0x1c], 0x454d20
call fcn.0043b2a0
pop ecx
pop ecx
test eax, eax
je 0x40997d
cmp dword [esp + 0x1c], 2
jne 0x409985
mov dword [esp + 0x14], 0x454134
push 0xffffffffffffffff
push ebx
push ebx
push ebx
push ebx
push 0x453270
push dword [esp + 0x2c]
lea ecx, [esp + 0x164]
push str.shared
push dword [esp + 0x30]
call fcn.00414260
mov eax, dword [edi]
push ebx
push str.hash
push esi
mov ecx, edi
call dword [eax + 0x6c]
push eax
lea eax, [esp + 0x44]
push eax
call fcn.00409e00
test al, al
jne 0x409a89
mov eax, dword [edi]
or dword [0x46a4a4], 0x100
push ebx
push str.location
push esi
mov ecx, edi
call dword [eax + 0x6c]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x40]
push eax
call fcn.0040508a
pop ecx
mov dword [esp + 0x10], ebx
cmp dword [edi + 0x2c0], ebx
jbe 0x409a28
push dword [esp + 0x10]
mov ecx, edi
call fcn.00429820
mov edx, dword [eax]
push esi
mov ecx, eax
mov dword [esp + 0x2c], eax
call dword [edx + 0x74]
test al, al
jne 0x409a5d
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp eax, dword [edi + 0x2c0]
jb 0x4099fd
mov esi, dword [ebp + 8]
push 0xfffffffffffffffc
call fcn.00409242
or dword [esp + 0x4f4], 0xffffffff
lea ecx, [esp + 0x148]
call fcn.004169e0
mov ecx, dword [esp + 0x4ec]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
push ebx
push ebx
push ebx
push 1
push ebx
lea eax, [esp + 0x54]
push eax
push ebx
push ebx
push ebx
push ebx
lea eax, [esp + 0x64]
push eax
push dword [esp + 0x48]
mov eax, dword [esp + 0x58]
mov ecx, dword [eax + 0x234]
push ebx
call fcn.00424240
cmp eax, ebx
je 0x409a28
lea eax, [esp + 0x18]
push eax
push esi
mov ecx, edi
call fcn.0042a280
fild dword [esp + 0x20]
mov eax, dword [esp + 0x20]
test eax, eax
jns 0x409aa8
fadd dword [0x454df0]
fdiv dword [esp + 0x30]
mov esi, dword [ebp + 8]
lea eax, [esp + 0x34]
push ebx
push eax
fmul qword [0x454de8]
fstp dword [esp + 0x3c]
call dword [esi + 0x40]
pop ecx
pop ecx
mov eax, esi
call fcn.0040914b
test al, al
jne 0x409a32
push dword [esp + 0x20]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x5c]
inc dword [esp + 0x20]
mov dword [esp + 0x14], eax
cmp eax, ebx
jne 0x4097f8
push ebx
push ebx
lea ecx, [esp + 0x150]
call fcn.004151a0
mov eax, dword [ebp + 8]
mov edx, dword [esp + 0x24]
mov edx, dword [edx]
mov ecx, dword [eax + 0x28]
push dword [edx]
mov eax, dword [ecx]
call dword [eax + 0x5c]
or dword [esp + 0x4f4], 0xffffffff
lea ecx, [esp + 0x148]
call fcn.004169e0
mov eax, dword [esp + 0x2c]
add eax, 4
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], eax
cmp dword [eax], ebx
je 0x409a46
mov esi, eax
jmp 0x40976c
mov esi, dword [ebp + 8]
push 0xfffffffffffffffd
call fcn.00409242
jmp 0x409a46