Function at 0x40a350
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0xc0
fld qword [0x437778]
mov eax, dword [0x4374dc]
cmp eax, 3
fstp qword [esp + 0x38]
fld qword [0x437768]
fstp qword [esp + 0x48]
fld qword [0x437790]
fstp qword [esp + 0x68]
fld qword [0x4377a0]
fstp qword [esp + 0x58]
fld qword [0x437780]
fstp qword [esp + 0x40]
fld qword [0x4374c8]
fld qword [0x437398]
fst qword [esp + 0xa8]
fld qword [0x4373c8]
fld qword [0x4375e0]
fst qword [esp + 0x70]
fld qword [0x4373d8]
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 [0x4374c0]
fmul st(3)
fdiv st(5)
fst qword [esp + 0xa0]
fld qword [0x437400]
fmulp st(4)
fxch st(3)
fdiv st(5)
fst qword [esp + 0x98]
fld qword [0x424ff0]
fst qword [0x437128]
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 [0x435f98]
fdiv st(1), st(0)
je 0x40a457
cmp eax, 6
jne 0x40a4f6
cmp dword [0x4377e8], 0
fstp st(1)
fld qword [0x437830]
fld qword [esp + 0x38]
fmul st(1)
fstp qword [esp + 0x80]
fld qword [esp + 0x48]
fmul st(1)
fst qword [esp + 0x90]
jne 0x40a4a3
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 0x40a4bf
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 0x40a500
fstp st(0)
jmp 0x40a502
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.0040ffa0
fld qword [0x425058]
fcom st(1)
add esp, 8
fnstsw ax
test ah, 0x41
jne 0x40a539
fstp st(1)
jmp 0x40a53b
fstp st(0)
fmul qword [0x425060]
sub esp, 8
fadd qword [0x424300]
fstp qword [esp]
call fcn.0040ffa0
mov ecx, dword [0x4374dc]
fst qword [esp + 0x48]
mov edx, dword [0x4377e8]
fst qword [esp + 0x58]
fld qword [0x424300]
add esp, 8
cmp ecx, 3
fsubr st(1)
fmul qword [0x424608]
fst qword [esp + 0x58]
je 0x40a5d1
cmp ecx, 6
je 0x40a5d1
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 [0x437128]
fmul st(1), st(0)
fxch st(1)
fdiv qword [0x435f98]
fst qword [0x437120]
jmp 0x40a6b4
test edx, edx
jne 0x40a61d
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 [0x437128]
fmul st(1), st(0)
fld qword [0x435f98]
fdiv st(2), st(0)
fxch st(2)
fst qword [0x437120]
jmp 0x40a673
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 [0x437128]
fmul st(1), st(0)
fld qword [0x435f98]
fdiv st(2), st(0)
fxch st(2)
fst qword [0x437120]
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 0x40a6aa
fstp st(0)
fxch st(1)
fst qword [0x437120]
fxch st(2)
fxch st(3)
fxch st(2)
jmp 0x40a6b4
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 [0x4370e0]
fcomp st(3)
fnstsw ax
test ah, 5
jp 0x40a778
fstp st(1)
jmp 0x40a6eb
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 [0x4370e0]
fcomp st(3)
fnstsw ax
test ah, 1
je 0x40a729
fld qword [0x4370e0]
fcomp st(3)
fnstsw ax
test ah, 5
jnp 0x40a6e7
fstp st(2)
fst qword [esp + 0x40]
fxch st(5)
fxch st(1)
cmp ecx, 3
je 0x40a77c
cmp ecx, 6
je 0x40a77c
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 [0x435f98]
fst qword [0x4370d8]
jmp 0x40a836
fstp st(2)
jmp 0x40a733
test edx, edx
fstp st(0)
jne 0x40a7a2
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 0x40a7cb
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 [0x435f98]
fst qword [0x4370d8]
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 [0x435f98]
fcom st(3)
fnstsw ax
test ah, 5
jnp 0x40a822
fstp st(3)
fxch st(2)
fst qword [0x4370d8]
fld qword [0x425060]
fld qword [esp + 0x50]
fxch st(4)
fxch st(1)
fxch st(2)
jmp 0x40a836
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 [0x4370d0]
fcomp st(2)
fnstsw ax
test ah, 5
jnp 0x40a939
fstp st(1)
fxch st(4)
fcom st(5)
fnstsw ax
test ah, 0x41
jne 0x40a972
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 [0x4363e8]
fmul qword [0x425040]
fdiv qword [0x435f98]
fmulp st(1)
fst qword [esp + 0x38]
fld qword [0x435400]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
je 0x40a8da
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 0x40a979
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.0040d760
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 0x40a989
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 [0x4370d0]
fcomp st(2)
fnstsw ax
test ah, 1
je 0x40a96b
fld qword [0x4370d0]
fcomp st(2)
fnstsw ax
test ah, 5
jnp 0x40a937
fstp st(1)
jmp 0x40a861
fstp st(0)
jmp 0x40a878
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 [0x4370e8]
faddp st(3)
fxch st(2)
fst qword [0x437130]
fld qword [0x425038]
fcomp st(4)
fnstsw ax
test ah, 1
jne 0x40a9b2
fld qword [0x425030]
jmp 0x40a9b8
fld qword [0x425058]
fstp qword [0x437100]
fld qword [esp + 0xa8]
fmul qword [0x424370]
fld qword [0x425028]
fcomp st(1)
fnstsw ax
test ah, 0x41
jp 0x40a9e6
fld qword [0x425058]
fstp qword [0x437100]
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 [0x4370d0]
fstp qword [0x4370e0]
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 [0x437108]
fsubrp st(1)
fld st(0)
fld qword [0x425020]
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x40aa68
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 [0x437208], 0
je 0x40aaaa
fcom st(2)
fnstsw ax
fstp st(2)
test ah, 0x41
jne 0x40aa9f
fstp st(2)
fstp st(1)
push 0x40
fstp st(0)
push 0x424c8c
fstp st(0)
push 0x425008
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 1
call fcn.0040e6ae
fcompp
fnstsw ax
test ah, 5
jp 0x40aab0
jmp 0x40aa80
fstp st(2)
fstp st(0)
fstp st(0)
cmp dword [0x43706c], 0
fst qword [0x437118]
fst qword [0x4370f0]
fstp qword [0x437110]
fstp qword [0x4370f8]
je 0x40aadf
cmp dword [0x437718], 0
je 0x40aadf
call fcn.0040aaf0
fld qword [0x4370e0]
mov esp, ebp
pop ebp
ret