Function at 0x40a300
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0xc0
fld qword [0x437770]
mov eax, dword [0x4374d4]
cmp eax, 3
fstp qword [esp + 0x38]
fld qword [0x437760]
fstp qword [esp + 0x48]
fld qword [0x437788]
fstp qword [esp + 0x68]
fld qword [0x437798]
fstp qword [esp + 0x58]
fld qword [0x437778]
fstp qword [esp + 0x40]
fld qword [0x4374c0]
fld qword [0x437390]
fst qword [esp + 0xa8]
fld qword [0x4373c0]
fld qword [0x4375d8]
fst qword [esp + 0x70]
fld qword [0x4373d0]
fld qword [0x424370]
fdiv st(1), st(0)
fld qword [0x4242f8]
fmul st(2), st(0)
fxch st(2)
fst qword [esp + 0xb8]
fsubp st(5)
fdiv st(2), st(0)
fxch st(4)
fsubrp st(2)
fxch st(1)
fst qword [esp + 0x78]
fld qword [0x4374b8]
fmul st(3)
fdiv st(5)
fst qword [esp + 0xa0]
fld qword [0x4373f8]
fmulp st(4)
fxch st(3)
fdiv st(5)
fst qword [esp + 0x98]
fld qword [0x424ff0]
fst qword [0x437120]
fxch st(4)
fdiv st(2)
fst qword [esp + 0x60]
fxch st(1)
fdiv st(2)
fst qword [esp + 0xb0]
fxch st(1)
fadd qword [0x425070]
faddp st(1)
fxch st(5)
fmul st(2)
fmul st(4)
fst qword [esp + 0x88]
fmul st(5)
fmul st(3)
fld qword [0x435f90]
fdiv st(1), st(0)
je 0x40a407
cmp eax, 6
jne 0x40a4a6
cmp dword [0x4377e0], 0
fstp st(1)
fld qword [0x437828]
fld qword [esp + 0x38]
fmul st(1)
fstp qword [esp + 0x80]
fld qword [esp + 0x48]
fmul st(1)
fst qword [esp + 0x90]
jne 0x40a453
fstp st(6)
fstp st(3)
fstp st(5)
fdiv st(3), st(0)
fld qword [esp + 0x80]
fdiv st(1)
faddp st(4)
fxch st(3)
fmul qword [0x425068]
fmul st(2)
fdiv st(4)
jmp 0x40a46f
fstp st(0)
fld qword [esp + 0x68]
fmulp st(4)
fxch st(3)
fmulp st(5)
fxch st(4)
fmulp st(5)
fxch st(4)
fmul st(2)
fdiv st(3)
fxch st(3)
fxch st(4)
fxch st(3)
fld st(1)
fmul qword [esp + 0x58]
fst qword [esp + 0x38]
fxch st(2)
fmul qword [esp + 0x40]
fst qword [esp + 0x48]
fdiv st(4)
fxch st(2)
fdivrp st(4)
fxch st(1)
faddp st(3)
fxch st(2)
fmul qword [0x425068]
fmulp st(1)
fdivrp st(2)
fcom st(1)
fnstsw ax
test ah, 0x41
je 0x40a4b0
fstp st(0)
jmp 0x40a4b2
fstp st(2)
fstp st(4)
fstp st(2)
fstp st(0)
fstp st(2)
fstp st(1)
fld qword [str._DT]
sub esp, 8
fld qword [esp + 0x78]
fmul st(1), st(0)
fmulp st(1)
fmul qword [0x425060]
fdivp st(1)
fstp qword [esp]
call fcn.0040ff10
fld qword [0x425058]
fcom st(1)
add esp, 8
fnstsw ax
test ah, 0x41
jne 0x40a4e9
fstp st(1)
jmp 0x40a4eb
fstp st(0)
fmul qword [0x425060]
sub esp, 8
fadd qword [0x424300]
fstp qword [esp]
call fcn.0040ff10
mov ecx, dword [0x4374d4]
fst qword [esp + 0x48]
mov edx, dword [0x4377e0]
fst qword [esp + 0x58]
fld qword [0x424300]
add esp, 8
cmp ecx, 3
fsubr st(1)
fmul qword [0x424608]
fst qword [esp + 0x58]
je 0x40a581
cmp ecx, 6
je 0x40a581
fld qword [esp + 0xa0]
fld qword [0x4242f8]
fmul st(1), st(0)
fxch st(1)
fdiv st(3)
fld qword [esp + 0x78]
fdiv st(1), st(0)
fld st(4)
fdivrp st(4)
fxch st(1)
faddp st(3)
fxch st(2)
fadd qword [esp + 0xb0]
fmul qword [esp + 0x88]
fld qword [0x437120]
fmul st(1), st(0)
fxch st(1)
fdiv qword [0x435f90]
fst qword [0x437118]
jmp 0x40a664
test edx, edx
jne 0x40a5cd
fstp st(0)
fld qword [esp + 0x80]
fld qword [0x4242f8]
fmul st(1), st(0)
fxch st(1)
fdiv st(2)
fld qword [esp + 0x78]
fdiv st(1), st(0)
fld qword [esp + 0x90]
fdiv st(1)
faddp st(2)
fxch st(1)
fmul qword [0x425068]
fld qword [0x437120]
fmul st(1), st(0)
fld qword [0x435f90]
fdiv st(2), st(0)
fxch st(2)
fst qword [0x437118]
jmp 0x40a623
fld qword [esp + 0xa0]
fld qword [0x4242f8]
fmul st(1), st(0)
fxch st(1)
fdiv st(3)
fld qword [esp + 0x78]
fdiv st(1), st(0)
fld st(4)
fdivrp st(4)
fxch st(1)
faddp st(3)
fxch st(2)
fadd qword [esp + 0xb0]
fld qword [esp + 0x68]
fmul st(2)
fmul qword [0x424370]
fmulp st(1)
fld qword [0x437120]
fmul st(1), st(0)
fld qword [0x435f90]
fdiv st(2), st(0)
fxch st(2)
fst qword [0x437118]
fxch st(3)
fxch st(4)
fxch st(3)
fld qword [esp + 0x38]
fmul st(5)
fdiv st(6)
fdiv st(4)
fld qword [esp + 0x48]
fdiv st(5)
faddp st(1)
fmul qword [0x425068]
fmul st(2)
fdivrp st(3)
fcom st(2)
fnstsw ax
test ah, 0x41
je 0x40a65a
fstp st(0)
fxch st(1)
fst qword [0x437118]
fxch st(2)
fxch st(3)
fxch st(2)
jmp 0x40a664
fstp st(2)
fxch st(2)
fxch st(3)
fxch st(2)
fxch st(1)
fld st(4)
fmul st(3)
fmul qword [str._DT]
fld qword [esp + 0x70]
fmul st(1), st(0)
fmul st(1), st(0)
fld qword [0x425060]
fmul st(2), st(0)
fxch st(2)
fst qword [0x4370d8]
fcomp st(3)
fnstsw ax
test ah, 5
jp 0x40a728
fstp st(1)
jmp 0x40a69b
fstp st(0)
fxch st(5)
fxch st(5)
fadd qword [0x424300]
fld st(0)
fmul st(4)
fmul qword [str._DT]
fmul st(6)
fmul st(6)
fld qword [0x425060]
fmul st(1), st(0)
fxch st(1)
fst qword [0x4370d8]
fcomp st(3)
fnstsw ax
test ah, 1
je 0x40a6d9
fld qword [0x4370d8]
fcomp st(3)
fnstsw ax
test ah, 5
jnp 0x40a697
fstp st(2)
fst qword [esp + 0x40]
fxch st(5)
fxch st(1)
cmp ecx, 3
je 0x40a72c
cmp ecx, 6
je 0x40a72c
fld qword [esp + 0x98]
fmul st(4)
fdiv st(6)
fdivrp st(5)
fld qword [esp + 0x50]
fld qword [esp + 0x58]
fdivr st(1)
faddp st(6)
fxch st(5)
fadd qword [esp + 0x60]
fmul qword [esp + 0x88]
fmulp st(3)
fxch st(2)
fdiv qword [0x435f90]
fst qword [0x4370d0]
jmp 0x40a7e6
fstp st(2)
jmp 0x40a6e3
test edx, edx
fstp st(0)
jne 0x40a752
fld qword [esp + 0x90]
fmul st(3)
fdiv st(5)
fdiv st(4)
fld qword [esp + 0x80]
fdiv st(5)
faddp st(1)
fmul qword [0x425068]
jmp 0x40a77b
fld qword [esp + 0x98]
fmul st(3)
fdiv st(5)
fdiv st(4)
fld qword [esp + 0x50]
fdiv qword [esp + 0x58]
faddp st(1)
fadd qword [esp + 0x60]
fld qword [esp + 0x68]
fmul st(4)
fmul qword [0x424370]
fmulp st(1)
fmul st(2)
fdiv qword [0x435f90]
fst qword [0x4370d0]
fld qword [esp + 0x48]
fmul st(4)
fdiv st(6)
fdiv st(5)
fld qword [esp + 0x38]
fdivrp st(6)
faddp st(5)
fxch st(4)
fmul qword [0x425068]
fmulp st(2)
fxch st(1)
fdiv qword [0x435f90]
fcom st(3)
fnstsw ax
test ah, 5
jnp 0x40a7d2
fstp st(3)
fxch st(2)
fst qword [0x4370d0]
fld qword [0x425060]
fld qword [esp + 0x50]
fxch st(4)
fxch st(1)
fxch st(2)
jmp 0x40a7e6
fstp st(0)
fld qword [0x425060]
fld qword [esp + 0x50]
fxch st(4)
fxch st(1)
fxch st(2)
fxch st(1)
fld st(4)
fmul st(4)
fld qword [str._DT]
fmul st(1), st(0)
fxch st(1)
fmul st(3)
fmul st(3)
fmul st(4)
fst qword [0x4370c8]
fcomp st(2)
fnstsw ax
test ah, 5
jnp 0x40a8e9
fstp st(1)
fxch st(4)
fcom st(5)
fnstsw ax
test ah, 0x41
jne 0x40a922
fstp st(5)
fxch st(4)
fst qword [esp + 0x40]
fxch st(4)
fld qword [esp + 0xa8]
fmul st(0), st(0)
fst qword [esp + 0x60]
fld st(5)
fmul st(2)
fmul st(2)
fmul st(5)
fmul st(3)
fdiv st(1)
fdiv qword [0x425050]
fld qword [0x425048]
fmul st(1), st(0)
fxch st(1)
fstp qword [esp + 0x48]
fld qword [0x4363e0]
fmul qword [0x425040]
fdiv qword [0x435f90]
fmulp st(1)
fst qword [esp + 0x38]
fld qword [0x435400]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
je 0x40a88a
fstp st(0)
fld qword [esp + 0x38]
fst qword [0x435400]
fldz
fstp qword [esp + 0x38]
fcomp qword [esp + 0x48]
fnstsw ax
test ah, 0x41
jne 0x40a929
fstp st(3)
sub esp, 0x20
fstp st(3)
fstp st(0)
fstp qword [esp + 0x18]
fxch st(1)
fstp qword [esp + 0x10]
fstp qword [esp + 8]
fld qword [0x435400]
fstp qword [esp]
call fcn.0040d6f0
fld qword [str._DT]
add esp, 0x20
fld qword [esp + 0x70]
fld qword [esp + 0x40]
fld qword [0x4242f8]
fld qword [0x425060]
fld qword [esp + 0x60]
jmp 0x40a939
fxch st(5)
fxch st(5)
fadd qword [0x424300]
fld st(0)
fmul st(5)
fmul st(6)
fmul st(3)
fmul st(3)
fmul st(4)
fst qword [0x4370c8]
fcomp st(2)
fnstsw ax
test ah, 1
je 0x40a91b
fld qword [0x4370c8]
fcomp st(2)
fnstsw ax
test ah, 5
jnp 0x40a8e7
fstp st(1)
jmp 0x40a811
fstp st(0)
jmp 0x40a828
fld qword [esp + 0x38]
fxch st(6)
fxch st(2)
fxch st(4)
fxch st(2)
fxch st(3)
fxch st(1)
fxch st(6)
fst qword [0x4370e0]
faddp st(3)
fxch st(2)
fst qword [0x437128]
fld qword [0x425038]
fcomp st(4)
fnstsw ax
test ah, 1
jne 0x40a962
fld qword [0x425030]
jmp 0x40a968
fld qword [0x425058]
fstp qword [0x4370f8]
fld qword [esp + 0xa8]
fmul qword [0x424370]
fld qword [0x425028]
fcomp st(1)
fnstsw ax
test ah, 0x41
jp 0x40a996
fld qword [0x425058]
fstp qword [0x4370f8]
fld st(1)
fmul st(5)
fmul st(5)
fmul st(6)
fmul st(4)
fdivrp st(7)
fxch st(6)
fdiv qword [0x425050]
fmul qword [0x425048]
fld st(1)
fmulp st(3)
fxch st(2)
fmulp st(5)
fxch st(4)
fmul st(3)
fmul st(3)
fmulp st(2)
fxch st(1)
fst qword [0x4370c8]
fstp qword [0x4370d8]
fld qword [esp + 0xb8]
fmul qword [0x424370]
fadd st(2)
fsubp st(4)
fld st(2)
fsub qword [0x424300]
fdivp st(4)
fxch st(3)
fst qword [0x437100]
fsubrp st(1)
fld st(0)
fld qword [0x425020]
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x40aa18
fstp st(2)
fstp st(2)
fstp st(1)
fstp st(0)
fstp st(0)
fld qword [0x425018]
mov esp, ebp
pop ebp
ret
cmp dword [0x437200], 0
je 0x40aa5a
fcom st(2)
fnstsw ax
fstp st(2)
test ah, 0x41
jne 0x40aa4f
fstp st(2)
fstp st(1)
push 0x40
fstp st(0)
push 0x424c88
fstp st(0)
push 0x425008
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 1
call fcn.0040e61c
fcompp
fnstsw ax
test ah, 5
jp 0x40aa60
jmp 0x40aa30
fstp st(2)
fstp st(0)
fstp st(0)
cmp dword [0x437064], 0
fst qword [0x437110]
fst qword [0x4370e8]
fstp qword [0x437108]
fstp qword [0x4370f0]
je 0x40aa8f
cmp dword [0x437710], 0
je 0x40aa8f
call fcn.0040aaa0
fld qword [0x4370d8]
mov esp, ebp
pop ebp
ret