Function at 0x1000a930
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10084780
push 0x1006b88c
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x10087400]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov edi, ecx
wait
mov dword [ebp - 4], 0
mov eax, dword [0x10089500]
cmp dword [eax], 0
je 0x1000acec
xor esi, esi
mov ebx, dword [ebp - 0x34]
mov dword [ebp - 0x3c], esi
cmp esi, 0xf
jg 0x1000aba8
mov ecx, esi
call fcn.100082e0
cmp eax, 1
jl 0x1000aba2
mov eax, dword [0x1008ab60]
cmp dword [eax], 4
je 0x1000aba2
mov ecx, dword [0x10089230]
sub ecx, dword [0x1008a84c]
add ecx, dword [0x1008a97c]
mov eax, dword [0x1008aa10]
mov ecx, dword [ecx + eax]
mov eax, esi
and eax, reloc.WS2_32.dll_accept
jns 0x1000a9d7
dec eax
or eax, 0xfffffffe
add eax, 1
sete al
not cl
and cl, 1
cmp al, cl
je 0x1000ab99
cmp dword [0x10089414], 0
je 0x1000aa6f
mov ecx, esi
call fcn.100082e0
mov dword [ebp - 0x38], eax
push str.Head
mov edx, esi
lea ecx, [ebp - 0x48]
call fcn.10008370
add esp, 4
test al, al
je 0x1000aa6f
movss xmm1, dword [ebp - 0x44]
addss xmm1, dword [0x10083690]
movss xmm2, dword [ebp - 0x48]
movss dword [ebp - 0x54], xmm2
movss dword [ebp - 0x50], xmm1
movss xmm0, dword [ebp - 0x40]
movss dword [ebp - 0x4c], xmm0
sub esp, 0xc
mov ecx, esp
unpcklps xmm2, xmm1
movq qword [ecx], xmm2
mov eax, dword [ebp - 0x4c]
mov dword [ecx + 8], eax
lea ecx, [ebp - 0x78]
call fcn.10008490
add esp, 0xc
test al, al
je 0x1000aa6f
movd xmm0, dword [ebp - 0x38]
cvtdq2ps xmm0, xmm0
push ecx
movss dword [esp], xmm0
mov ecx, esi
call fcn.10009280
add esp, 4
cmp dword [0x10089130], 1
jne 0x1000aad2
push str.Head
mov edx, esi
lea ecx, [ebp - 0x60]
call fcn.10008370
sub esp, 8
mov ecx, esp
movq xmm0, qword [ebp - 0x60]
movq qword [ecx], xmm0
mov eax, dword [ebp - 0x58]
mov dword [ecx + 8], eax
lea ecx, [ebp - 0x6c]
call fcn.10008490
add esp, 0xc
test al, al
je 0x1000aad2
movss xmm1, dword [ebp - 0x68]
movss xmm0, dword [0x100836e8]
subss xmm1, xmm0
mov edx, edi
mov ecx, 0xffff0000
movaps xmm3, xmm0
movaps xmm2, xmm0
movss xmm0, dword [ebp - 0x6c]
call fcn.10008740
cmp dword [0x10089514], 1
jne 0x1000aae6
push ecx
mov ecx, esi
call fcn.10009f00
add esp, 4
cmp dword [0x100892e8], 1
jne 0x1000aafa
push edi
mov ecx, esi
call fcn.10009610
add esp, 4
cmp dword [0x10089258], 1
jne 0x1000ab0e
push edi
mov ecx, esi
call fcn.10009e30
add esp, 4
cmp dword [0x100891c8], 1
jne 0x1000ab7c
mov ecx, esi
call fcn.100082e0
cmp eax, 0x6e
mov ecx, 0xff96ff00
cmovge ebx, ecx
mov dword [ebp - 0x34], ebx
mov ecx, 0xff00ff00
cmovl ebx, ecx
mov dword [ebp - 0x34], ebx
cmp eax, 0x5a
mov ecx, 0xff00f7ff
cmovle ebx, ecx
mov dword [ebp - 0x34], ebx
cmp eax, 0x46
mov ecx, 0xffff7200
cmovle ebx, ecx
mov dword [ebp - 0x34], ebx
cmp eax, 0x32
mov ecx, 0xffffff00
cmovle ebx, ecx
mov dword [ebp - 0x34], ebx
cmp eax, 0x19
mov eax, 0xffd61e1e
cmovle ebx, eax
mov dword [ebp - 0x34], ebx
push edi
mov edx, ebx
mov ecx, esi
call fcn.100089c0
add esp, 4
cmp dword [0x10089184], 0
je 0x1000ab99
push edi
mov ecx, esi
call fcn.100082e0
mov edx, eax
mov ecx, esi
call fcn.10009430
add esp, 4
mov edx, esi
mov ecx, edi
call fcn.10010720
inc esi
jmp 0x1000a983
cmp dword [0x1008930c], 0
je 0x1000ac0c
mov eax, dword [0x10089294]
shr eax, 1
sub eax, 2
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10083790]
cvtpd2ps xmm1, xmm0
mov eax, dword [0x10089290]
shr eax, 1
sub eax, 2
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10083790]
cvtpd2ps xmm0, xmm0
mov edx, edi
mov ecx, 0xff00ff00
movss xmm2, dword [0x100836f0]
movaps xmm3, xmm2
call fcn.10008740
cmp byte [0x10089221], 0
je 0x1000ac1e
push ecx
call fcn.10009cd0
add esp, 4
mov dword [ebp - 0x30], 0x14
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_GetCursorInfo]
cmp dword [0x10089188], 0
je 0x1000ac5c
cmp byte [0x100890c2], 0
jne 0x1000ac81
push 1
mov edx, 0x1007dc44
mov ecx, dword [0x1008a950]
call fcn.10005380
mov byte [0x100890c2], 1
jmp 0x1000ac7e
cmp byte [0x100890c2], 1
jne 0x1000ac81
push 1
mov edx, 0x1007e9b8
mov ecx, dword [0x1008a950]
call fcn.10005380
mov byte [0x100890c2], 0
add esp, 4
mov eax, dword [0x10089500]
cmp dword [eax], 0
je 0x1000acec
mov eax, dword [0x100892ac]
dec eax
neg eax
sbb eax, eax
add eax, 2
mov dword [0x100888e0], eax
cmp dword [ebp - 0x2c], 0
jne 0x1000acec
mov ecx, dword [0x10089230]
sub ecx, dword [0x1008a84c]
add ecx, dword [0x1008a97c]
mov eax, dword [0x1008aa10]
mov ecx, dword [ecx + eax]
call fcn.100082e0
test eax, eax
jle 0x1000acec
call fcn.10008440
cmp eax, 2
jge 0x1000acec
call fcn.1000af60
push ecx
mov ecx, eax
call fcn.10009740
call fcn.1000ae00
mov ecx, eax
call fcn.10009960
add esp, 4
cmp dword [0x10089460], 0
je 0x1000ad2c
cmp byte [0x10089307], 0
je 0x1000ad0a
push 0x1007eb14
push 0xff00ff00
jmp 0x1000ad14
push 0x1007eb18
push 0xffffff00
push 0x1c2
push 0x12c
push dword [0x100893bc]
call fcn.100087a0
add esp, 0x14
mov ecx, edi
call fcn.1000a190
cmp dword [0x100896b0], 0
je 0x1000ad55
mov edx, 1
lea ecx, [edx + 0x22]
call fcn.1000b150
test eax, eax
je 0x1000ad55
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_ExitProcess]
wait
jmp 0x1000ad61
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.1006b8bb
mov esp, ebp
pop ebp
ret