Function at 0x40db10
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x40
fld qword [0x4373e8]
fstp qword [esp + 8]
fld qword [0x4374c8]
fstp qword [esp + 0x18]
fld qword [0x4374c0]
fstp qword [esp + 0x20]
fld qword [0x437400]
fstp qword [esp + 0x10]
call fcn.00408900
call fcn.0040d850
call fcn.00409780
fld qword [0x435f68]
fmul qword [0x437870]
fstp qword [esp + 0x38]
fld qword [esp + 0x10]
fmul st(0), st(0)
fld qword [esp + 0x20]
fmul st(0), st(0)
faddp st(1)
call fcn.00410380
fdiv qword [esp + 0x18]
sub esp, 8
fstp qword [esp]
call fcn.00408510
fstp qword [0x436bd8]
fld qword [0x437360]
add esp, 8
fsub qword [0x4371e0]
fmul qword [0x425070]
fdiv qword [0x437180]
call fcn.004105b0
fld qword [0x425998]
fmul st(1), st(0)
fld qword [str._DT]
fdiv st(2), st(0)
fxch st(2)
fcomp qword [0x4247c0]
fnstsw ax
test ah, 0x41
jne 0x40dbcf
fld qword [0x424650]
jmp 0x40dbd1
fld1
fstp qword [0x4360b8]
fld qword [0x436250]
fld qword [0x4378a0]
fcom st(1)
fnstsw ax
test ah, 1
jne 0x40dbfc
fstp st(3)
fstp st(1)
fstp st(0)
fstp st(0)
fld qword [0x435fb0]
jmp 0x40dc70
fld st(3)
fmul qword [esp + 8]
fdivrp st(3)
fxch st(2)
fst qword [esp + 8]
fxch st(3)
fmul qword [0x425060]
fld qword [0x425070]
fmul st(4), st(0)
fmulp st(2)
fxch st(1)
fdivrp st(2)
fld st(2)
fadd st(1)
fmul st(2)
fmulp st(2)
fxch st(1)
fst qword [esp + 0x28]
fxch st(1)
fsubrp st(2)
fxch st(1)
fstp qword [esp + 0x10]
call fcn.00410480
fstp qword [esp + 0x20]
fld qword [esp + 0x10]
call fcn.00410130
fsubr qword [esp + 0x20]
fstp qword [esp + 0x30]
fld qword [esp + 0x10]
call fcn.00410480
fstp qword [esp + 0x20]
fld qword [esp + 0x28]
call fcn.00410130
fsubr qword [esp + 0x20]
fdivr qword [esp + 0x30]
sub esp, 8
fstp qword [esp]
call fcn.00408620
fstp qword [0x436bf0]
sub esp, 0x10
fld qword [0x436250]
fstp qword [esp + 0x10]
fld qword [0x4378a0]
fstp qword [esp + 8]
fld qword [esp + 0x20]
fstp qword [esp]
push 1
call fcn.0040ad10
fstp qword [esp + 0x4c]
fld qword [0x436250]
add esp, 4
fstp qword [esp + 0x10]
fld qword [0x4378a0]
fstp qword [esp + 8]
fld qword [esp + 0x20]
fstp qword [esp]
push 2
call fcn.0040ad10
fld qword [esp + 0x4c]
fst qword [0x437948]
add esp, 0x1c
fxch st(1)
fst qword [0x4378e8]
fld qword [0x4372c8]
fst qword [0x437968]
fld qword [0x425d78]
fld qword [0x437370]
fcom st(1)
fnstsw ax
fsubp st(1)
test ah, 0x41
fadd st(0), st(0)
fdiv qword [0x424f70]
jp 0x40dd17
fadd qword [0x4373e0]
jmp 0x40dd1d
fsubr qword [0x4373e0]
cmp dword [0x43706c], 0
fxch st(2)
fmul qword [0x4252d0]
fmulp st(1)
fld qword [0x4378a0]
fmul st(1), st(0)
fmul st(1), st(0)
fmul st(1), st(0)
fxch st(3)
fmul qword [0x425d70]
fmulp st(2)
fxch st(1)
fmul st(2)
fmulp st(2)
faddp st(1)
fld qword [0x4360b8]
fmul qword [0x436bd8]
fmul qword [0x436bf0]
fmulp st(1)
fadd qword [esp + 0x38]
fst qword [0x4378f8]
fld qword [0x435c18]
fmul qword [esp + 0x18]
fst qword [0x4378d0]
je 0x40dd96
fstp st(1)
push 1
fstp st(0)
call fcn.0040e080
fld qword [0x4378f8]
add esp, 4
fld qword [0x4378d0]
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x40ddcd
cmp dword [0x437208], 1
jne 0x40ddc7
push 0x40
fstp st(1)
push 0x425324
fstp st(0)
push 0x425d58
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 1
call fcn.0040e6ae
fsubrp st(1)
mov esp, ebp
pop ebp
ret
fstp st(1)
fstp st(0)
fldz
mov esp, ebp
pop ebp
ret