Function at 0x82ae2c
Capabilities:
Terminate process

Disassembly:
push ebp
sub esp, 0x10
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov ebp, dword [esp + 0x28]
mov dword [0xaf0340], edx
mov dword [0xaf0344], ecx
mov dword [0xaf0348], ebp
test dl, 0x10
je 0x82ae6f
mov ecx, dword [esp + 0x1c]
mov dword [esp], ecx
fild dword [esp]
fst dword [0xaf02e8]
mov dword [0xaf0350], ecx
jmp 0x82ae89
mov ecx, dword [esp + 0x1c]
sar ecx, 1
mov dword [esp + 8], ecx
fild dword [esp + 8]
mov dword [0xaf0350], ecx
fst dword [0xaf02e8]
test dl, 0x20
je 0x82aea3
mov dword [esp + 8], eax
fild dword [esp + 8]
fst dword [0xaf02ec]
mov dword [0xaf0354], eax
jmp 0x82aeba
mov dword [0xaf0354], eax
mov edx, eax
sar edx, 1
mov dword [esp + 8], edx
fild dword [esp + 8]
fst dword [0xaf02ec]
fxch st(1)
fdiv dword [0x98a160]
fxch st(1)
fdiv dword [0x98a15c]
fxch st(1)
fstp dword [0xaf0358]
fstp dword [0xaf035c]
push 0xc77fff00
push 0xbf800000
call fcn.0083ac80
add esp, 8
mov edx, dword [esp + 0x2c]
mov ecx, ebp
call fcn.00838ca0
test eax, eax
jne 0x82afc6
mov eax, dword [0xaf0344]
test eax, eax
jne 0x82af69
mov ecx, 2
mov edx, 0x98a17c
call fcn.0083bf84
mov ecx, 2
mov edx, 0x8f8814
call fcn.0083bf84
mov edx, dword [esp + 0x2c]
mov dword [0xaf0344], 1
mov ecx, ebp
call fcn.00838ca0
test eax, eax
jne 0x82afc6
mov ecx, 2
mov edx, 0x98a1a8
call fcn.0083bf84
mov ecx, 2
mov edx, 0x8f8814
call fcn.0083bf84
push 1
call dword [sym.imp.kernel32.dll_ExitProcess]
mov ecx, 2
mov edx, 0x98a1d4
call fcn.0083bf84
mov ecx, 2
mov edx, 0x8f8814
call fcn.0083bf84
mov edx, dword [esp + 0x2c]
mov dword [0xaf0344], 5
mov ecx, ebp
call fcn.00838ca0
test eax, eax
jne 0x82afc6
mov ecx, 2
mov edx, 0x98a200
call fcn.0083bf84
mov ecx, 2
mov edx, 0x8f8814
call fcn.0083bf84
push 1
call dword [sym.imp.kernel32.dll_ExitProcess]
fld dword [0x98a150]
fld dword [0xaf02e8]
fld dword [0x98a154]
fld dword [0xaf02ec]
fld dword [0x98a154]
fxch st(1)
fadd st(2), st(0)
fxch st(2)
fst dword [0xaf033c]
fxch st(1)
fadd st(3)
fst dword [0xaf0338]
mov dword [0xacb9f8], 2
mov dword [0xaf0330], 0
fld dword [0xaf0330]
fcom st(5)
fnstsw ax
sahf
fxch st(5)
ja 0x82b01f
fst st(5)
fxch st(5)
fstp dword [0xaf0330]
mov dword [0xaf0334], 0
fld dword [0xaf0334]
fcom st(5)
fnstsw ax
sahf
fxch st(4)
fcomp st(1)
fnstsw ax
fxch st(4)
ja 0x82b048
fst st(3)
fstp st(0)
fxch st(2)
fstp dword [0xaf0334]
sahf
ja 0x82b05f
fxch st(2)
fst dword [0xaf0338]
fxch st(2)
fstp st(2)
fxch st(1)
fcomp dword [0xaf033c]
fnstsw ax
sahf
ja 0x82b074
fst dword [0xaf033c]
fstp st(0)
mov dword [0xacb9f0], 8
xor ecx, ecx
mov edx, 8
call fcn.00837468
mov dword [0xacb9f4], 6
mov ecx, 1
mov edx, 6
call fcn.00837468
push 0
push 0xffffffffffffffff
call fcn.0082d6fc
add esp, 8
call fcn.0082d7a4
mov edx, dword [0xaf02e8]
mov ecx, dword [0xaf02ec]
mov dword [0xacb9fc], 0xacba0c
xor eax, eax
mov dword [0xacba00], 0xacb9e0
mov dword [0xacb9e0], eax
mov dword [0xacb9e4], eax
mov dword [0xacba08], 4
mov dword [0xacb9e8], eax
mov dword [0xacba0c], 0
mov dword [0xacb9ec], eax
mov dword [0xacba10], 0
mov dword [0xacba14], edx
mov dword [0xacba18], 0
mov dword [0xacba1c], edx
mov dword [0xacba24], 0
mov dword [0xacba20], ecx
mov dword [0xacba28], ecx
add esp, 0x10
pop ebp
ret