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

Disassembly:
sub esp, 0x6c
push ebx
push ebp
mov ebp, dword [esp + 0x78]
xor edx, edx
push esi
mov esi, 1
push edi
mov dword [esp + 0x80], esi
mov dword [esp + 0x14], edx
mov dword [esp + 0x30], edx
cmp dword [ebp + 0x18], edx
je 0x437d9e
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
cmp eax, ecx
je 0x437d9e
jge 0x437a71
mov dword [esp + 0x80], edx
cmp eax, edx
mov dword [esp + 0x28], 0xffffffff
jge 0x437a94
add eax, dword [ebp + 0x20]
mov dword [esp + 0x80], esi
jmp 0x437a94
mov eax, dword [esp + 0x2c]
sub eax, dword [ebp + 0x28]
mov dword [esp + 0x2c], eax
jns 0x437ab9
cmp dword [esp + 0x80], 0
jne 0x437ab9
add eax, dword [ebp + 0x20]
mov dword [esp + 0x80], 1
mov dword [esp + 0x2c], eax
cmp eax, dword [ebp + 0xc]
jge 0x437acc
cmp dword [esp + 0x80], 0
jne 0x437d9e
mov edi, eax
imul edi, edi, 0x67c
add edi, dword [ebp]
mov ebx, dword [edi]
mov dword [esp + 0x34], edi
mov dword [esp + 0x3c], ebx
cmp ebx, 0xffffffff
je 0x437a94
mov eax, dword [ebp + 8]
mov edx, dword [eax + 4]
mov ecx, dword [edx]
mov eax, dword [ecx + 4]
mov esi, dword [edi + 0x28]
imul eax, ebx
add eax, dword [ecx + 0x18]
add edi, 0x20
mov ecx, dword [eax + 0x14]
lea ebx, [ecx - 1]
mov dword [esp + 0x38], edx
mov dword [esp + 0x18], ebx
test ebx, ebx
jle 0x437a90
cmp dword [eax + 0x30], 0xffffffff
je 0x437a90
cmp dword [edi + 4], 0
jne 0x437b25
test ecx, ecx
jl 0x437b25
mov dword [edi], ecx
test byte [edi + 0x54], 4
jne 0x437b51
xor ecx, ecx
mov dword [edi + 0x10], ecx
mov dword [edi + 0x14], ecx
mov dword [edi + 0x18], ecx
mov dword [edi + 0x28], ecx
mov dword [edi + 0x2c], ecx
mov ecx, 0x100
mov dword [edi + 0x24], ecx
mov dword [edi + 0x20], ecx
mov dword [edi + 0x1c], ecx
mov dword [edi + 0xc], ecx
or dword [edi + 0x54], 5
cmp dword [esp + 0x14], 0
jne 0x437c09
mov ecx, dword [edx + 8]
mov edx, dword [ebp + 0x2c]
push edx
mov edx, dword [ecx + 4]
imul edx, dword [eax + 0x30]
mov eax, dword [ecx + 0x18]
mov ecx, dword [edx + eax + 8]
push ecx
mov ecx, ebx
mov eax, 1
mov edx, esi
call fcn.00413f90
add esp, 8
cmp dword [ebp + 0x30], 0
je 0x437b9b
mov edx, ebx
mov eax, 1
mov ecx, esi
call fcn.00414100
mov ebx, dword [esp + 0x18]
mov edx, dword [ebp + 0x38]
mov eax, dword [ebp + 0x34]
push edx
push eax
mov eax, ebx
mov ebx, dword [ebp + 0x3c]
push esi
mov ecx, 1
call fcn.00413ed0
mov ecx, dword [ebp + 0x44]
mov edx, dword [ebp + 0x40]
mov eax, dword [esp + 0x24]
mov ebx, dword [ebp + 0x48]
push ecx
push edx
push esi
mov ecx, 1
call fcn.00413e10
mov eax, dword [ebp + 0x50]
mov ecx, dword [ebp + 0x4c]
mov ebx, dword [ebp + 0x54]
push eax
mov eax, dword [esp + 0x34]
push ecx
push esi
mov ecx, 1
call fcn.00413ed0
fld dword [0x4a6cb0]
fst dword [esp + 0x40]
add esp, 0x24
or dword [edi + 0x54], 2
fst dword [esp + 0x20]
fstp dword [esp + 0x24]
mov dword [esp + 0x30], esi
jmp 0x437ca5
cmp dword [edi + 4], 0
fld dword [ebp + 0x64]
fmul dword [esp + 0x24]
fstp dword [esp + 0x24]
fld dword [ebp + 0x68]
fmul dword [esp + 0x20]
fstp dword [esp + 0x20]
fld dword [ebp + 0x6c]
fmul dword [esp + 0x1c]
fstp dword [esp + 0x1c]
jne 0x437c44
mov eax, dword [esp + 0x30]
test eax, eax
je 0x437c44
cmp eax, dword [edi + 8]
je 0x437c44
or dword [edi + 0x54], 2
mov dword [edi + 8], eax
mov edx, dword [esp + 0x14]
mov eax, dword [ebp + 0x58]
mov ecx, dword [ebp + 0x60]
imul eax, edx
mov esi, dword [ebp + 0x5c]
imul ecx, edx
imul esi, edx
test eax, eax
jne 0x437c66
test esi, esi
jne 0x437c66
test ecx, ecx
je 0x437c7b
add dword [edi + 0x10], eax
add dword [edi + 0x14], esi
add dword [edi + 0x18], ecx
mov edx, dword [edi + 0x54]
and edx, 0xfffffffb
or edx, 1
mov dword [edi + 0x54], edx
fld dword [esp + 0x1c]
call fcn.00499690
fld dword [esp + 0x20]
mov ebx, eax
call fcn.00499690
fld dword [esp + 0x24]
mov esi, eax
call fcn.00499690
mov ecx, eax
mov edx, ebx
mov eax, edi
call fcn.00413c50
push 0x38
lea eax, [esp + 0x44]
push 0
mov ebx, 1
add dword [esp + 0x1c], ebx
push eax
call sub.MSVCR90.dll_memset
mov esi, dword [esp + 0x40]
mov eax, dword [esi + 0x18]
mov ecx, dword [esp + 0x98]
add esp, 0xc
cmp eax, ecx
jle 0x437cd3
mov eax, ecx
fld dword [esi + 4]
mov ecx, dword [esp + 0x28]
fiadd dword [esp + 0x84]
mov edx, dword [esp + 0x38]
add eax, ecx
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], edi
call fcn.00499690
fld dword [esi + 8]
fiadd dword [esp + 0x88]
mov dword [esp + 0x50], eax
call fcn.00499690
fld dword [esi + 0xc]
mov ecx, dword [ebp + 0x70]
fstp dword [esp + 0x68]
fld dword [esi + 0x10]
mov edx, dword [ebp + 0x74]
fstp dword [esp + 0x6c]
mov dword [esp + 0x54], eax
fldz
mov eax, dword [ebp + 0x78]
fcomp dword [esi + 0x1c]
mov dword [esp + 0x64], eax
mov dword [esp + 0x5c], ecx
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x60], edx
mov dword [esp + 0x74], ecx
fnstsw ax
test ah, 0x44
jp 0x437d73
fld1
mov dword [esp + 0x58], 2
fcom dword [esp + 0x68]
fnstsw ax
test ah, 0x44
jp 0x437d84
fcomp dword [esp + 0x6c]
fnstsw ax
test ah, 0x44
jp 0x437d86
mov dword [esp + 0x58], ebx
jmp 0x437d86
fld dword [esi + 0x1c]
mov dword [esp + 0x58], 3
fstp dword [esp + 0x70]
jmp 0x437d86
fstp st(0)
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x30]
lea eax, [esp + 0x40]
call fcn.004025e0
sub dword [esp + 0x28], ebx
jmp 0x437a90
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret