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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
push ebx
push esi
mov esi, dword [ebp + 8]
fld qword [esi + 0x38]
push edi
fsub qword [esi + 0x48]
mov edi, ecx
lea eax, [esp + 0x40]
push eax
fstp qword [esp + 0x5c]
lea ecx, [esp + 0x4c]
fld qword [esi + 0x48]
push ecx
fadd qword [esi + 0x38]
lea edx, [esp + 0x58]
push edx
lea eax, [esp + 0x64]
fstp qword [esp + 0x5c]
push eax
fld qword [esi + 0x40]
mov dword [esp + 0x28], edi
fsub qword [esi + 0x48]
fstp qword [esp + 0x58]
fld qword [esi + 0x48]
fadd qword [esi + 0x40]
fstp qword [esp + 0x50]
call fcn.0040d140
fld qword [ebp + 0x14]
mov ecx, dword [esi + 0x28]
fsub qword [esi + 0x40]
mov edx, dword [esi + 0x2c]
mov eax, dword [esi + 0x30]
mov dword [esp + 0x38], ecx
mov ecx, dword [esi + 0x34]
fstp qword [esp + 8]
fld qword [ebp + 0xc]
mov dword [esp + 0x3c], edx
fsub qword [esi + 0x38]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
fstp qword [esp]
call fcn.0042aac0
mov eax, dword [edi + 4]
fstp qword [esp + 0x48]
add esp, 0x10
test eax, eax
je 0x40fea4
jmp 0x40f102
mov eax, dword [esp + 0x1c]
mov edx, dword [eax]
mov eax, dword [eax + 8]
mov ecx, dword [eax + 8]
test ecx, ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x14], eax
je 0x40fe98
mov eax, dword [eax + 0x24]
test eax, eax
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x10], eax
je 0x40f278
lea ecx, [ecx]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edi, dword [eax + 8]
mov eax, dword [edi + 0x28]
test eax, eax
mov dword [esp + 0x10], ecx
je 0x40f26c
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x4c]
push edx
mov edx, dword [esp + 0x4c]
push eax
mov eax, dword [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x5c]
push edx
mov edx, dword [esp + 0x6c]
push eax
mov eax, dword [esp + 0x6c]
push ecx
push edx
push eax
mov ecx, edi
call fcn.0042a2e0
test eax, eax
je 0x40f26c
mov ecx, dword [edi + 0x14]
mov edx, dword [edi + 0x10]
mov eax, dword [edi + 0xc]
push esi
push ecx
mov ecx, dword [edi + 8]
push edx
push eax
push ecx
call fcn.0042b9d0
fcomp qword [0x4a79d8]
add esp, 0x14
fnstsw ax
test ah, 0x41
je 0x40f26c
fld qword [edi + 0x10]
sub esp, 0x10
fsub qword [esi + 0x40]
fstp qword [esp + 8]
fld qword [edi + 8]
fsub qword [esi + 0x38]
fstp qword [esp]
call fcn.0042aac0
mov ecx, dword [esp + 0x48]
fstp qword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x40]
push ebx
push ecx
push edx
push eax
call fcn.00401470
add esp, 0x28
test eax, eax
je 0x40f21a
mov ecx, dword [esp + 0x20]
mov eax, dword [ebp + 0x1c]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x28], ecx
mov ecx, dword [edi + 8]
mov dword [eax], ecx
mov dword [esp + 0x2c], edx
mov edx, dword [edi + 0xc]
mov dword [eax + 4], edx
mov ecx, dword [edi + 0x10]
mov eax, dword [ebp + 0x20]
mov dword [eax], ecx
mov edx, dword [edi + 0x14]
mov dword [eax + 4], edx
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x40]
push edx
push eax
push ebx
push ecx
call fcn.00401470
add esp, 0x18
test eax, eax
je 0x40f26c
mov eax, dword [esp + 0x24]
mov ecx, dword [edi + 8]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x24]
mov dword [eax], ecx
mov dword [esp + 0x30], edx
mov edx, dword [edi + 0xc]
mov dword [eax + 4], edx
mov ecx, dword [edi + 0x10]
mov eax, dword [ebp + 0x28]
mov dword [eax], ecx
mov edx, dword [edi + 0x14]
mov dword [eax + 4], edx
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x40f130
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x40]
test eax, eax
mov dword [esp + 0x10], eax
je 0x40f4c5
jmp 0x40f290
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edi, dword [eax + 8]
mov eax, dword [edi + 0x48]
test eax, eax
mov dword [esp + 0x10], ecx
je 0x40f4b9
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x4c]
push edx
mov edx, dword [esp + 0x4c]
push eax
mov eax, dword [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x5c]
push edx
mov edx, dword [esp + 0x6c]
push eax
mov eax, dword [esp + 0x6c]
push ecx
push edx
push eax
mov ecx, edi
call fcn.0042c230
test eax, eax
je 0x40f4b9
mov ecx, dword [edi + 0x14]
mov edx, dword [edi + 0x10]
mov eax, dword [edi + 0xc]
push esi
push ecx
mov ecx, dword [edi + 8]
push edx
push eax
push ecx
call fcn.0042b9d0
fcomp qword [0x4a79d8]
add esp, 0x14
fnstsw ax
test ah, 5
jp 0x40f3cc
fld qword [edi + 0x10]
sub esp, 0x10
fsub qword [esi + 0x40]
fstp qword [esp + 8]
fld qword [edi + 8]
fsub qword [esi + 0x38]
fstp qword [esp]
call fcn.0042aac0
mov ecx, dword [esp + 0x48]
fstp qword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x40]
push ebx
push ecx
push edx
push eax
call fcn.00401470
add esp, 0x28
test eax, eax
je 0x40f37a
mov ecx, dword [esp + 0x20]
mov eax, dword [ebp + 0x1c]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x28], ecx
mov ecx, dword [edi + 8]
mov dword [eax], ecx
mov dword [esp + 0x2c], edx
mov edx, dword [edi + 0xc]
mov dword [eax + 4], edx
mov ecx, dword [edi + 0x10]
mov eax, dword [ebp + 0x20]
mov dword [eax], ecx
mov edx, dword [edi + 0x14]
mov dword [eax + 4], edx
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x40]
push edx
push eax
push ebx
push ecx
call fcn.00401470
add esp, 0x18
test eax, eax
je 0x40f3cc
mov eax, dword [esp + 0x24]
mov ecx, dword [edi + 8]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x24]
mov dword [eax], ecx
mov dword [esp + 0x30], edx
mov edx, dword [edi + 0xc]
mov dword [eax + 4], edx
mov ecx, dword [edi + 0x10]
mov eax, dword [ebp + 0x28]
mov dword [eax], ecx
mov edx, dword [edi + 0x14]
mov dword [eax + 4], edx
mov eax, dword [edi + 0x24]
mov ecx, dword [edi + 0x20]
mov edx, dword [edi + 0x1c]
push esi
push eax
mov eax, dword [edi + 0x18]
push ecx
push edx
push eax
call fcn.0042b9d0
fcomp qword [0x4a79d8]
add esp, 0x14
fnstsw ax
test ah, 5
jp 0x40f4b9
fld qword [edi + 0x20]
sub esp, 0x10
fsub qword [esi + 0x40]
fstp qword [esp + 8]
fld qword [edi + 0x18]
fsub qword [esi + 0x38]
fstp qword [esp]
call fcn.0042aac0
mov eax, dword [esp + 0x48]
fstp qword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x40]
push edx
mov edx, dword [esp + 0x40]
push ebx
push eax
push ecx
push edx
call fcn.00401470
add esp, 0x28
test eax, eax
je 0x40f467
mov eax, dword [esp + 0x20]
mov edx, dword [edi + 0x18]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x1c]
mov dword [eax], edx
mov dword [esp + 0x2c], ecx
mov ecx, dword [edi + 0x1c]
mov dword [eax + 4], ecx
mov edx, dword [edi + 0x20]
mov eax, dword [ebp + 0x20]
mov dword [eax], edx
mov ecx, dword [edi + 0x24]
mov dword [eax + 4], ecx
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x40]
push ecx
push edx
push ebx
push eax
call fcn.00401470
add esp, 0x18
test eax, eax
je 0x40f4b9
mov ecx, dword [esp + 0x20]
mov eax, dword [ebp + 0x24]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x30], ecx
mov ecx, dword [edi + 0x18]
mov dword [eax], ecx
mov dword [esp + 0x34], edx
mov edx, dword [edi + 0x1c]
mov dword [eax + 4], edx
mov ecx, dword [edi + 0x20]
mov eax, dword [ebp + 0x28]
mov dword [eax], ecx
mov edx, dword [edi + 0x24]
mov dword [eax + 4], edx
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x40f290
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x78]
test eax, eax
mov dword [esp + 0x10], eax
je 0x40f71d
jmp 0x40f4e0
mov eax, dword [esp + 0x10]
mov edi, dword [eax + 8]
cmp edi, esi
mov ecx, dword [eax]
mov dword [esp + 0x10], ecx
je 0x40f711
mov eax, dword [edi + 0x70]
test eax, eax
je 0x40f711
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x4c]
push edx
mov edx, dword [esp + 0x4c]
push eax
mov eax, dword [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x5c]
push edx
mov edx, dword [esp + 0x6c]
push eax
mov eax, dword [esp + 0x6c]
push ecx
push edx
push eax
mov ecx, edi
call fcn.00426460
test eax, eax
je 0x40f711
mov ecx, dword [edi + 0x14]
mov edx, dword [edi + 0x10]
mov eax, dword [edi + 0xc]
push esi
push ecx
mov ecx, dword [edi + 8]
push edx
push eax
push ecx
call fcn.0042b9d0
fcomp qword [0x4a79d8]
add esp, 0x14
fnstsw ax
test ah, 5
jp 0x40f624
fld qword [edi + 0x10]
sub esp, 0x10
fsub qword [esi + 0x40]
fstp qword [esp + 8]
fld qword [edi + 8]
fsub qword [esi + 0x38]
fstp qword [esp]
call fcn.0042aac0
mov ecx, dword [esp + 0x48]
fstp qword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x40]
push ebx
push ecx
push edx
push eax
call fcn.00401470
add esp, 0x28
test eax, eax
je 0x40f5d2
mov ecx, dword [esp + 0x20]
mov eax, dword [ebp + 0x1c]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x28], ecx
mov ecx, dword [edi + 8]
mov dword [eax], ecx
mov dword [esp + 0x2c], edx
mov edx, dword [edi + 0xc]
mov dword [eax + 4], edx
mov ecx, dword [edi + 0x10]
mov eax, dword [ebp + 0x20]
mov dword [eax], ecx
mov edx, dword [edi + 0x14]
mov dword [eax + 4], edx
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x40]
push edx
push eax
push ebx
push ecx
call fcn.00401470
add esp, 0x18
test eax, eax
je 0x40f624
mov eax, dword [esp + 0x24]
mov ecx, dword [edi + 8]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x24]
mov dword [eax], ecx
mov dword [esp + 0x30], edx
mov edx, dword [edi + 0xc]
mov dword [eax + 4], edx
mov ecx, dword [edi + 0x10]
mov eax, dword [ebp + 0x28]
mov dword [eax], ecx
mov edx, dword [edi + 0x14]
mov dword [eax + 4], edx
mov eax, dword [edi + 0x24]
mov ecx, dword [edi + 0x20]
mov edx, dword [edi + 0x1c]
push esi
push eax
mov eax, dword [edi + 0x18]
push ecx
push edx
push eax
call fcn.0042b9d0
fcomp qword [0x4a79d8]
add esp, 0x14
fnstsw ax
test ah, 5
jp 0x40f711
fld qword [edi + 0x20]
sub esp, 0x10
fsub qword [esi + 0x40]
fstp qword [esp + 8]
fld qword [edi + 0x18]
fsub qword [esi + 0x38]
fstp qword [esp]
call fcn.0042aac0
mov eax, dword [esp + 0x48]
fstp qword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x40]
push edx
mov edx, dword [esp + 0x40]
push ebx
push eax
push ecx
push edx
call fcn.00401470
add esp, 0x28
test eax, eax
je 0x40f6bf
mov eax, dword [esp + 0x20]
mov edx, dword [edi + 0x18]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x1c]
mov dword [eax], edx
mov dword [esp + 0x2c], ecx
mov ecx, dword [edi + 0x1c]
mov dword [eax + 4], ecx
mov edx, dword [edi + 0x20]
mov eax, dword [ebp + 0x20]
mov dword [eax], edx
mov ecx, dword [edi + 0x24]
mov dword [eax + 4], ecx
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x40]
push ecx
push edx
push ebx
push eax
call fcn.00401470
add esp, 0x18
test eax, eax
je 0x40f711
mov ecx, dword [esp + 0x20]
mov eax, dword [ebp + 0x24]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x30], ecx
mov ecx, dword [edi + 0x18]
mov dword [eax], ecx
mov dword [esp + 0x34], edx
mov edx, dword [edi + 0x1c]
mov dword [eax + 4], edx
mov ecx, dword [edi + 0x20]
mov eax, dword [ebp + 0x28]
mov dword [eax], ecx
mov edx, dword [edi + 0x24]
mov dword [eax + 4], edx
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x40f4e0
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x30]
test ecx, ecx
jne 0x40f735
mov eax, dword [0x4d0a4c]
test eax, eax
je 0x40fe98
mov ecx, dword [esp + 0x14]
mov ebx, dword [ecx + 0x40]
test ebx, ebx
je 0x40f940
mov eax, ebx
mov edi, dword [eax + 8]
mov eax, dword [edi + 0x48]
test eax, eax
mov ebx, dword [ebx]
mov dword [esp + 0x10], ebx
je 0x40f938
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x4c]
push edx
mov edx, dword [esp + 0x4c]
push eax
mov eax, dword [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x5c]
push edx
mov edx, dword [esp + 0x6c]
push eax
mov eax, dword [esp + 0x6c]
push ecx
push edx
push eax
mov ecx, edi
call fcn.0042c230
test eax, eax
je 0x40f938
push esi
push edi
lea ecx, [esp + 0x78]
push ecx
lea edx, [esp + 0x6c]
push edx
call fcn.0042be00
mov ebx, eax
add esp, 0x10
test ebx, ebx
jle 0x40f934
nop
fld qword [edi + 0x10]
dec ebx
fadd qword [edi + 0x20]
sub esp, 0x10
mov dword [esp + 0x1c], ebx
fmul qword [0x4a79e0]
fsubr qword [esp + ebx*8 + 0x80]
fstp qword [esp + 8]
fld qword [edi + 0x18]
fadd qword [edi + 8]
fmul qword [0x4a79e0]
fsubr qword [esp + ebx*8 + 0x70]
fstp qword [esp]
call fcn.0046a0f9
fld qword [edi + 0x30]
add esp, 0x10
fmul qword [0x4a79e0]
fadd qword [0x4a79d8]
fcompp
fnstsw ax
test ah, 5
jnp 0x40f92c
fld qword [esp + ebx*8 + 0x70]
sub esp, 0x10
fsub qword [esi + 0x40]
fstp qword [esp + 8]
fld qword [esp + ebx*8 + 0x70]
fsub qword [esi + 0x38]
fstp qword [esp]
call fcn.0042aac0
mov edx, dword [esi + 0x34]
fstp qword [esp + 0x30]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
push eax
mov eax, dword [esi + 0x30]
push ecx
mov ecx, dword [esi + 0x2c]
push edx
mov edx, dword [esi + 0x28]
push eax
push ecx
push edx
call fcn.00401470
add esp, 0x28
test eax, eax
je 0x40f92c
mov eax, ebx
fld qword [esp + eax*8 + 0x70]
sub esp, 0x10
fsub qword [esi + 0x40]
fstp qword [esp + 8]
fld qword [esp + eax*8 + 0x70]
fsub qword [esi + 0x38]
fstp qword [esp]
call fcn.0042aac0
mov ecx, dword [esp + 0x4c]
fstp qword [esp + 0x30]
mov ebx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x48]
push ebx
push eax
mov eax, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x44]
push edx
push eax
push ecx
call fcn.00401470
add esp, 0x28
test eax, eax
je 0x40f8d0
mov edx, dword [esp + 0x20]
mov ecx, dword [ebp + 0x1c]
mov eax, ebx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x28], edx
mov edx, dword [esp + eax*8 + 0x60]
mov dword [ecx], edx
mov edx, dword [esp + eax*8 + 0x64]
mov dword [ecx + 4], edx
mov edx, dword [esp + eax*8 + 0x70]
mov ecx, dword [ebp + 0x20]
mov eax, dword [esp + eax*8 + 0x74]
mov dword [ecx], edx
mov dword [ecx + 4], eax
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
push ebx
push ecx
mov ecx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x44]
push eax
push ecx
push edx
call fcn.00401470
mov ebx, dword [esp + 0x24]
add esp, 0x18
test eax, eax
je 0x40f92c
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x30], eax
mov eax, ebx
mov edx, dword [esp + eax*8 + 0x60]
mov dword [esp + 0x34], ecx
mov ecx, dword [ebp + 0x24]
mov dword [ecx], edx
mov edx, dword [esp + eax*8 + 0x64]
mov dword [ecx + 4], edx
mov edx, dword [esp + eax*8 + 0x70]
mov ecx, dword [ebp + 0x28]
mov eax, dword [esp + eax*8 + 0x74]
mov dword [ecx], edx
mov dword [ecx + 4], eax
test ebx, ebx
jg 0x40f7b0
mov ebx, dword [esp + 0x10]
test ebx, ebx
jne 0x40f744
mov ecx, dword [esp + 0x14]
mov ebx, dword [ecx + 0x98]
test ebx, ebx
je 0x40fad9
mov eax, ebx
mov eax, dword [eax + 8]
mov ecx, dword [eax + 0x28]
test ecx, ecx
mov ebx, dword [ebx]
mov dword [esp + 0x10], ebx
je 0x40f973
mov edx, dword [esp + 0x18]
mov ecx, dword [edx + 0x34]
test ecx, ecx
je 0x40fad1
mov ecx, dword [eax + 0x30]
test ecx, ecx
je 0x40fad1
push esi
push eax
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x6c]
push ecx
call fcn.0042bec0
mov edi, eax
add esp, 0x10
test edi, edi
jle 0x40fad1
lea esp, [esp]
fld qword [esp + edi*8 + 0x68]
dec edi
fsub qword [esi + 0x40]
sub esp, 0x10
mov dword [esp + 0x1c], edi
fstp qword [esp + 8]
fld qword [esp + edi*8 + 0x70]
fsub qword [esi + 0x38]
fstp qword [esp]
call fcn.0042aac0
mov ecx, dword [esi + 0x34]
fstp qword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
push edx
mov edx, dword [esi + 0x30]
push eax
mov eax, dword [esi + 0x2c]
push ecx
mov ecx, dword [esi + 0x28]
push edx
push eax
push ecx
call fcn.00401470
add esp, 0x28
test eax, eax
je 0x40fac5
mov eax, edi
fld qword [esp + eax*8 + 0x70]
sub esp, 0x10
fsub qword [esi + 0x40]
fstp qword [esp + 8]
fld qword [esp + eax*8 + 0x70]
fsub qword [esi + 0x38]
fstp qword [esp]
call fcn.0042aac0
mov edx, dword [esp + 0x4c]
fstp qword [esp + 0x30]
mov edi, dword [esp + 0x34]
mov ebx, dword [esp + 0x30]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x3c]
push edi
push ebx
push edx
mov edx, dword [esp + 0x44]
push eax
push ecx
push edx
call fcn.00401470
add esp, 0x28
test eax, eax
je 0x40fa6d
mov eax, ebx
mov ecx, edi
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0xc]
mov edx, dword [esp + eax*8 + 0x60]
mov dword [esp + 0x2c], ecx
mov ecx, dword [ebp + 0x1c]
mov dword [ecx], edx
mov edx, dword [esp + eax*8 + 0x64]
mov dword [ecx + 4], edx
mov edx, dword [esp + eax*8 + 0x70]
mov ecx, dword [ebp + 0x20]
mov eax, dword [esp + eax*8 + 0x74]
mov dword [ecx], edx
mov dword [ecx + 4], eax
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x3c]
push edi
push ebx
push ecx
mov ecx, dword [esp + 0x44]
push edx
push eax
push ecx
call fcn.00401470
mov edi, dword [esp + 0x24]
add esp, 0x18
test eax, eax
je 0x40fac5
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov ecx, dword [ebp + 0x24]
mov dword [esp + 0x34], eax
mov eax, edi
mov dword [esp + 0x30], edx
mov edx, dword [esp + eax*8 + 0x60]
mov dword [ecx], edx
mov edx, dword [esp + eax*8 + 0x64]
mov dword [ecx + 4], edx
mov edx, dword [esp + eax*8 + 0x70]
mov ecx, dword [ebp + 0x28]
mov eax, dword [esp + eax*8 + 0x74]
mov dword [ecx], edx
mov dword [ecx + 4], eax
test edi, edi
jg 0x40f9a0
mov ebx, dword [esp + 0x10]
test ebx, ebx
jne 0x40f952
mov ecx, dword [esp + 0x14]
mov ebx, dword [ecx + 0x5c]
test ebx, ebx
je 0x40fc8c
mov eax, ebx
mov edi, dword [eax + 8]
mov eax, dword [edi + 0x30]
test eax, eax
mov ebx, dword [ebx]
mov dword [esp + 0x10], ebx
je 0x40fc84
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x4c]
push edx
mov edx, dword [esp + 0x4c]
push eax
mov eax, dword [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x5c]
push edx
mov edx, dword [esp + 0x6c]
push eax
mov eax, dword [esp + 0x6c]
push ecx
push edx
push eax
mov ecx, edi
call fcn.00429960
test eax, eax
je 0x40fc84
push esi
push edi
lea ecx, [esp + 0x78]
push ecx
lea edx, [esp + 0x6c]
push edx
call fcn.0042b380
mov edi, eax
add esp, 0x10
test edi, edi
jle 0x40fc84
fld qword [esp + edi*8 + 0x68]
dec edi
fsub qword [esi + 0x40]
sub esp, 0x10
mov dword [esp + 0x1c], edi
fstp qword [esp + 8]
fld qword [esp + edi*8 + 0x70]
fsub qword [esi + 0x38]
fstp qword [esp]
call fcn.0042aac0
mov edx, dword [esi + 0x34]
fstp qword [esp + 0x30]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
push eax
mov eax, dword [esi + 0x30]
push ecx
mov ecx, dword [esi + 0x2c]
push edx
mov edx, dword [esi + 0x28]
push eax
push ecx
push edx
call fcn.00401470
add esp, 0x28
test eax, eax
je 0x40fc78
mov eax, edi
fld qword [esp + eax*8 + 0x70]
sub esp, 0x10
fsub qword [esi + 0x40]
fstp qword [esp + 8]
fld qword [esp + eax*8 + 0x70]
fsub qword [esi + 0x38]
fstp qword [esp]
call fcn.0042aac0
mov eax, dword [esp + 0x4c]
fstp qword [esp + 0x30]
mov edi, dword [esp + 0x34]
mov ebx, dword [esp + 0x30]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x3c]
push edi
push ebx
push eax
mov eax, dword [esp + 0x44]
push ecx
push edx
push eax
call fcn.00401470
add esp, 0x28
test eax, eax
je 0x40fc20
mov eax, dword [esp + 0xc]
mov ecx, ebx
mov edx, edi
mov dword [esp + 0x2c], edx
mov edx, dword [esp + eax*8 + 0x60]
mov dword [esp + 0x28], ecx
mov ecx, dword [ebp + 0x1c]
mov dword [ecx], edx
mov edx, dword [esp + eax*8 + 0x64]
mov dword [ecx + 4], edx
mov edx, dword [esp + eax*8 + 0x70]
mov ecx, dword [ebp + 0x20]
mov eax, dword [esp + eax*8 + 0x74]
mov dword [ecx], edx
mov dword [ecx + 4], eax
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x3c]
push edi
push ebx
push ecx
mov ecx, dword [esp + 0x44]
push edx
push eax
push ecx
call fcn.00401470
mov edi, dword [esp + 0x24]
add esp, 0x18
test eax, eax
je 0x40fc78
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov ecx, dword [ebp + 0x24]
mov dword [esp + 0x34], eax
mov eax, edi
mov dword [esp + 0x30], edx
mov edx, dword [esp + eax*8 + 0x60]
mov dword [ecx], edx
mov edx, dword [esp + eax*8 + 0x64]
mov dword [ecx + 4], edx
mov edx, dword [esp + eax*8 + 0x70]
mov ecx, dword [ebp + 0x28]
mov eax, dword [esp + eax*8 + 0x74]
mov dword [ecx], edx
mov dword [ecx + 4], eax
test edi, edi
jg 0x40fb53
mov ebx, dword [esp + 0x10]
test ebx, ebx
jne 0x40fae8
mov ecx, dword [esp + 0x14]
mov ebx, dword [ecx + 0x78]
test ebx, ebx
je 0x40fe98
jmp 0x40fca0
mov eax, ebx
mov edi, dword [eax + 8]
mov eax, dword [edi + 0x70]
test eax, eax
mov ebx, dword [ebx]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], edi
je 0x40fe90
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x4c]
push edx
mov edx, dword [esp + 0x4c]
push eax
mov eax, dword [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x5c]
push edx
mov edx, dword [esp + 0x6c]
push eax
mov eax, dword [esp + 0x6c]
push ecx
push edx
push eax
mov ecx, edi
call fcn.00426460
test eax, eax
je 0x40fe90
push edi
push esi
lea ecx, [esp + 0x78]
push ecx
lea edx, [esp + 0x6c]
push edx
call fcn.0042b3e0
mov ebx, eax
add esp, 0x10
test ebx, ebx
jle 0x40fe8c
nop
fld qword [esp + ebx*8 + 0x68]
dec ebx
fsub qword [esi + 0x40]
sub esp, 0x10
mov dword [esp + 0x1c], ebx
fstp qword [esp + 8]
fld qword [esp + ebx*8 + 0x70]
fsub qword [esi + 0x38]
fstp qword [esp]
call fcn.0042aac0
mov edx, dword [esi + 0x34]
fstp qword [esp + 0x30]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
push eax
mov eax, dword [esi + 0x30]
push ecx
mov ecx, dword [esi + 0x2c]
push edx
mov edx, dword [esi + 0x28]
push eax
push ecx
push edx
call fcn.00401470
add esp, 0x28
test eax, eax
je 0x40fe84
fld qword [esp + ebx*8 + 0x70]
sub esp, 0x10
fsub qword [edi + 0x40]
fstp qword [esp + 8]
fld qword [esp + ebx*8 + 0x70]
fsub qword [edi + 0x38]
fstp qword [esp]
call fcn.0042aac0
mov edx, dword [edi + 0x34]
fstp qword [esp + 0x30]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
push eax
mov eax, dword [edi + 0x30]
push ecx
mov ecx, dword [edi + 0x2c]
push edx
mov edx, dword [edi + 0x28]
push eax
push ecx
push edx
call fcn.00401470
add esp, 0x28
test eax, eax
je 0x40fe84
mov eax, ebx
fld qword [esp + eax*8 + 0x70]
sub esp, 0x10
fsub qword [esi + 0x40]
fstp qword [esp + 8]
fld qword [esp + eax*8 + 0x70]
fsub qword [esi + 0x38]
fstp qword [esp]
call fcn.0042aac0
mov eax, dword [esp + 0x4c]
fstp qword [esp + 0x30]
mov edi, dword [esp + 0x34]
mov ebx, dword [esp + 0x30]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x3c]
push edi
push ebx
push eax
mov eax, dword [esp + 0x44]
push ecx
push edx
push eax
call fcn.00401470
add esp, 0x28
test eax, eax
je 0x40fe28
mov eax, dword [esp + 0xc]
mov ecx, ebx
mov edx, edi
mov dword [esp + 0x2c], edx
mov edx, dword [esp + eax*8 + 0x60]
mov dword [esp + 0x28], ecx
mov ecx, dword [ebp + 0x1c]
mov dword [ecx], edx
mov edx, dword [esp + eax*8 + 0x64]
mov dword [ecx + 4], edx
mov edx, dword [esp + eax*8 + 0x70]
mov ecx, dword [ebp + 0x20]
mov eax, dword [esp + eax*8 + 0x74]
mov dword [ecx], edx
mov dword [ecx + 4], eax
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x3c]
push edi
push ebx
push ecx
mov ecx, dword [esp + 0x44]
push edx
push eax
push ecx
call fcn.00401470
mov edi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x24]
add esp, 0x18
test eax, eax
je 0x40fe84
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov ecx, dword [ebp + 0x24]
mov dword [esp + 0x34], eax
mov eax, ebx
mov dword [esp + 0x30], edx
mov edx, dword [esp + eax*8 + 0x60]
mov dword [ecx], edx
mov edx, dword [esp + eax*8 + 0x64]
mov dword [ecx + 4], edx
mov edx, dword [esp + eax*8 + 0x70]
mov ecx, dword [ebp + 0x28]
mov eax, dword [esp + eax*8 + 0x74]
mov dword [ecx], edx
mov dword [ecx + 4], eax
test ebx, ebx
jg 0x40fd10
mov ebx, dword [esp + 0x10]
test ebx, ebx
jne 0x40fca0
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x40f0fe
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x24