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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 8]
mov edx, dword [esi + 0x18]
push edi
mov edi, ecx
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x30], edx
mov edx, dword [esi + 0x14]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x20]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x28], ecx
mov ecx, dword [esi + 0x24]
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x24], eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x28], ecx
push eax
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x44]
push edx
mov dword [esp + 0x2c], edi
call fcn.0040d140
fld qword [0x4a8b98]
mov eax, dword [esi + 0x2c]
fmul qword [0x4a79e0]
mov ecx, dword [esi + 0x28]
add esp, 0x10
fadd qword [esi + 0x28]
push eax
mov eax, dword [ebp + 0x20]
mov edx, dword [eax + 4]
mov eax, dword [eax]
push ecx
push edx
push eax
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push ecx
push edx
sub esp, 8
lea eax, [ebp + 0x14]
fstp qword [esp]
push eax
lea ecx, [ebp + 0xc]
push ecx
call fcn.0042ae40
mov eax, dword [edi + 4]
add esp, 0x28
test eax, eax
mov dword [esp + 0x18], eax
je 0x40dfa0
mov edi, dword [ebp + 0x28]
mov ebx, dword [ebp + 0x24]
nop
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
mov eax, dword [eax + 8]
mov ecx, dword [eax + 8]
test ecx, ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], eax
je 0x40df94
mov eax, dword [eax + 0x24]
test eax, eax
mov dword [esp + 0x10], eax
je 0x40d3e4
jmp 0x40d2b0
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 0x40d3d8
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x4c]
push eax
mov eax, dword [esp + 0x4c]
push ecx
push edx
push eax
mov ecx, esi
call fcn.0042a2e0
test eax, eax
je 0x40d3d8
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.0042b820
fcomp qword [0x4a79d8]
add esp, 0x14
fnstsw ax
test ah, 0x41
je 0x40d3d8
mov eax, dword [ebp + 0x20]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [ebp + 0x1c]
push ecx
mov ecx, dword [eax + 4]
push edx
mov edx, dword [eax]
mov eax, dword [ebp + 0x18]
push ecx
mov ecx, dword [ebp + 0x14]
push edx
mov edx, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push ecx
mov ecx, dword [esi + 0x14]
push edx
mov edx, dword [esi + 0x10]
push eax
mov eax, dword [esi + 0xc]
push ecx
mov ecx, dword [esi + 8]
push edx
push eax
push ecx
call fcn.0042ac50
add esp, 0x30
test eax, eax
je 0x40d388
mov edx, dword [esi + 8]
mov eax, dword [ebp + 0x1c]
mov dword [eax], edx
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 [edi + 4]
mov eax, dword [edi]
mov ecx, dword [ebx + 4]
push edx
mov edx, dword [ebx]
push eax
mov eax, dword [ebp + 0x18]
push ecx
mov ecx, dword [ebp + 0x14]
push edx
mov edx, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push ecx
mov ecx, dword [esi + 0x14]
push edx
mov edx, dword [esi + 0x10]
push eax
mov eax, dword [esi + 0xc]
push ecx
mov ecx, dword [esi + 8]
push edx
push eax
push ecx
call fcn.0042ac50
add esp, 0x30
test eax, eax
je 0x40d3d8
mov edx, dword [esi + 8]
mov dword [ebx], edx
mov eax, dword [esi + 0xc]
mov dword [ebx + 4], eax
mov ecx, dword [esi + 0x10]
mov dword [edi], ecx
mov edx, dword [esi + 0x14]
mov dword [edi + 4], edx
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x40d2b0
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x40]
test eax, eax
mov dword [esp + 0x10], eax
je 0x40d604
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 0x40d5f8
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x4c]
push eax
mov eax, dword [esp + 0x4c]
push ecx
push edx
push eax
mov ecx, esi
call fcn.0042c230
test eax, eax
je 0x40d5f8
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.0042b820
fcomp qword [0x4a79d8]
add esp, 0x14
fnstsw ax
test ah, 5
jp 0x40d51f
mov eax, dword [ebp + 0x20]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [ebp + 0x1c]
push ecx
mov ecx, dword [eax + 4]
push edx
mov edx, dword [eax]
mov eax, dword [ebp + 0x18]
push ecx
mov ecx, dword [ebp + 0x14]
push edx
mov edx, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push ecx
mov ecx, dword [esi + 0x14]
push edx
mov edx, dword [esi + 0x10]
push eax
mov eax, dword [esi + 0xc]
push ecx
mov ecx, dword [esi + 8]
push edx
push eax
push ecx
call fcn.0042ac50
add esp, 0x30
test eax, eax
je 0x40d4cf
mov edx, dword [esi + 8]
mov eax, dword [ebp + 0x1c]
mov dword [eax], edx
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 [edi + 4]
mov eax, dword [edi]
mov ecx, dword [ebx + 4]
push edx
mov edx, dword [ebx]
push eax
mov eax, dword [ebp + 0x18]
push ecx
mov ecx, dword [ebp + 0x14]
push edx
mov edx, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push ecx
mov ecx, dword [esi + 0x14]
push edx
mov edx, dword [esi + 0x10]
push eax
mov eax, dword [esi + 0xc]
push ecx
mov ecx, dword [esi + 8]
push edx
push eax
push ecx
call fcn.0042ac50
add esp, 0x30
test eax, eax
je 0x40d51f
mov edx, dword [esi + 8]
mov dword [ebx], edx
mov eax, dword [esi + 0xc]
mov dword [ebx + 4], eax
mov ecx, dword [esi + 0x10]
mov dword [edi], ecx
mov edx, dword [esi + 0x14]
mov dword [edi + 4], edx
mov eax, dword [ebp + 8]
mov ecx, dword [esi + 0x24]
mov edx, dword [esi + 0x20]
push eax
mov eax, dword [esi + 0x1c]
push ecx
mov ecx, dword [esi + 0x18]
push edx
push eax
push ecx
call fcn.0042b820
fcomp qword [0x4a79d8]
add esp, 0x14
fnstsw ax
test ah, 5
jp 0x40d5f8
mov eax, dword [ebp + 0x20]
mov edx, dword [eax + 4]
mov eax, dword [eax]
push edx
push eax
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [ebp + 0x18]
push ecx
mov ecx, dword [ebp + 0x14]
push edx
mov edx, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push ecx
mov ecx, dword [esi + 0x24]
push edx
mov edx, dword [esi + 0x20]
push eax
mov eax, dword [esi + 0x1c]
push ecx
mov ecx, dword [esi + 0x18]
push edx
push eax
push ecx
call fcn.0042ac50
add esp, 0x30
test eax, eax
je 0x40d5a8
mov edx, dword [esi + 0x18]
mov eax, dword [ebp + 0x1c]
mov dword [eax], edx
mov ecx, dword [esi + 0x1c]
mov dword [eax + 4], ecx
mov edx, dword [esi + 0x20]
mov eax, dword [ebp + 0x20]
mov dword [eax], edx
mov ecx, dword [esi + 0x24]
mov dword [eax + 4], ecx
mov edx, dword [edi + 4]
mov eax, dword [edi]
mov ecx, dword [ebx + 4]
push edx
mov edx, dword [ebx]
push eax
mov eax, dword [ebp + 0x18]
push ecx
mov ecx, dword [ebp + 0x14]
push edx
mov edx, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push ecx
mov ecx, dword [esi + 0x24]
push edx
mov edx, dword [esi + 0x20]
push eax
mov eax, dword [esi + 0x1c]
push ecx
mov ecx, dword [esi + 0x18]
push edx
push eax
push ecx
call fcn.0042ac50
add esp, 0x30
test eax, eax
je 0x40d5f8
mov edx, dword [esi + 0x18]
mov dword [ebx], edx
mov eax, dword [esi + 0x1c]
mov dword [ebx + 4], eax
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 0x40d3f7
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x78]
test eax, eax
mov dword [esp + 0x10], eax
je 0x40d853
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 0x40d847
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x4c]
push eax
mov eax, dword [esp + 0x4c]
push ecx
push edx
push eax
mov ecx, esi
call fcn.00426460
test eax, eax
je 0x40d847
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.0042b820
fcomp qword [0x4a79d8]
add esp, 0x14
fnstsw ax
test ah, 5
jp 0x40d73f
mov eax, dword [ebp + 0x20]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [ebp + 0x1c]
push ecx
mov ecx, dword [eax + 4]
push edx
mov edx, dword [eax]
mov eax, dword [ebp + 0x18]
push ecx
mov ecx, dword [ebp + 0x14]
push edx
mov edx, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push ecx
mov ecx, dword [esi + 0x14]
push edx
mov edx, dword [esi + 0x10]
push eax
mov eax, dword [esi + 0xc]
push ecx
mov ecx, dword [esi + 8]
push edx
push eax
push ecx
call fcn.0042ac50
add esp, 0x30
test eax, eax
je 0x40d6ef
mov edx, dword [esi + 8]
mov eax, dword [ebp + 0x1c]
mov dword [eax], edx
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 [edi + 4]
mov eax, dword [edi]
mov ecx, dword [ebx + 4]
push edx
mov edx, dword [ebx]
push eax
mov eax, dword [ebp + 0x18]
push ecx
mov ecx, dword [ebp + 0x14]
push edx
mov edx, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push ecx
mov ecx, dword [esi + 0x14]
push edx
mov edx, dword [esi + 0x10]
push eax
mov eax, dword [esi + 0xc]
push ecx
mov ecx, dword [esi + 8]
push edx
push eax
push ecx
call fcn.0042ac50
add esp, 0x30
test eax, eax
je 0x40d73f
mov edx, dword [esi + 8]
mov dword [ebx], edx
mov eax, dword [esi + 0xc]
mov dword [ebx + 4], eax
mov ecx, dword [esi + 0x10]
mov dword [edi], ecx
mov edx, dword [esi + 0x14]
mov dword [edi + 4], edx
mov eax, dword [ebp + 8]
mov ecx, dword [esi + 0x24]
mov edx, dword [esi + 0x20]
push eax
mov eax, dword [esi + 0x1c]
push ecx
mov ecx, dword [esi + 0x18]
push edx
push eax
push ecx
call fcn.0042b820
fcomp qword [0x4a79d8]
add esp, 0x14
fnstsw ax
test ah, 5
jp 0x40d818
mov eax, dword [ebp + 0x20]
mov edx, dword [eax + 4]
mov eax, dword [eax]
push edx
push eax
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [ebp + 0x18]
push ecx
mov ecx, dword [ebp + 0x14]
push edx
mov edx, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push ecx
mov ecx, dword [esi + 0x24]
push edx
mov edx, dword [esi + 0x20]
push eax
mov eax, dword [esi + 0x1c]
push ecx
mov ecx, dword [esi + 0x18]
push edx
push eax
push ecx
call fcn.0042ac50
add esp, 0x30
test eax, eax
je 0x40d7c8
mov edx, dword [esi + 0x18]
mov eax, dword [ebp + 0x1c]
mov dword [eax], edx
mov ecx, dword [esi + 0x1c]
mov dword [eax + 4], ecx
mov edx, dword [esi + 0x20]
mov eax, dword [ebp + 0x20]
mov dword [eax], edx
mov ecx, dword [esi + 0x24]
mov dword [eax + 4], ecx
mov edx, dword [edi + 4]
mov eax, dword [edi]
mov ecx, dword [ebx + 4]
push edx
mov edx, dword [ebx]
push eax
mov eax, dword [ebp + 0x18]
push ecx
mov ecx, dword [ebp + 0x14]
push edx
mov edx, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push ecx
mov ecx, dword [esi + 0x24]
push edx
mov edx, dword [esi + 0x20]
push eax
mov eax, dword [esi + 0x1c]
push ecx
mov ecx, dword [esi + 0x18]
push edx
push eax
push ecx
call fcn.0042ac50
add esp, 0x30
test eax, eax
je 0x40d818
mov edx, dword [esi + 0x18]
mov dword [ebx], edx
mov eax, dword [esi + 0x1c]
mov dword [ebx + 4], eax
mov ecx, dword [esi + 0x20]
mov dword [edi], ecx
mov edx, dword [esi + 0x24]
mov dword [edi + 4], edx
mov ecx, 0x4d0970
call fcn.00425870
test eax, eax
je 0x40d847
mov eax, dword [esi + 0x6c]
test eax, eax
je 0x40d83b
fld qword [esi + 0x18]
fadd qword [0x4a8bd0]
fstp qword [esi + 0x18]
jmp 0x40d847
fld qword [esi + 8]
fadd qword [0x4a8bc8]
fstp qword [esi + 8]
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x40d617
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x30]
test ecx, ecx
jne 0x40d86b
mov eax, dword [0x4d0a4c]
test eax, eax
je 0x40df94
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x40]
test eax, eax
mov dword [esp + 0x10], eax
je 0x40da5c
mov edi, edi
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
mov esi, dword [eax + 8]
cmp esi, dword [ebp + 8]
mov dword [esp + 0x10], edx
je 0x40da50
mov eax, dword [esi + 0x48]
test eax, eax
je 0x40da50
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x2c]
push ecx
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
mov ecx, esi
call fcn.0042c230
test eax, eax
je 0x40da50
mov edx, dword [ebp + 8]
push esi
push edx
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x54]
push ecx
call fcn.0042b010
add esp, 0x10
cmp eax, 1
jl 0x40da50
fld qword [esi + 0x20]
sub esp, 0x10
fadd qword [esi + 0x10]
fmul qword [0x4a79e0]
fsubr qword [esp + 0x68]
fstp qword [esp + 8]
fld qword [esi + 0x18]
fadd qword [esi + 8]
fmul qword [0x4a79e0]
fsubr qword [esp + 0x58]
fstp qword [esp]
call fcn.0046a0f9
fld qword [esi + 0x30]
add esp, 0x10
fmul qword [0x4a79e0]
fadd qword [0x4a79d8]
fcompp
fnstsw ax
test ah, 5
jnp 0x40da50
mov esi, dword [ebp + 8]
fld qword [esi + 0x10]
sub esp, 0x10
fadd qword [esi + 0x20]
fmul qword [0x4a79e0]
fsubr qword [esp + 0x68]
fstp qword [esp + 8]
fld qword [esi + 0x18]
fadd qword [esi + 8]
fmul qword [0x4a79e0]
fsubr qword [esp + 0x58]
fstp qword [esp]
call fcn.0046a0f9
fld qword [esi + 0x30]
add esp, 0x10
fmul qword [0x4a79e0]
fadd qword [0x4a79d8]
fcompp
fnstsw ax
test ah, 5
jnp 0x40da50
mov esi, dword [ebp + 0x20]
mov edx, dword [esi + 4]
mov eax, dword [esi]
push edx
push eax
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [ebp + 0x18]
push ecx
mov ecx, dword [ebp + 0x14]
push edx
mov edx, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push ecx
mov ecx, dword [esp + 0x74]
push edx
mov edx, dword [esp + 0x74]
push eax
mov eax, dword [esp + 0x6c]
push ecx
mov ecx, dword [esp + 0x6c]
push edx
push eax
push ecx
call fcn.0042ac50
add esp, 0x30
test eax, eax
je 0x40d9f8
mov eax, dword [ebp + 0x1c]
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov dword [eax], edx
mov edx, dword [esp + 0x58]
mov dword [eax + 4], ecx
mov eax, dword [esp + 0x5c]
mov dword [esi], edx
mov dword [esi + 4], eax
mov ecx, dword [edi + 4]
mov edx, dword [edi]
mov eax, dword [ebx + 4]
push ecx
mov ecx, dword [ebx]
push edx
mov edx, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x14]
push ecx
mov ecx, dword [ebp + 0x10]
push edx
mov edx, dword [ebp + 0xc]
push eax
mov eax, dword [esp + 0x74]
push ecx
mov ecx, dword [esp + 0x74]
push edx
mov edx, dword [esp + 0x6c]
push eax
mov eax, dword [esp + 0x6c]
push ecx
push edx
push eax
call fcn.0042ac50
add esp, 0x30
test eax, eax
je 0x40da50
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x58]
mov dword [ebx], ecx
mov ecx, dword [esp + 0x5c]
mov dword [ebx + 4], edx
mov dword [edi], eax
mov dword [edi + 4], ecx
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x40d880
mov edx, dword [esp + 0x14]
mov esi, dword [edx + 0x98]
test esi, esi
je 0x40dbd0
mov edi, edi
mov eax, esi
mov eax, dword [eax + 8]
mov ecx, dword [eax + 0x28]
test ecx, ecx
mov esi, dword [esi]
je 0x40da8d
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx + 0x34]
test edx, edx
je 0x40dbc8
mov ecx, dword [eax + 0x30]
test ecx, ecx
je 0x40dbc8
mov edx, dword [ebp + 8]
push eax
push edx
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x54]
push ecx
call fcn.0042b070
add esp, 0x10
cmp eax, 1
jl 0x40dbc8
mov eax, dword [ebp + 8]
fld qword [eax + 0x10]
sub esp, 0x10
fadd qword [eax + 0x20]
fmul qword [0x4a79e0]
fsubr qword [esp + 0x68]
fstp qword [esp + 8]
fld qword [eax + 0x18]
fadd qword [eax + 8]
fmul qword [0x4a79e0]
fsubr qword [esp + 0x58]
fstp qword [esp]
call fcn.0046a0f9
mov edx, dword [ebp + 8]
fld qword [edx + 0x30]
add esp, 0x10
fmul qword [0x4a79e0]
fadd qword [0x4a79d8]
fcompp
fnstsw ax
test ah, 5
jnp 0x40dbc8
mov eax, dword [ebp + 0x20]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [ebp + 0x1c]
push ecx
mov ecx, dword [eax + 4]
push edx
mov edx, dword [eax]
mov eax, dword [ebp + 0x18]
push ecx
mov ecx, dword [ebp + 0x14]
push edx
mov edx, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push ecx
mov ecx, dword [esp + 0x74]
push edx
mov edx, dword [esp + 0x74]
push eax
mov eax, dword [esp + 0x6c]
push ecx
mov ecx, dword [esp + 0x6c]
push edx
push eax
push ecx
call fcn.0042ac50
add esp, 0x30
test eax, eax
je 0x40db70
mov eax, dword [ebp + 0x1c]
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov dword [eax], edx
mov edx, dword [esp + 0x58]
mov dword [eax + 4], ecx
mov eax, dword [ebp + 0x20]
mov ecx, dword [esp + 0x5c]
mov dword [eax], edx
mov dword [eax + 4], ecx
mov edx, dword [edi + 4]
mov eax, dword [edi]
mov ecx, dword [ebx + 4]
push edx
mov edx, dword [ebx]
push eax
mov eax, dword [ebp + 0x18]
push ecx
mov ecx, dword [ebp + 0x14]
push edx
mov edx, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push ecx
mov ecx, dword [esp + 0x74]
push edx
mov edx, dword [esp + 0x74]
push eax
mov eax, dword [esp + 0x6c]
push ecx
mov ecx, dword [esp + 0x6c]
push edx
push eax
push ecx
call fcn.0042ac50
add esp, 0x30
test eax, eax
je 0x40dbc8
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x58]
mov dword [ebx], edx
mov edx, dword [esp + 0x5c]
mov dword [ebx + 4], eax
mov dword [edi], ecx
mov dword [edi + 4], edx
test esi, esi
jne 0x40da70
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x5c]
test eax, eax
mov dword [esp + 0x10], eax
je 0x40dd78
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov esi, dword [eax + 8]
mov eax, dword [esi + 0x30]
test eax, eax
mov dword [esp + 0x10], ecx
je 0x40dd6c
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x4c]
push eax
mov eax, dword [esp + 0x4c]
push ecx
push edx
push eax
mov ecx, esi
call fcn.00429960
test eax, eax
je 0x40dd6c
mov ecx, dword [ebp + 8]
push esi
push ecx
lea edx, [esp + 0x60]
push edx
lea eax, [esp + 0x54]
push eax
call fcn.0042bda0
mov esi, eax
add esp, 0x10
test esi, esi
jle 0x40dd6c
mov eax, dword [ebp + 8]
fld qword [eax + 0x10]
dec esi
fadd qword [eax + 0x20]
sub esp, 0x10
fmul qword [0x4a79e0]
fsubr qword [esp + esi*8 + 0x68]
fstp qword [esp + 8]
fld qword [eax + 0x18]
fadd qword [eax + 8]
fmul qword [0x4a79e0]
fsubr qword [esp + esi*8 + 0x58]
fstp qword [esp]
call fcn.0046a0f9
mov ecx, dword [ebp + 8]
fld qword [ecx + 0x30]
add esp, 0x10
fmul qword [0x4a79e0]
fadd qword [0x4a79d8]
fcompp
fnstsw ax
test ah, 5
jnp 0x40dd64
mov eax, dword [ebp + 0x20]
mov edx, dword [eax + 4]
mov eax, dword [eax]
push edx
push eax
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [ebp + 0x18]
push ecx
mov ecx, dword [ebp + 0x14]
push edx
mov edx, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push ecx
mov ecx, dword [esp + esi*8 + 0x74]
push edx
mov edx, dword [esp + esi*8 + 0x74]
push eax
mov eax, dword [esp + esi*8 + 0x6c]
push ecx
mov ecx, dword [esp + esi*8 + 0x6c]
push edx
push eax
push ecx
call fcn.0042ac50
add esp, 0x30
test eax, eax
je 0x40dd0c
mov eax, dword [ebp + 0x1c]
mov edx, dword [esp + esi*8 + 0x48]
mov ecx, dword [esp + esi*8 + 0x4c]
mov dword [eax], edx
mov edx, dword [esp + esi*8 + 0x58]
mov dword [eax + 4], ecx
mov eax, dword [ebp + 0x20]
mov ecx, dword [esp + esi*8 + 0x5c]
mov dword [eax], edx
mov dword [eax + 4], ecx
mov edx, dword [edi + 4]
mov eax, dword [edi]
mov ecx, dword [ebx + 4]
push edx
mov edx, dword [ebx]
push eax
mov eax, dword [ebp + 0x18]
push ecx
mov ecx, dword [ebp + 0x14]
push edx
mov edx, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push ecx
mov ecx, dword [esp + esi*8 + 0x74]
push edx
mov edx, dword [esp + esi*8 + 0x74]
push eax
mov eax, dword [esp + esi*8 + 0x6c]
push ecx
mov ecx, dword [esp + esi*8 + 0x6c]
push edx
push eax
push ecx
call fcn.0042ac50
add esp, 0x30
test eax, eax
je 0x40dd64
mov edx, dword [esp + esi*8 + 0x48]
mov eax, dword [esp + esi*8 + 0x4c]
mov ecx, dword [esp + esi*8 + 0x58]
mov dword [ebx], edx
mov edx, dword [esp + esi*8 + 0x5c]
mov dword [ebx + 4], eax
mov dword [edi], ecx
mov dword [edi + 4], edx
test esi, esi
jg 0x40dc53
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x40dbe3
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x78]
test eax, eax
mov dword [esp + 0x10], eax
je 0x40df94
jmp 0x40dd90
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 0x40df88
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x4c]
push eax
mov eax, dword [esp + 0x4c]
push ecx
push edx
push eax
mov ecx, esi
call fcn.00426460
test eax, eax
je 0x40df88
mov ecx, dword [ebp + 8]
push esi
push ecx
lea edx, [esp + 0x60]
push edx
lea eax, [esp + 0x54]
push eax
call fcn.0042be00
add esp, 0x10
test eax, eax
mov dword [esp + 0x14], eax
jle 0x40df88
mov eax, dword [ebp + 8]
fld qword [eax + 0x10]
mov ecx, dword [esp + 0x14]
fadd qword [eax + 0x20]
dec ecx
sub esp, 0x10
mov dword [esp + 0x24], ecx
fmul qword [0x4a79e0]
fsubr qword [esp + ecx*8 + 0x68]
fstp qword [esp + 8]
fld qword [eax + 0x18]
fadd qword [eax + 8]
fmul qword [0x4a79e0]
fsubr qword [esp + ecx*8 + 0x58]
fstp qword [esp]
call fcn.0046a0f9
mov ecx, dword [ebp + 8]
fld qword [ecx + 0x30]
add esp, 0x10
fmul qword [0x4a79e0]
fadd qword [0x4a79d8]
fcompp
fnstsw ax
test ah, 5
jnp 0x40df7c
mov eax, dword [esp + 0x14]
fld qword [esp + eax*8 + 0x58]
sub esp, 0x10
fsub qword [esi + 0x40]
fstp qword [esp + 8]
fld qword [esp + eax*8 + 0x58]
fsub qword [esi + 0x38]
fstp qword [esp]
call fcn.0042aac0
mov ecx, dword [esi + 0x34]
fstp qword [esp + 0x50]
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
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 0x40df7c
mov eax, dword [ebp + 0x20]
mov edx, dword [eax + 4]
mov eax, dword [eax]
push edx
push eax
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [ebp + 0x18]
push ecx
mov ecx, dword [ebp + 0x14]
push edx
mov edx, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push ecx
push edx
push eax
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + eax*8 + 0x7c]
mov edx, dword [esp + eax*8 + 0x78]
push ecx
mov ecx, dword [esp + eax*8 + 0x70]
push edx
mov edx, dword [esp + eax*8 + 0x70]
push ecx
push edx
call fcn.0042ac50
add esp, 0x30
test eax, eax
je 0x40df1a
mov eax, dword [esp + 0x14]
mov edx, dword [esp + eax*8 + 0x48]
mov ecx, dword [ebp + 0x1c]
mov dword [ecx], edx
mov edx, dword [esp + eax*8 + 0x4c]
mov dword [ecx + 4], edx
mov edx, dword [esp + eax*8 + 0x58]
mov ecx, dword [ebp + 0x20]
mov eax, dword [esp + eax*8 + 0x5c]
mov dword [ecx], edx
mov dword [ecx + 4], eax
mov ecx, dword [edi + 4]
mov edx, dword [edi]
mov eax, dword [ebx + 4]
push ecx
mov ecx, dword [ebx]
push edx
mov edx, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x14]
push ecx
mov ecx, dword [ebp + 0x10]
push edx
mov edx, dword [ebp + 0xc]
push eax
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + eax*8 + 0x78]
push edx
mov edx, dword [esp + eax*8 + 0x78]
push ecx
mov ecx, dword [esp + eax*8 + 0x70]
push edx
mov edx, dword [esp + eax*8 + 0x70]
push ecx
push edx
call fcn.0042ac50
add esp, 0x30
test eax, eax
je 0x40df7c
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + eax*8 + 0x48]
mov edx, dword [esp + eax*8 + 0x4c]
mov dword [ebx], ecx
mov ecx, dword [esp + eax*8 + 0x58]
mov dword [ebx + 4], edx
mov edx, dword [esp + eax*8 + 0x5c]
mov dword [edi], ecx
mov dword [edi + 4], edx
jmp 0x40df80
mov eax, dword [esp + 0x14]
test eax, eax
jg 0x40de02
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x40dd90
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x40d280
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x24