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

Disassembly:
sub esp, 0x64
push ebx
push esi
mov esi, dword [esp + 0x7c]
mov al, byte [esi + 0x24]
xor bl, bl
cmp al, bl
je 0x41518e
fld dword [esi + 0xc]
mov eax, dword [esp + 0x70]
fsub dword [esi]
mov ecx, eax
mov edx, dword [ecx]
mov dword [esp + 0x4c], edx
fstp dword [esp + 0x28]
mov edx, dword [ecx + 4]
fld dword [esi + 0x10]
mov ecx, dword [ecx + 8]
fsub dword [esi + 4]
mov dword [esp + 0x50], edx
mov edx, dword [eax]
mov dword [esp + 0x54], ecx
mov ecx, dword [eax + 4]
fstp dword [esp + 0x2c]
fld dword [esi + 0x14]
mov dword [esp + 0x5c], edx
fsub dword [esi + 8]
mov edx, dword [eax + 8]
lea eax, [esp + 0x28]
mov dword [esp + 0x60], ecx
fstp dword [esp + 0x30]
fld dword [esi + 0x18]
push eax
fsub dword [esi]
lea ecx, [esp + 0x38]
mov dword [esp + 0x68], edx
push ecx
fstp dword [esp + 0x3c]
lea edx, [esp + 0x48]
fld dword [esi + 0x1c]
push edx
fsub dword [esi + 4]
fstp dword [esp + 0x44]
fld dword [esi + 0x20]
fsub dword [esi + 8]
fstp dword [esp + 0x48]
call fcn.0059c730
mov ecx, dword [eax]
mov dword [esp + 0x28], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x2c], edx
mov eax, dword [eax + 8]
add esp, 0xc
lea ecx, [esp + 0x1c]
mov dword [esp + 0x24], eax
call fcn.0059c910
fld dword [esp + 0x24]
fmul dword [esi + 8]
fld dword [esp + 0x20]
fmul dword [esi + 4]
faddp st(1)
fld dword [esp + 0x1c]
fmul dword [esi]
faddp st(1)
fstp dword [esp + 0x7c]
fld dword [esp + 0x1c]
fcomp dword [0x858b50]
fld dword [esp + 0x1c]
fnstsw ax
test ah, 5
jp 0x414e55
fchs
fld dword [esp + 0x20]
fcomp dword [0x858b50]
fld dword [esp + 0x20]
fnstsw ax
test ah, 5
jp 0x414e6c
fchs
fxch st(1)
fcomp st(1)
fnstsw ax
fstp st(0)
test ah, 0x41
jne 0x414ecd
fld dword [esp + 0x1c]
fcomp dword [0x858b50]
fld dword [esp + 0x1c]
fnstsw ax
test ah, 5
jp 0x414e90
fchs
fld dword [esp + 0x24]
fcomp dword [0x858b50]
fld dword [esp + 0x24]
fnstsw ax
test ah, 5
jp 0x414ea7
fchs
fxch st(1)
fcomp st(1)
fnstsw ax
fstp st(0)
test ah, 0x41
jne 0x414ecd
fld dword [esp + 0x1c]
fcomp dword [0x858b50]
fnstsw ax
test ah, 0x41
jne 0x414ec9
xor cl, cl
jmp 0x414f36
mov cl, 1
jmp 0x414f36
fld dword [esp + 0x20]
fcomp dword [0x858b50]
fld dword [esp + 0x20]
fnstsw ax
test ah, 5
jp 0x414ee4
fchs
fld dword [esp + 0x24]
fcomp dword [0x858b50]
fld dword [esp + 0x24]
fnstsw ax
test ah, 5
jp 0x414efb
fchs
fxch st(1)
fcomp st(1)
fnstsw ax
fstp st(0)
test ah, 0x41
jne 0x414f21
fld dword [esp + 0x20]
fcomp dword [0x858b50]
fnstsw ax
test ah, 0x41
jne 0x414f1d
mov cl, 2
jmp 0x414f36
mov cl, 3
jmp 0x414f36
fld dword [esp + 0x24]
mov cl, 4
fcomp dword [0x858b50]
fnstsw ax
test ah, 0x41
je 0x414f36
mov cl, 5
fld dword [esp + 0x54]
fmul dword [esp + 0x24]
fld dword [esp + 0x50]
fmul dword [esp + 0x20]
fstp dword [esp + 0x14]
fld dword [esp + 0x4c]
fmul dword [esp + 0x1c]
fstp dword [esp + 0x18]
fld dword [esp + 0x60]
fmul dword [esp + 0x20]
fld dword [esp + 0x5c]
fmul dword [esp + 0x1c]
faddp st(1)
fld dword [esp + 0x24]
fmul dword [esp + 0x74]
faddp st(1)
fsub dword [esp + 0x7c]
fld dword [esp + 0x18]
fadd dword [esp + 0x14]
fadd st(2)
fsub dword [esp + 0x7c]
fmulp st(1)
fcomp dword [0x858b50]
fnstsw ax
test ah, 0x41
jp 0x415189
fld dword [esp + 0x5c]
movzx eax, cl
cmp eax, 5
fsub dword [esp + 0x4c]
fld dword [esp + 0x60]
fsub dword [esp + 0x50]
fld dword [esp + 0x74]
fsub dword [esp + 0x54]
fstp dword [esp + 0x3c]
fld dword [esp + 0x7c]
fsub dword [esp + 0x18]
fsub dword [esp + 0x14]
fsub st(3)
fld dword [esp + 0x3c]
fmul dword [esp + 0x24]
fld st(2)
fmul dword [esp + 0x20]
faddp st(1)
fld st(3)
fmul dword [esp + 0x1c]
faddp st(1)
fdivp st(1)
fstp dword [esp + 0x7c]
fxch st(1)
fmul dword [esp + 0x7c]
fstp dword [esp + 0x28]
fmul dword [esp + 0x7c]
fstp st(1)
fld dword [esp + 0x3c]
fmul dword [esp + 0x7c]
fld dword [esp + 0x28]
fadd dword [esp + 0x4c]
fstp dword [esp + 0x1c]
fxch st(1)
fadd dword [esp + 0x50]
fstp dword [esp + 0x20]
fadd dword [esp + 0x54]
fstp dword [esp + 0x24]
ja case.default.0x415021
jmp dword [eax*4 + 0x415210]
mov ecx, dword [esi + 0x10]
fld dword [esi + 4]
mov edx, dword [esi + 0x14]
fld dword [esi + 8]
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x10], ecx
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 8], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0xc], eax
jmp 0x415158
mov ecx, dword [esi + 0x10]
fld dword [esi + 4]
mov edx, dword [esi + 0x14]
fld dword [esi + 8]
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x7c], ecx
mov ecx, dword [esi + 0x20]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0xc], eax
jmp 0x415158
mov ecx, dword [esi + 0x14]
fld dword [esi + 8]
mov edx, dword [esi + 0xc]
fld dword [esi]
mov eax, dword [esi + 0x20]
mov dword [esp + 0x10], ecx
mov ecx, dword [esi + 0x18]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 8], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0xc], eax
jmp 0x415158
mov ecx, dword [esi + 0x14]
fld dword [esi + 8]
mov edx, dword [esi + 0xc]
fld dword [esi]
mov eax, dword [esi + 0x20]
mov dword [esp + 0x7c], ecx
mov ecx, dword [esi + 0x18]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0xc], eax
jmp 0x415158
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 0x10]
mov eax, dword [esi + 0x18]
mov dword [esp + 0x10], ecx
mov ecx, dword [esi + 0x1c]
mov dword [esp + 0x18], edx
mov dword [esp + 0x7c], eax
mov dword [esp + 8], ecx
jmp 0x415139
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 0x10]
mov eax, dword [esi + 0x18]
mov dword [esp + 0x7c], ecx
mov ecx, dword [esi + 0x1c]
mov dword [esp + 8], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0x1c]
fld dword [esi]
mov eax, dword [esp + 0x20]
fld dword [esi + 4]
mov dword [esp + 0x14], edx
mov dword [esp + 0xc], eax
jmp 0x415158
fld dword [esp + 0x7c]
fld dword [esp + 0x7c]
fld dword [esp + 0xc]
fsub st(1)
fld dword [esp + 0x14]
fsub st(3)
fld dword [esp + 0x7c]
fsub st(4)
fmul st(2)
fld dword [esp + 8]
fsub st(4)
fmul st(2)
fsubp st(1)
fcomp dword [0x858b50]
fnstsw ax
test ah, 5
jp 0x415196
fstp st(0)
fstp st(0)
fstp st(0)
fstp st(0)
mov byte [esi + 0x24], bl
pop esi
xor al, al
pop ebx
add esp, 0x64
ret
fld dword [esp + 0x10]
fsub st(4)
fmul st(2)
fld dword [esp + 0x18]
fsub st(4)
fmul st(2)
fsubp st(1)
fcomp dword [0x858b50]
fstp st(0)
fstp st(0)
fnstsw ax
fstp st(0)
test ah, 0x41
fstp st(0)
je 0x41518b
fld dword [esp + 0xc]
fsub dword [esp + 8]
fld dword [esp + 0x10]
fsub dword [esp + 0x7c]
fmulp st(1)
fld dword [esp + 0x14]
fsub dword [esp + 0x7c]
fld dword [esp + 0x18]
fsub dword [esp + 8]
fmulp st(1)
fsubp st(1)
fcomp dword [0x858b50]
fnstsw ax
test ah, 5
jnp 0x41518b
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x20]
mov dword [ecx], edx
mov edx, dword [esp + 0x24]
mov dword [ecx + 4], eax
pop esi
mov dword [ecx + 8], edx
mov al, 1
pop ebx
add esp, 0x64
ret