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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
fld qword [ebp + 0x14]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
fsub qword [edi + 0x10]
sub esp, 0x10
mov esi, ecx
mov dword [esp + 0x34], esi
fstp qword [esp + 8]
fld qword [ebp + 0xc]
fsub qword [edi + 8]
fstp qword [esp]
call fcn.0042aac0
fstp qword [esp + 0x50]
lea eax, [esp + 0x58]
fld qword [edi + 8]
push eax
fsub qword [edi + 0x18]
lea ecx, [esp + 0x64]
push ecx
lea edx, [esp + 0x70]
fstp qword [esp + 0x78]
push edx
fld qword [edi + 0x18]
lea eax, [esp + 0x7c]
fadd qword [edi + 8]
push eax
fstp qword [esp + 0x78]
fld qword [edi + 0x10]
fsub qword [edi + 0x18]
fstp qword [esp + 0x70]
fld qword [edi + 0x18]
fadd qword [edi + 0x10]
fstp qword [esp + 0x68]
call fcn.0040d140
mov edi, dword [ebp + 0x28]
mov eax, dword [ebp + 0x20]
mov ebx, dword [ebp + 0x24]
xor ecx, ecx
mov dword [edi], ecx
mov dword [edi + 4], ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov eax, dword [ebp + 0x1c]
mov dword [ebx], ecx
mov dword [ebx + 4], ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov eax, dword [esi + 4]
add esp, 0x20
cmp eax, ecx
mov dword [esp + 0x14], 1
mov dword [esp + 0x20], eax
je 0x40f012
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov eax, dword [eax + 8]
mov dword [esp + 0x20], ecx
mov ecx, dword [eax + 8]
test ecx, ecx
mov dword [esp + 0x18], eax
je 0x40f006
mov edx, eax
mov eax, dword [edx + 0x24]
test eax, eax
mov dword [esp + 0x10], eax
je 0x40e228
mov edi, edi
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov esi, dword [eax + 8]
mov eax, dword [esi + 0x28]
test eax, eax
mov dword [esp + 0x10], ecx
je 0x40e21c
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x54]
push edx
mov edx, dword [esp + 0x54]
push eax
mov eax, dword [esp + 0x64]
push ecx
mov ecx, dword [esp + 0x64]
push edx
mov edx, dword [esp + 0x74]
push eax
mov eax, dword [esp + 0x74]
push ecx
push edx
push eax
mov ecx, esi
call fcn.0042a2e0
test eax, eax
je 0x40e21c
mov ecx, dword [ebp + 8]
mov edx, dword [esi + 0x14]
mov eax, dword [esi + 0x10]
push ecx
mov ecx, dword [esi + 0xc]
push edx
mov edx, dword [esi + 8]
push eax
push ecx
push edx
call fcn.0042ade0
fcomp qword [0x4a79d8]
add esp, 0x14
fnstsw ax
test ah, 0x41
je 0x40e21c
mov eax, dword [ebp + 8]
fld qword [esi + 0x10]
fsub qword [eax + 0x10]
sub esp, 0x10
fstp qword [esp + 8]
fld qword [esi + 8]
fsub qword [eax + 8]
fstp qword [esp]
call fcn.0042aac0
mov eax, dword [esp + 0x24]
fstp qword [esp + 0x38]
add esp, 0x10
test eax, eax
je 0x40e176
mov eax, dword [esp + 0x28]
fld qword [esi + 8]
mov ecx, dword [esp + 0x2c]
fst qword [ebx]
mov edx, eax
mov dword [esp + 0x38], eax
mov eax, ecx
mov dword [esp + 0x3c], ecx
mov ecx, dword [ebp + 0x1c]
fstp qword [ecx]
mov dword [esp + 0x30], edx
fld qword [esi + 0x10]
mov edx, dword [ebp + 0x20]
fst qword [edi]
mov dword [esp + 0x34], eax
fstp qword [edx]
mov dword [esp + 0x14], 0
jmp 0x40e21c
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x44]
push eax
mov eax, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x3c]
push eax
push ecx
push edx
call fcn.00401470
add esp, 0x18
test eax, eax
je 0x40e1cc
mov eax, dword [esp + 0x28]
mov edx, dword [esi + 8]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0x1c]
mov dword [eax], edx
mov dword [esp + 0x34], ecx
mov ecx, dword [esi + 0xc]
mov dword [eax + 4], ecx
mov edx, dword [esi + 0x10]
mov eax, dword [ebp + 0x20]
mov dword [eax], edx
mov ecx, dword [esi + 0x14]
mov dword [eax + 4], ecx
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x4c]
push edx
push eax
push ecx
call fcn.00401470
add esp, 0x18
test eax, eax
je 0x40e21c
mov ecx, dword [esi + 8]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov dword [ebx], ecx
mov dword [esp + 0x38], edx
mov edx, dword [esi + 0xc]
mov dword [ebx + 4], edx
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0x10]
mov dword [edi], eax
mov ecx, dword [esi + 0x14]
mov dword [edi + 4], ecx
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x40e090
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x40]
test eax, eax
mov dword [esp + 0x10], eax
je 0x40e515
jmp 0x40e240
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov esi, dword [eax + 8]
mov eax, dword [esi + 0x48]
test eax, eax
mov dword [esp + 0x10], ecx
je 0x40e509
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x54]
push edx
mov edx, dword [esp + 0x54]
push eax
mov eax, dword [esp + 0x64]
push ecx
mov ecx, dword [esp + 0x64]
push edx
mov edx, dword [esp + 0x74]
push eax
mov eax, dword [esp + 0x74]
push ecx
push edx
push eax
mov ecx, esi
call fcn.0042c230
test eax, eax
je 0x40e509
mov ecx, dword [ebp + 8]
mov edx, dword [esi + 0x14]
mov eax, dword [esi + 0x10]
push ecx
mov ecx, dword [esi + 0xc]
push edx
mov edx, dword [esi + 8]
push eax
push ecx
push edx
call fcn.0042ade0
fcomp qword [0x4a79d8]
add esp, 0x14
fnstsw ax
test ah, 5
jp 0x40e3cc
mov eax, dword [ebp + 8]
fld qword [esi + 0x10]
fsub qword [eax + 0x10]
sub esp, 0x10
fstp qword [esp + 8]
fld qword [esi + 8]
fsub qword [eax + 8]
fstp qword [esp]
call fcn.0042aac0
mov eax, dword [esp + 0x24]
fstp qword [esp + 0x38]
add esp, 0x10
test eax, eax
je 0x40e326
mov eax, dword [esp + 0x28]
fld qword [esi + 8]
mov ecx, dword [esp + 0x2c]
fst qword [ebx]
mov edx, eax
mov dword [esp + 0x38], eax
mov eax, ecx
mov dword [esp + 0x3c], ecx
mov ecx, dword [ebp + 0x1c]
fstp qword [ecx]
mov dword [esp + 0x30], edx
fld qword [esi + 0x10]
mov edx, dword [ebp + 0x20]
fst qword [edi]
mov dword [esp + 0x34], eax
fstp qword [edx]
mov dword [esp + 0x14], 0
jmp 0x40e3cc
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x44]
push eax
mov eax, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x3c]
push eax
push ecx
push edx
call fcn.00401470
add esp, 0x18
test eax, eax
je 0x40e37c
mov eax, dword [esp + 0x28]
mov edx, dword [esi + 8]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0x1c]
mov dword [eax], edx
mov dword [esp + 0x34], ecx
mov ecx, dword [esi + 0xc]
mov dword [eax + 4], ecx
mov edx, dword [esi + 0x10]
mov eax, dword [ebp + 0x20]
mov dword [eax], edx
mov ecx, dword [esi + 0x14]
mov dword [eax + 4], ecx
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x4c]
push edx
push eax
push ecx
call fcn.00401470
add esp, 0x18
test eax, eax
je 0x40e3cc
mov ecx, dword [esi + 8]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov dword [ebx], ecx
mov dword [esp + 0x38], edx
mov edx, dword [esi + 0xc]
mov dword [ebx + 4], edx
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0x10]
mov dword [edi], eax
mov ecx, dword [esi + 0x14]
mov dword [edi + 4], ecx
mov edx, dword [ebp + 8]
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x20]
push edx
mov edx, dword [esi + 0x1c]
push eax
mov eax, dword [esi + 0x18]
push ecx
push edx
push eax
call fcn.0042ade0
fcomp qword [0x4a79d8]
add esp, 0x14
fnstsw ax
test ah, 5
jp 0x40e509
mov eax, dword [ebp + 8]
fld qword [esi + 0x20]
fsub qword [eax + 0x10]
sub esp, 0x10
fstp qword [esp + 8]
fld qword [esi + 0x18]
fsub qword [eax + 8]
fstp qword [esp]
call fcn.0042aac0
mov eax, dword [esp + 0x24]
fstp qword [esp + 0x38]
add esp, 0x10
test eax, eax
je 0x40e463
mov ecx, dword [esp + 0x28]
fld qword [esi + 0x18]
mov edx, dword [esp + 0x2c]
fst qword [ebx]
mov eax, ecx
mov dword [esp + 0x38], ecx
mov ecx, edx
mov dword [esp + 0x3c], edx
mov edx, dword [ebp + 0x1c]
fstp qword [edx]
mov dword [esp + 0x30], eax
fld qword [esi + 0x20]
mov eax, dword [ebp + 0x20]
fst qword [edi]
mov dword [esp + 0x34], ecx
fstp qword [eax]
mov dword [esp + 0x14], 0
jmp 0x40e509
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x3c]
push ecx
push edx
push eax
call fcn.00401470
add esp, 0x18
test eax, eax
je 0x40e4b9
mov ecx, dword [esp + 0x28]
mov eax, dword [ebp + 0x1c]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x30], ecx
mov ecx, dword [esi + 0x18]
mov dword [eax], ecx
mov dword [esp + 0x34], edx
mov edx, dword [esi + 0x1c]
mov dword [eax + 4], edx
mov ecx, dword [esi + 0x20]
mov eax, dword [ebp + 0x20]
mov dword [eax], ecx
mov edx, dword [esi + 0x24]
mov dword [eax + 4], edx
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x4c]
push edx
mov edx, dword [esp + 0x4c]
push eax
push ecx
push edx
call fcn.00401470
add esp, 0x18
test eax, eax
je 0x40e509
mov edx, dword [esi + 0x18]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [ebx], edx
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0x1c]
mov dword [ebx + 4], eax
mov dword [esp + 0x3c], ecx
mov ecx, dword [esi + 0x20]
mov dword [edi], ecx
mov edx, dword [esi + 0x24]
mov dword [edi + 4], edx
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x40e240
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x78]
test eax, eax
mov dword [esp + 0x10], eax
je 0x40e805
jmp 0x40e530
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov esi, dword [eax + 8]
mov eax, dword [esi + 0x70]
test eax, eax
mov dword [esp + 0x10], ecx
je 0x40e7f9
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x54]
push edx
mov edx, dword [esp + 0x54]
push eax
mov eax, dword [esp + 0x64]
push ecx
mov ecx, dword [esp + 0x64]
push edx
mov edx, dword [esp + 0x74]
push eax
mov eax, dword [esp + 0x74]
push ecx
push edx
push eax
mov ecx, esi
call fcn.00426460
test eax, eax
je 0x40e7f9
mov ecx, dword [ebp + 8]
mov edx, dword [esi + 0x14]
mov eax, dword [esi + 0x10]
push ecx
mov ecx, dword [esi + 0xc]
push edx
mov edx, dword [esi + 8]
push eax
push ecx
push edx
call fcn.0042ade0
fcomp qword [0x4a79d8]
add esp, 0x14
fnstsw ax
test ah, 5
jp 0x40e6bc
mov eax, dword [ebp + 8]
fld qword [esi + 0x10]
fsub qword [eax + 0x10]
sub esp, 0x10
fstp qword [esp + 8]
fld qword [esi + 8]
fsub qword [eax + 8]
fstp qword [esp]
call fcn.0042aac0
mov eax, dword [esp + 0x24]
fstp qword [esp + 0x38]
add esp, 0x10
test eax, eax
je 0x40e616
mov eax, dword [esp + 0x28]
fld qword [esi + 8]
mov ecx, dword [esp + 0x2c]
fst qword [ebx]
mov edx, eax
mov dword [esp + 0x38], eax
mov eax, ecx
mov dword [esp + 0x3c], ecx
mov ecx, dword [ebp + 0x1c]
fstp qword [ecx]
mov dword [esp + 0x30], edx
fld qword [esi + 0x10]
mov edx, dword [ebp + 0x20]
fst qword [edi]
mov dword [esp + 0x34], eax
fstp qword [edx]
mov dword [esp + 0x14], 0
jmp 0x40e6bc
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x44]
push eax
mov eax, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x3c]
push eax
push ecx
push edx
call fcn.00401470
add esp, 0x18
test eax, eax
je 0x40e66c
mov eax, dword [esp + 0x28]
mov edx, dword [esi + 8]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0x1c]
mov dword [eax], edx
mov dword [esp + 0x34], ecx
mov ecx, dword [esi + 0xc]
mov dword [eax + 4], ecx
mov edx, dword [esi + 0x10]
mov eax, dword [ebp + 0x20]
mov dword [eax], edx
mov ecx, dword [esi + 0x14]
mov dword [eax + 4], ecx
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x4c]
push edx
push eax
push ecx
call fcn.00401470
add esp, 0x18
test eax, eax
je 0x40e6bc
mov ecx, dword [esi + 8]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov dword [ebx], ecx
mov dword [esp + 0x38], edx
mov edx, dword [esi + 0xc]
mov dword [ebx + 4], edx
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0x10]
mov dword [edi], eax
mov ecx, dword [esi + 0x14]
mov dword [edi + 4], ecx
mov edx, dword [ebp + 8]
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x20]
push edx
mov edx, dword [esi + 0x1c]
push eax
mov eax, dword [esi + 0x18]
push ecx
push edx
push eax
call fcn.0042ade0
fcomp qword [0x4a79d8]
add esp, 0x14
fnstsw ax
test ah, 5
jp 0x40e7f9
mov eax, dword [ebp + 8]
fld qword [esi + 0x20]
fsub qword [eax + 0x10]
sub esp, 0x10
fstp qword [esp + 8]
fld qword [esi + 0x18]
fsub qword [eax + 8]
fstp qword [esp]
call fcn.0042aac0
mov eax, dword [esp + 0x24]
fstp qword [esp + 0x38]
add esp, 0x10
test eax, eax
je 0x40e753
mov ecx, dword [esp + 0x28]
fld qword [esi + 0x18]
mov edx, dword [esp + 0x2c]
fst qword [ebx]
mov eax, ecx
mov dword [esp + 0x38], ecx
mov ecx, edx
mov dword [esp + 0x3c], edx
mov edx, dword [ebp + 0x1c]
fstp qword [edx]
mov dword [esp + 0x30], eax
fld qword [esi + 0x20]
mov eax, dword [ebp + 0x20]
fst qword [edi]
mov dword [esp + 0x34], ecx
fstp qword [eax]
mov dword [esp + 0x14], 0
jmp 0x40e7f9
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x3c]
push ecx
push edx
push eax
call fcn.00401470
add esp, 0x18
test eax, eax
je 0x40e7a9
mov ecx, dword [esp + 0x28]
mov eax, dword [ebp + 0x1c]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x30], ecx
mov ecx, dword [esi + 0x18]
mov dword [eax], ecx
mov dword [esp + 0x34], edx
mov edx, dword [esi + 0x1c]
mov dword [eax + 4], edx
mov ecx, dword [esi + 0x20]
mov eax, dword [ebp + 0x20]
mov dword [eax], ecx
mov edx, dword [esi + 0x24]
mov dword [eax + 4], edx
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x4c]
push edx
mov edx, dword [esp + 0x4c]
push eax
push ecx
push edx
call fcn.00401470
add esp, 0x18
test eax, eax
je 0x40e7f9
mov edx, dword [esi + 0x18]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [ebx], edx
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0x1c]
mov dword [ebx + 4], eax
mov dword [esp + 0x3c], ecx
mov ecx, dword [esi + 0x20]
mov dword [edi], ecx
mov edx, dword [esi + 0x24]
mov dword [edi + 4], edx
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x40e530
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x30]
test ecx, ecx
jne 0x40e81d
mov eax, dword [0x4d0a4c]
test eax, eax
je 0x40f006
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x40]
test eax, eax
mov esi, dword [ebp + 0x20]
mov dword [esp + 0x10], eax
je 0x40ea4e
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
mov eax, dword [eax + 8]
mov ecx, dword [eax + 0x48]
test ecx, ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x1c], eax
je 0x40ea42
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x54]
push eax
mov eax, dword [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x64]
push edx
mov edx, dword [esp + 0x64]
push eax
mov eax, dword [esp + 0x74]
push ecx
mov ecx, dword [esp + 0x74]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x3c]
call fcn.0042c230
test eax, eax
je 0x40ea42
mov edx, dword [ebp + 8]
mov eax, dword [esp + 0x1c]
push edx
push eax
lea ecx, [esp + 0x80]
push ecx
lea edx, [esp + 0x74]
push edx
call fcn.0042bda0
add esp, 0x10
test eax, eax
mov dword [esp + 0xc], eax
jle 0x40ea42
mov eax, dword [esp + 0x1c]
fld qword [eax + 0x10]
mov ecx, dword [esp + 0xc]
fadd qword [eax + 0x20]
dec ecx
sub esp, 0x10
mov dword [esp + 0x1c], ecx
fmul qword [0x4a79e0]
fsubr qword [esp + ecx*8 + 0x88]
fstp qword [esp + 8]
fld qword [eax + 0x18]
fadd qword [eax + 8]
fmul qword [0x4a79e0]
fsubr qword [esp + ecx*8 + 0x78]
fstp qword [esp]
call fcn.0046a0f9
mov eax, dword [esp + 0x2c]
fld qword [eax + 0x30]
add esp, 0x10
fmul qword [0x4a79e0]
fadd qword [0x4a79d8]
fcompp
fnstsw ax
test ah, 5
jnp 0x40ea36
mov eax, dword [esp + 0xc]
mov ecx, dword [ebp + 8]
fld qword [esp + eax*8 + 0x78]
fsub qword [ecx + 0x10]
sub esp, 0x10
fstp qword [esp + 8]
fld qword [esp + eax*8 + 0x78]
fsub qword [ecx + 8]
fstp qword [esp]
call fcn.0042aac0
mov eax, dword [esp + 0x24]
fstp qword [esp + 0x38]
mov ecx, dword [esp + 0x38]
add esp, 0x10
test eax, eax
je 0x40e987
mov edx, dword [esp + 0x2c]
mov eax, ecx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0xc]
fld qword [esp + eax*8 + 0x68]
mov dword [esp + 0x38], ecx
fst qword [ebx]
mov ecx, edx
mov dword [esp + 0x3c], edx
mov edx, dword [ebp + 0x1c]
fstp qword [edx]
mov dword [esp + 0x34], ecx
fld qword [esp + eax*8 + 0x78]
mov dword [esp + 0x14], 0
fst qword [edi]
fstp qword [esi]
jmp 0x40ea36
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x44]
push eax
mov eax, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x3c]
push eax
push ecx
push edx
call fcn.00401470
add esp, 0x18
test eax, eax
je 0x40e9de
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0xc]
mov edx, dword [esp + eax*8 + 0x68]
mov dword [esp + 0x34], ecx
mov ecx, dword [ebp + 0x1c]
mov dword [ecx], edx
mov edx, dword [esp + eax*8 + 0x6c]
mov dword [ecx + 4], edx
mov ecx, dword [esp + eax*8 + 0x78]
mov edx, dword [esp + eax*8 + 0x7c]
mov dword [esi], ecx
mov dword [esi + 4], edx
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x4c]
push edx
mov edx, dword [esp + 0x4c]
push eax
push ecx
push edx
call fcn.00401470
add esp, 0x18
test eax, eax
je 0x40ea36
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0xc]
mov edx, dword [esp + eax*8 + 0x68]
mov dword [ebx], edx
mov edx, dword [esp + eax*8 + 0x78]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + eax*8 + 0x6c]
mov eax, dword [esp + eax*8 + 0x7c]
mov dword [ebx + 4], ecx
mov dword [edi], edx
mov dword [edi + 4], eax
mov eax, dword [esp + 0xc]
test eax, eax
jg 0x40e8b2
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x40e833
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x98]
test eax, eax
mov dword [esp + 0x10], eax
je 0x40ec03
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
mov eax, dword [eax + 8]
mov ecx, dword [eax + 0x28]
test ecx, ecx
mov dword [esp + 0x10], edx
je 0x40ea87
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + 0x34]
test edx, edx
je 0x40ebf7
mov ecx, dword [eax + 0x30]
test ecx, ecx
je 0x40ebf7
mov edx, dword [ebp + 8]
push edx
push eax
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 0x74]
push ecx
call fcn.0042be60
add esp, 0x10
test eax, eax
mov dword [esp + 0xc], eax
jle 0x40ebf7
jmp 0x40eac0
mov eax, dword [esp + 0xc]
mov ecx, dword [ebp + 8]
fld qword [esp + eax*8 + 0x70]
fsub qword [ecx + 0x10]
dec eax
sub esp, 0x10
mov dword [esp + 0x1c], eax
fstp qword [esp + 8]
fld qword [esp + eax*8 + 0x78]
fsub qword [ecx + 8]
fstp qword [esp]
call fcn.0042aac0
mov eax, dword [esp + 0x24]
fstp qword [esp + 0x38]
add esp, 0x10
test eax, eax
je 0x40eb38
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov ecx, edx
mov dword [esp + 0x38], edx
mov edx, eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0xc]
fld qword [esp + eax*8 + 0x68]
mov dword [esp + 0x30], ecx
mov ecx, dword [ebp + 0x1c]
fst qword [ebx]
fstp qword [ecx]
mov dword [esp + 0x34], edx
fld qword [esp + eax*8 + 0x78]
mov dword [esp + 0x14], 0
fst qword [edi]
fstp qword [esi]
jmp 0x40ebeb
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x44]
push eax
mov eax, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
push eax
push ecx
call fcn.00401470
add esp, 0x18
test eax, eax
je 0x40eb93
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov ecx, dword [ebp + 0x1c]
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0xc]
mov edx, dword [esp + eax*8 + 0x68]
mov dword [ecx], edx
mov edx, dword [esp + eax*8 + 0x6c]
mov dword [ecx + 4], edx
mov ecx, dword [esp + eax*8 + 0x78]
mov edx, dword [esp + eax*8 + 0x7c]
mov dword [esi], ecx
mov dword [esi + 4], edx
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x4c]
push edx
mov edx, dword [esp + 0x4c]
push eax
push ecx
push edx
call fcn.00401470
add esp, 0x18
test eax, eax
je 0x40ebeb
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0xc]
mov edx, dword [esp + eax*8 + 0x68]
mov dword [ebx], edx
mov edx, dword [esp + eax*8 + 0x78]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + eax*8 + 0x6c]
mov eax, dword [esp + eax*8 + 0x7c]
mov dword [ebx + 4], ecx
mov dword [edi], edx
mov dword [edi + 4], eax
mov eax, dword [esp + 0xc]
test eax, eax
jg 0x40eac0
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x40ea64
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x5c]
test eax, eax
mov dword [esp + 0x10], eax
je 0x40edd4
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
mov eax, dword [eax + 8]
mov ecx, dword [eax + 0x30]
test ecx, ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x1c], eax
je 0x40edc8
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x54]
push eax
mov eax, dword [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x64]
push edx
mov edx, dword [esp + 0x64]
push eax
mov eax, dword [esp + 0x74]
push ecx
mov ecx, dword [esp + 0x74]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x3c]
call fcn.00429960
test eax, eax
je 0x40edc8
mov edx, dword [esp + 0x1c]
mov eax, dword [ebp + 8]
push edx
push eax
lea ecx, [esp + 0x80]
push ecx
lea edx, [esp + 0x74]
push edx
call fcn.0042b320
add esp, 0x10
test eax, eax
mov dword [esp + 0xc], eax
jle 0x40edc8
mov eax, dword [esp + 0xc]
mov ecx, dword [ebp + 8]
fld qword [esp + eax*8 + 0x70]
fsub qword [ecx + 0x10]
dec eax
sub esp, 0x10
mov dword [esp + 0x1c], eax
fstp qword [esp + 8]
fld qword [esp + eax*8 + 0x78]
fsub qword [ecx + 8]
fstp qword [esp]
call fcn.0042aac0
mov eax, dword [esp + 0x24]
fstp qword [esp + 0x38]
add esp, 0x10
test eax, eax
mov eax, dword [esp + 0x28]
je 0x40ed0d
mov ecx, dword [esp + 0x2c]
mov edx, eax
mov dword [esp + 0x38], eax
mov eax, ecx
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0xc]
fld qword [esp + eax*8 + 0x68]
mov dword [esp + 0x3c], ecx
mov ecx, dword [ebp + 0x1c]
fst qword [ebx]
fstp qword [ecx]
mov dword [esp + 0x30], edx
fld qword [esp + eax*8 + 0x78]
mov dword [esp + 0x14], 0
fst qword [edi]
fstp qword [esi]
jmp 0x40edbc
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x44]
push eax
mov eax, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
push eax
push ecx
call fcn.00401470
add esp, 0x18
test eax, eax
je 0x40ed64
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov ecx, dword [ebp + 0x1c]
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0xc]
mov edx, dword [esp + eax*8 + 0x68]
mov dword [ecx], edx
mov edx, dword [esp + eax*8 + 0x6c]
mov dword [ecx + 4], edx
mov ecx, dword [esp + eax*8 + 0x78]
mov edx, dword [esp + eax*8 + 0x7c]
mov dword [esi], ecx
mov dword [esi + 4], edx
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x4c]
push edx
mov edx, dword [esp + 0x4c]
push eax
push ecx
push edx
call fcn.00401470
add esp, 0x18
test eax, eax
je 0x40edbc
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0xc]
mov edx, dword [esp + eax*8 + 0x68]
mov dword [ebx], edx
mov edx, dword [esp + eax*8 + 0x78]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + eax*8 + 0x6c]
mov eax, dword [esp + eax*8 + 0x7c]
mov dword [ebx + 4], ecx
mov dword [edi], edx
mov dword [edi + 4], eax
mov eax, dword [esp + 0xc]
test eax, eax
jg 0x40ec95
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x40ec16
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x78]
test eax, eax
je 0x40f006
jmp 0x40edf0
mov eax, dword [esp + 0x10]
lea esp, [esp]
mov edx, dword [eax]
mov eax, dword [eax + 8]
mov ecx, dword [eax + 0x70]
test ecx, ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x1c], eax
je 0x40effa
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x54]
push eax
mov eax, dword [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x64]
push edx
mov edx, dword [esp + 0x64]
push eax
mov eax, dword [esp + 0x74]
push ecx
mov ecx, dword [esp + 0x74]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x3c]
call fcn.00426460
test eax, eax
je 0x40effa
mov edx, dword [esp + 0x1c]
mov eax, dword [ebp + 8]
push edx
push eax
lea ecx, [esp + 0x80]
push ecx
lea edx, [esp + 0x74]
push edx
call fcn.0042b380
add esp, 0x10
test eax, eax
mov dword [esp + 0xc], eax
jle 0x40effa
jmp 0x40ee70
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x1c]
fld qword [esp + eax*8 + 0x70]
fsub qword [ecx + 0x40]
dec eax
sub esp, 0x10
mov dword [esp + 0x1c], eax
fstp qword [esp + 8]
fld qword [esp + eax*8 + 0x78]
fsub qword [ecx + 0x38]
fstp qword [esp]
call fcn.0042aac0
fstp qword [esp + 0x38]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x30]
mov edx, dword [eax + 0x34]
push ecx
mov ecx, dword [eax + 0x30]
push edx
mov edx, dword [eax + 0x2c]
mov eax, dword [eax + 0x28]
push ecx
push edx
push eax
call fcn.00401470
add esp, 0x28
test eax, eax
je 0x40efee
mov eax, dword [esp + 0xc]
mov ecx, dword [ebp + 8]
fld qword [esp + eax*8 + 0x78]
fsub qword [ecx + 0x10]
sub esp, 0x10
fstp qword [esp + 8]
fld qword [esp + eax*8 + 0x78]
fsub qword [ecx + 8]
fstp qword [esp]
call fcn.0042aac0
mov eax, dword [esp + 0x24]
fstp qword [esp + 0x38]
mov ecx, dword [esp + 0x38]
add esp, 0x10
test eax, eax
je 0x40ef3f
mov edx, dword [esp + 0x2c]
mov eax, ecx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0xc]
fld qword [esp + eax*8 + 0x68]
mov dword [esp + 0x38], ecx
fst qword [ebx]
mov ecx, edx
mov dword [esp + 0x3c], edx
mov edx, dword [ebp + 0x1c]
fstp qword [edx]
mov dword [esp + 0x34], ecx
fld qword [esp + eax*8 + 0x78]
mov dword [esp + 0x14], 0
fst qword [edi]
fstp qword [esi]
jmp 0x40efee
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x44]
push eax
mov eax, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x3c]
push eax
push ecx
push edx
call fcn.00401470
add esp, 0x18
test eax, eax
je 0x40ef96
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0xc]
mov edx, dword [esp + eax*8 + 0x68]
mov dword [esp + 0x34], ecx
mov ecx, dword [ebp + 0x1c]
mov dword [ecx], edx
mov edx, dword [esp + eax*8 + 0x6c]
mov dword [ecx + 4], edx
mov ecx, dword [esp + eax*8 + 0x78]
mov edx, dword [esp + eax*8 + 0x7c]
mov dword [esi], ecx
mov dword [esi + 4], edx
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x4c]
push edx
mov edx, dword [esp + 0x4c]
push eax
push ecx
push edx
call fcn.00401470
add esp, 0x18
test eax, eax
je 0x40efee
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0xc]
mov edx, dword [esp + eax*8 + 0x68]
mov dword [ebx], edx
mov edx, dword [esp + eax*8 + 0x78]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + eax*8 + 0x6c]
mov eax, dword [esp + eax*8 + 0x7c]
mov dword [ebx + 4], ecx
mov dword [edi], edx
mov dword [edi + 4], eax
mov eax, dword [esp + 0xc]
test eax, eax
jg 0x40ee70
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x40ede5
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x40e061
mov ecx, dword [ebp + 0x20]
fld qword [ecx]
mov edx, dword [ebp + 0x1c]
fsub qword [edi]
sub esp, 0x10
fstp qword [esp + 8]
fld qword [edx]
fsub qword [ebx]
fstp qword [esp]
call fcn.0046a0f9
fcomp qword [0x4a79d8]
add esp, 0x10
fnstsw ax
test ah, 0x41
jne 0x40f04d
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x24