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

Disassembly:
sub esp, 0x54
movsd xmm1, qword [esp + 0x58]
movsd xmm6, qword [esp + 0x68]
movaps xmm0, xmm1
movsd xmm2, qword [esp + 0x70]
maxsd xmm0, xmm6
movsd xmm5, qword [esp + 0x88]
movaps xmm4, xmm6
movsd xmm3, qword [esp + 0x78]
minsd xmm4, xmm1
movsd xmm7, qword [esp + 0x80]
push esi
movsd qword [esp + 0x44], xmm0
mov esi, ecx
movsd xmm0, qword [esp + 0x64]
xor cl, cl
minsd xmm2, xmm0
mov dword [esp + 0x54], ecx
maxsd xmm0, qword [esp + 0x74]
movsd qword [esp + 0x4c], xmm0
movaps xmm0, xmm5
minsd xmm0, xmm3
movsd qword [esp + 0x24], xmm0
movaps xmm0, xmm3
maxsd xmm0, xmm5
movsd xmm5, qword [esp + 0x94]
minsd xmm5, xmm7
movsd qword [esp + 0x2c], xmm0
xorps xmm0, xmm0
movsd qword [esp + 0x34], xmm5
movaps xmm5, xmm7
maxsd xmm5, qword [esp + 0x94]
movsd qword [esp + 0x3c], xmm5
movaps xmm5, xmm1
subsd xmm5, xmm6
movsd xmm6, qword [0x4da6e0]
comisd xmm5, xmm0
movsd qword [esp + 0x14], xmm5
jb 0x401e35
movsd qword [esp + 0x1c], xmm5
jmp 0x401e3e
xorps xmm5, xmm6
movsd qword [esp + 0x1c], xmm5
movsd xmm5, qword [esi + 0x10]
comisd xmm5, xmmword [esp + 0x1c]
jb 0x4020ad
movaps xmm7, xmm3
subsd xmm7, qword [esp + 0x8c]
comisd xmm7, xmm0
movsd qword [esp + 0x7c], xmm7
jae 0x401e6a
xorps xmm7, xmm6
comisd xmm5, xmm7
movsd xmm7, qword [esp + 0x84]
jb 0x401ec8
subsd xmm1, xmm3
comisd xmm1, xmm0
jae 0x401e86
xorps xmm1, xmm6
comisd xmm5, xmm1
jb 0x40277a
movsd xmm0, qword [esp + 0x3c]
sub esp, 0x20
movsd xmm7, qword [esp + 0x6c]
mov ecx, esi
movsd qword [esp + 0x18], xmm0
movsd xmm0, qword [esp + 0x54]
movsd qword [esp + 0x10], xmm0
movsd qword [esp + 8], xmm7
movsd qword [esp], xmm2
call fcn.004031b0
jmp 0x40245a
movaps xmm1, xmm7
subsd xmm1, qword [esp + 0x94]
comisd xmm1, xmm0
jae 0x401edd
xorps xmm1, xmm6
comisd xmm5, xmm1
movsd xmm1, qword [esp + 0x5c]
jb 0x401f82
comisd xmm7, xmm2
jae 0x401f0a
subsd xmm2, xmm7
comisd xmm2, xmm0
jae 0x401f00
xorps xmm2, xmm6
comisd xmm5, xmm2
jb 0x40277a
movsd xmm2, qword [esp + 0x4c]
comisd xmm2, xmm7
jae 0x401f2d
subsd xmm7, xmm2
comisd xmm7, xmm0
jae 0x401f23
xorps xmm7, xmm6
comisd xmm5, xmm7
jb 0x40277a
movsd xmm2, qword [esp + 0x24]
comisd xmm1, xmm2
jae 0x401f50
subsd xmm2, xmm1
comisd xmm2, xmm0
jae 0x401f46
xorps xmm2, xmm6
comisd xmm5, xmm2
jb 0x40277a
movsd xmm2, qword [esp + 0x2c]
comisd xmm2, xmm1
jae 0x402462
subsd xmm1, xmm2
comisd xmm1, xmm0
jae 0x401f6d
xorps xmm1, xmm6
comisd xmm5, xmm1
jb 0x40277a
mov cl, 1
mov al, cl
pop esi
add esp, 0x54
ret 0x40
movaps xmm0, xmm3
mulsd xmm0, qword [esp + 0x94]
movsd qword [esp + 0x64], xmm0
movaps xmm0, xmm7
mulsd xmm0, qword [esp + 0x8c]
movsd xmm6, qword [esp + 0x64]
subsd xmm6, xmm0
movaps xmm0, xmm6
movsd xmm6, qword [esp + 0x8c]
divsd xmm0, qword [esp + 0x7c]
subsd xmm6, xmm3
movsd qword [esp + 0x64], xmm0
movsd xmm0, qword [esp + 0x94]
subsd xmm0, xmm7
movsd xmm3, qword [esp + 0x64]
divsd xmm0, xmm6
movsd xmm6, qword [0x4da6e0]
mulsd xmm0, xmm1
addsd xmm3, xmm0
xorps xmm0, xmm0
comisd xmm3, xmm2
jae 0x40200d
subsd xmm2, xmm3
comisd xmm2, xmm0
jae 0x402003
xorps xmm2, xmm6
comisd xmm5, xmm2
jb 0x40277a
movsd xmm7, qword [esp + 0x4c]
comisd xmm7, xmm3
jae 0x402033
movaps xmm2, xmm3
subsd xmm2, xmm7
comisd xmm2, xmm0
jae 0x402029
xorps xmm2, xmm6
comisd xmm5, xmm2
jb 0x40277a
comisd xmm1, xmm4
jae 0x402050
subsd xmm4, xmm1
comisd xmm4, xmm0
jae 0x402046
xorps xmm4, xmm6
comisd xmm5, xmm4
jb 0x40277a
movsd xmm2, qword [esp + 0x44]
comisd xmm2, xmm1
jae 0x402073
subsd xmm1, xmm2
comisd xmm1, xmm0
jae 0x402069
xorps xmm1, xmm6
comisd xmm5, xmm1
jb 0x40277a
movsd xmm0, qword [esp + 0x3c]
sub esp, 0x18
mov ecx, esi
movsd qword [esp + 0x10], xmm0
movsd xmm0, qword [esp + 0x4c]
movsd qword [esp + 8], xmm3
movsd qword [esp], xmm0
call fcn.00401cd0
test al, al
je 0x402768
movsd xmm0, qword [esp + 0x5c]
jmp 0x402433
movsd xmm7, qword [esp + 0x64]
subsd xmm7, qword [esp + 0x74]
comisd xmm7, xmm0
movsd qword [esp + 0x1c], xmm7
movaps xmm3, xmm7
jb 0x4020d0
movsd qword [esp + 0xc], xmm3
jmp 0x4020d9
xorps xmm3, xmm6
movsd qword [esp + 0xc], xmm3
comisd xmm5, xmmword [esp + 0xc]
movsd xmm3, qword [esp + 0x7c]
movsd xmm7, qword [esp + 0x84]
jb 0x4022dd
movaps xmm1, xmm7
subsd xmm1, qword [esp + 0x94]
comisd xmm1, xmm0
jae 0x402109
xorps xmm1, xmm6
comisd xmm5, xmm1
jb 0x402164
movsd xmm1, qword [esp + 0x64]
subsd xmm1, xmm7
comisd xmm1, xmm0
jae 0x402122
xorps xmm1, xmm6
comisd xmm5, xmm1
jb 0x40277a
movsd xmm2, qword [esp + 0x2c]
sub esp, 0x20
movsd xmm0, qword [esp + 0x44]
mov ecx, esi
movsd qword [esp + 0x18], xmm2
movsd xmm2, qword [esp + 0x64]
movsd qword [esp + 0x10], xmm0
movsd qword [esp + 8], xmm2
movsd qword [esp], xmm4
call fcn.004031b0
jmp 0x40245a
movaps xmm1, xmm3
subsd xmm1, qword [esp + 0x8c]
comisd xmm1, xmm0
movsd qword [esp + 0x7c], xmm1
jae 0x40217f
xorps xmm1, xmm6
comisd xmm5, xmm1
jb 0x4021eb
comisd xmm3, xmm4
jae 0x4021a2
subsd xmm4, xmm3
comisd xmm4, xmm0
jae 0x402198
xorps xmm4, xmm6
comisd xmm5, xmm4
jb 0x40277a
movsd xmm2, qword [esp + 0x44]
comisd xmm2, xmm3
jae 0x4021c5
subsd xmm3, xmm2
comisd xmm3, xmm0
jae 0x4021bb
xorps xmm3, xmm6
comisd xmm5, xmm3
jb 0x40277a
movsd xmm0, qword [esp + 0x3c]
sub esp, 0x18
movsd qword [esp + 0x10], xmm0
movsd xmm0, qword [esp + 0x7c]
movsd qword [esp + 8], xmm0
movsd xmm0, qword [esp + 0x4c]
jmp 0x40244e
movaps xmm1, xmm3
movaps xmm0, xmm7
mulsd xmm0, qword [esp + 0x8c]
mulsd xmm1, qword [esp + 0x94]
subsd xmm1, xmm0
movsd xmm0, qword [esp + 0x64]
divsd xmm1, qword [esp + 0x7c]
subsd xmm0, xmm1
movsd xmm1, qword [esp + 0x8c]
subsd xmm1, xmm3
movsd qword [esp + 0x7c], xmm0
movsd xmm0, qword [esp + 0x94]
subsd xmm0, xmm7
movsd xmm3, qword [esp + 0x7c]
divsd xmm0, xmm1
movsd xmm1, qword [esp + 0x64]
comisd xmm1, xmm2
divsd xmm3, xmm0
xorps xmm0, xmm0
movsd qword [esp + 0x7c], xmm3
jae 0x402271
subsd xmm2, xmm1
comisd xmm2, xmm0
jae 0x402267
xorps xmm2, xmm6
comisd xmm5, xmm2
jb 0x40277a
movsd xmm2, qword [esp + 0x4c]
comisd xmm2, xmm1
jae 0x402294
subsd xmm1, xmm2
comisd xmm1, xmm0
jae 0x40228a
xorps xmm1, xmm6
comisd xmm5, xmm1
jb 0x40277a
movsd xmm2, qword [esp + 0x44]
sub esp, 0x18
mov ecx, esi
movsd qword [esp + 0x10], xmm2
movsd qword [esp + 8], xmm3
movsd qword [esp], xmm4
call fcn.00401cd0
test al, al
je 0x402768
movsd xmm0, qword [esp + 0x3c]
sub esp, 0x18
movsd qword [esp + 0x10], xmm0
movsd xmm0, qword [esp + 0x7c]
movsd qword [esp + 8], xmm0
jmp 0x402413
movaps xmm1, xmm3
subsd xmm1, qword [esp + 0x8c]
comisd xmm1, xmm0
movsd qword [esp + 0xc], xmm1
jae 0x4022f8
xorps xmm1, xmm6
comisd xmm5, xmm1
movsd xmm1, qword [esp + 0x5c]
jb 0x40246d
movaps xmm0, xmm1
mulsd xmm0, qword [esp + 0x74]
movsd qword [esp + 0x94], xmm0
movsd xmm0, qword [esp + 0x64]
mulsd xmm0, qword [esp + 0x6c]
movsd xmm6, qword [esp + 0x94]
subsd xmm6, xmm0
movaps xmm0, xmm6
movsd xmm6, qword [esp + 0x6c]
divsd xmm0, qword [esp + 0x14]
subsd xmm6, xmm1
movsd qword [esp + 0x94], xmm0
movsd xmm0, qword [esp + 0x74]
subsd xmm0, qword [esp + 0x64]
movsd xmm1, qword [esp + 0x94]
divsd xmm0, xmm6
movsd xmm6, qword [0x4da6e0]
mulsd xmm0, xmm3
addsd xmm1, xmm0
xorps xmm0, xmm0
comisd xmm1, xmm2
jae 0x402398
subsd xmm2, xmm1
comisd xmm2, xmm0
jae 0x40238e
xorps xmm2, xmm6
comisd xmm5, xmm2
jb 0x40277a
movsd xmm7, qword [esp + 0x4c]
comisd xmm7, xmm1
jae 0x4023be
movaps xmm2, xmm1
subsd xmm2, xmm7
comisd xmm2, xmm0
jae 0x4023b4
xorps xmm2, xmm6
comisd xmm5, xmm2
jb 0x40277a
comisd xmm3, xmm4
jae 0x4023db
subsd xmm4, xmm3
comisd xmm4, xmm0
jae 0x4023d1
xorps xmm4, xmm6
comisd xmm5, xmm4
jb 0x40277a
movsd xmm2, qword [esp + 0x44]
comisd xmm2, xmm3
jae 0x4023fe
subsd xmm3, xmm2
comisd xmm3, xmm0
jae 0x4023f4
xorps xmm3, xmm6
comisd xmm5, xmm3
jb 0x40277a
movsd xmm0, qword [esp + 0x3c]
sub esp, 0x18
movsd qword [esp + 0x10], xmm0
movsd qword [esp + 8], xmm1
movsd xmm0, qword [esp + 0x4c]
mov ecx, esi
movsd qword [esp], xmm0
call fcn.00401cd0
test al, al
je 0x402768
movsd xmm0, qword [esp + 0x7c]
movsd xmm2, qword [esp + 0x2c]
sub esp, 0x18
movsd qword [esp + 0x10], xmm2
movsd qword [esp + 8], xmm0
movsd xmm0, qword [esp + 0x3c]
mov ecx, esi
movsd qword [esp], xmm0
call fcn.00401cd0
test al, al
je 0x402768
mov cl, 1
mov al, cl
pop esi
add esp, 0x54
ret 0x40
movaps xmm3, xmm7
xor al, al
subsd xmm3, qword [esp + 0x94]
comisd xmm3, xmm0
movsd qword [esp + 0x5c], xmm3
movaps xmm0, xmm3
jae 0x40248d
xorps xmm0, xmm6
comisd xmm5, xmm0
push edi
movzx eax, al
mov edi, 1
movsd xmm0, qword [esp + 0x68]
movaps xmm3, xmm1
mulsd xmm3, qword [esp + 0x78]
cmovae eax, edi
mulsd xmm0, qword [esp + 0x70]
subsd xmm3, xmm0
divsd xmm3, qword [esp + 0x18]
movsd qword [esp + 8], xmm3
movsd xmm3, qword [esp + 0x80]
test al, al
je 0x4025fd
comisd xmm7, xmm2
movsd xmm3, qword [esp + 0x70]
movaps xmm0, xmm7
subsd xmm0, qword [esp + 8]
subsd xmm3, xmm1
movsd qword [esp + 0x98], xmm0
movsd xmm0, qword [esp + 0x78]
subsd xmm0, qword [esp + 0x68]
divsd xmm0, xmm3
movsd xmm3, qword [esp + 0x98]
divsd xmm3, xmm0
xorps xmm0, xmm0
movsd qword [esp + 0x98], xmm3
jae 0x402535
subsd xmm2, xmm7
comisd xmm2, xmm0
jae 0x40252b
xorps xmm2, xmm6
comisd xmm5, xmm2
jb 0x402779
movsd xmm1, qword [esp + 0x50]
comisd xmm1, xmm7
jae 0x402558
subsd xmm7, xmm1
comisd xmm7, xmm0
jae 0x40254e
xorps xmm7, xmm6
comisd xmm5, xmm7
jb 0x402779
movsd xmm2, qword [esp + 0x48]
sub esp, 0x18
mov ecx, esi
movsd qword [esp + 0x10], xmm2
movsd qword [esp + 8], xmm3
movsd qword [esp], xmm4
call fcn.00401cd0
test al, al
je 0x402775
movsd xmm0, qword [esp + 0x40]
sub esp, 0x18
mov ecx, esi
movsd qword [esp + 0x10], xmm0
movsd xmm0, qword [esp + 0xa0]
movsd qword [esp + 8], xmm0
movsd xmm0, qword [esp + 0x50]
movsd qword [esp], xmm0
call fcn.00401cd0
test al, al
je 0x402775
movsd xmm2, qword [esp + 0x30]
sub esp, 0x18
movsd xmm0, qword [esp + 0xb0]
mov ecx, esi
movsd qword [esp + 0x10], xmm2
movsd qword [esp + 8], xmm0
movsd xmm0, qword [esp + 0x40]
movsd qword [esp], xmm0
call fcn.00401cd0
test al, al
je 0x402775
mov cl, 1
pop edi
mov al, cl
pop esi
add esp, 0x54
ret 0x40
mulsd xmm3, qword [esp + 0x98]
mulsd xmm7, qword [esp + 0x90]
movsd xmm0, qword [esp + 0x20]
divsd xmm0, qword [esp + 0x18]
movsd xmm1, qword [esp + 0x60]
subsd xmm3, xmm7
divsd xmm1, qword [esp + 0x10]
divsd xmm3, qword [esp + 0x10]
movsd qword [esp + 0x20], xmm0
subsd xmm0, xmm1
mulsd xmm1, qword [esp + 8]
movaps xmm6, xmm3
subsd xmm6, qword [esp + 8]
movsd qword [esp + 0x68], xmm3
mulsd xmm3, qword [esp + 0x20]
divsd xmm6, xmm0
subsd xmm3, xmm1
movsd qword [esp + 0x68], xmm6
movsd xmm6, qword [0x4da6e0]
divsd xmm3, xmm0
xorps xmm0, xmm0
comisd xmm3, xmm2
movsd qword [esp + 0x80], xmm3
jae 0x402699
subsd xmm2, xmm3
comisd xmm2, xmm0
jae 0x40268f
xorps xmm2, xmm6
comisd xmm5, xmm2
jb 0x402779
movsd xmm1, qword [esp + 0x50]
comisd xmm1, xmm3
jae 0x4026bc
subsd xmm3, xmm1
comisd xmm3, xmm0
jae 0x4026b2
xorps xmm3, xmm6
comisd xmm5, xmm3
jb 0x402779
movsd xmm2, qword [esp + 0x48]
sub esp, 0x18
movsd xmm0, qword [esp + 0x80]
mov ecx, esi
movsd qword [esp + 0x10], xmm2
movsd qword [esp + 8], xmm0
movsd qword [esp], xmm4
call fcn.00401cd0
test al, al
je 0x402775
movsd xmm0, qword [esp + 0x40]
sub esp, 0x18
mov ecx, esi
movsd qword [esp + 0x10], xmm0
movsd xmm0, qword [esp + 0x98]
movsd qword [esp + 8], xmm0
movsd xmm0, qword [esp + 0x50]
movsd qword [esp], xmm0
call fcn.00401cd0
test al, al
je 0x402775
movsd xmm2, qword [esp + 0x30]
sub esp, 0x18
movsd xmm0, qword [esp + 0x80]
mov ecx, esi
movsd qword [esp + 0x10], xmm2
movsd qword [esp + 8], xmm0
movsd xmm0, qword [esp + 0x40]
movsd qword [esp], xmm0
call fcn.00401cd0
mov ecx, dword [esp + 0x58]
test al, al
movzx ecx, cl
cmovne ecx, edi
pop edi
mov al, cl
pop esi
add esp, 0x54
ret 0x40
mov ecx, dword [esp + 0x54]
mov al, cl
pop esi
add esp, 0x54
ret 0x40
mov ecx, dword [esp + 0x58]
pop edi
mov al, cl
pop esi
add esp, 0x54
ret 0x40