Function at 0x100186b0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008533d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
movss xmm0, dword [ebp + 0xc]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 8]
push ecx
mov ecx, dword [0x100a5fa4]
movss dword [esp], xmm0
push edi
call dword [0x100a5f44]
mov eax, 0x1b4e81b5
mov esi, edi
imul edi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x100a5fb4]
imul eax, eax, 0x96
sub esi, eax
mov eax, dword [edx + 0xec]
imul ecx, esi, 0x64
add eax, ecx
imul ecx, esi, 0x68
mov dword [0x100a5e14], eax
add ecx, dword [edx + 0xf0]
mov dword [ebp - 0x14], ecx
test eax, eax
je 0x10018ee3
cmp dword [eax + 4], 0
je 0x10018ee3
test ecx, ecx
je 0x10018ee3
mov ecx, edi
call fcn.1005c410
mov ecx, dword [0x100a5e14]
and eax, 0x7fffffff
movq xmm0, qword [ecx + 0xc]
mov dword [ecx + 0x40], eax
mov eax, dword [ebp + 0x14]
mov al, byte [eax]
mov byte [0x100a5ed0], al
movq qword [0x100a2ed0], xmm0
mov eax, dword [ecx + 0x14]
mov ecx, dword [0x100a5fc4]
mov dword [0x100a2ed8], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
test eax, eax
je 0x100187b3
mov ecx, dword [0x100a5fc4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
push 0
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x24]
mov dword [ebp + 0x10], ecx
mov ecx, eax
call dword [ebp + 0x10]
fstp dword [ebp + 0x10]
movss xmm0, dword [ebp + 0x10]
jmp 0x100187b6
xorps xmm0, xmm0
mov eax, dword [0x100a5250]
mov ecx, dword fs:[0x2c]
movss dword [0x100a5ed4], xmm0
mov ecx, dword [ecx + eax*4]
mov eax, dword [0x1010a5ec]
cmp eax, dword [ecx + 4]
jg 0x10018ef5
mov ecx, dword [0x1010a5e0]
mov eax, dword [ecx + 0x1c]
mov eax, dword [eax + 0x30]
xor eax, ecx
jne 0x100187f7
mov eax, dword [ecx]
push 1
mov eax, dword [eax + 0x40]
call eax
cmp byte [0x10093db6], 0
je 0x1001890f
mov edx, dword [0x100a5fcc]
test edx, edx
je 0x1001892c
mov edx, dword [edx + 0x9c]
test edx, edx
je 0x1001892c
mov ecx, dword [0x100a600c]
test ecx, ecx
jne 0x10018833
mov ecx, dword [edx + 0x1c]
mov dword [0x100a600c], ecx
mov esi, dword [edx + 0x1c]
cmp esi, ecx
jle 0x100188e3
mov eax, dword [0x100a5fbc]
mov dword [edx + 0x1c], esi
mov dword [ebp - 0x1c], esi
movss xmm0, dword [eax]
mov eax, dword [edx + 0x28]
mov edx, dword [0x100a6018]
mov dword [ebp - 0x20], eax
mov eax, dword [0x100a6020]
inc eax
movss dword [ebp - 0x18], xmm0
cmp edx, eax
ja 0x10018874
push ecx
call fcn.1000b320
mov edx, dword [0x100a6018]
lea ecx, [edx - 1]
mov edi, edx
and ecx, dword [0x100a601c]
lea esi, [edx - 1]
mov dword [0x100a601c], ecx
cmovne edi, ecx
mov ecx, dword [0x100a6014]
dec edi
and esi, edi
cmp dword [ecx + esi*4], 0
jne 0x100188b9
push 0xc
call fcn.1005d472
mov ecx, dword [0x100a6014]
add esp, 4
mov dword [ecx + esi*4], eax
mov edx, dword [0x100a6018]
mov ecx, dword [0x100a6014]
movq xmm0, qword [ebp - 0x20]
lea eax, [edx - 1]
and eax, edi
mov ecx, dword [ecx + eax*4]
mov eax, dword [ebp - 0x18]
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
mov eax, dword [0x100a6020]
inc eax
mov dword [0x100a601c], edi
mov dword [0x100a6020], eax
jmp 0x100188e8
mov eax, dword [0x100a6020]
cmp eax, 0x800
jbe 0x1001892c
nop
add eax, 0xffffffff
mov dword [0x100a6020], eax
je 0x10018903
cmp eax, 0x800
ja 0x100188f0
jmp 0x1001892c
mov dword [0x100a601c], 0
jmp 0x1001892c
cmp dword [0x100a6020], 0
je 0x1001892c
mov ecx, 0x100a6010
mov dword [0x100a600c], 0
call fcn.1000b290
xor cl, cl
call fcn.10017dd0
mov eax, dword [0x100a6008]
mov esi, dword [eax]
test esi, esi
je 0x10018979
mov ecx, esi
call fcn.10002230
cmp dword [eax], 0
jle 0x10018979
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
mov eax, dword [eax + 0x24]
call eax
test al, al
jne 0x10018979
mov eax, dword [0x100a6008]
mov ecx, dword [eax]
call fcn.10002d30
movq xmm0, qword [eax]
movq qword [0x100a4a94], xmm0
mov eax, dword [eax + 8]
mov dword [0x100a4a9c], eax
call fcn.100178b0
mov esi, dword [0x100a5fcc]
test esi, esi
je 0x100189b5
mov edi, dword [esi + 0x174]
test edi, edi
jle 0x100189b5
mov edx, dword [esi + 0x4cb0]
mov ecx, dword [0x100a5fd4]
add edx, dword [esi + 0x4cac]
push edx
push dword [esi + 0x4cb4]
mov eax, dword [ecx]
push 1
push edi
mov eax, dword [eax + 0xc]
call eax
mov eax, dword [0x100a5e14]
test eax, eax
je 0x100189ec
cmp byte [0x10093804], 0
je 0x100189e7
test byte [eax + 0x30], 2
je 0x100189e7
mov eax, dword [0x100a6008]
mov ecx, dword [eax]
call fcn.10002bb0
test byte [eax], 1
jne 0x100189e7
mov eax, dword [0x100a5e14]
and dword [eax + 0x30], 0xfffffffd
call fcn.1000b8f0
cmp byte [0x1009391d], 0
je 0x10018b36
mov eax, dword [0x100a6008]
mov esi, dword [eax]
test esi, esi
je 0x10018b36
mov ecx, esi
call fcn.10002230
cmp dword [eax], 0
jle 0x10018b36
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
mov eax, dword [eax + 0x24]
call eax
test al, al
jne 0x10018b36
mov eax, dword fs:[0x2c]
mov ecx, dword [0x100a5250]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x1010a588]
cmp eax, dword [ecx + 4]
jg 0x10018f46
mov eax, dword [0x100a6008]
mov ecx, dword [eax]
call fcn.100058d0
mov edi, eax
test edi, edi
je 0x10018b36
mov ecx, dword [0x100a6008]
mov esi, dword [0x10093920]
mov ecx, dword [ecx]
call fcn.10002d30
movss xmm2, dword [eax + 4]
movss xmm0, dword [eax]
movss xmm1, dword [eax + 8]
mulss xmm0, xmm0
mulss xmm2, xmm2
mulss xmm1, xmm1
addss xmm0, xmm2
addss xmm0, xmm1
call fcn.1001c1b0
movss xmm1, dword [0x10096464]
mov eax, 1
push dword [0x100939ac]
comiss xmm1, xmm0
cmovae esi, eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x10018acd
mov ecx, dword [0x1010a58c]
mov eax, dword [ecx + 0x1c]
mov esi, dword [eax + 0x30]
xor esi, ecx
mov ecx, edi
call fcn.1000c290
test al, al
je 0x10018b01
mov ecx, edi
call fcn.1000bd90
cmp byte [eax], 0
je 0x10018b01
mov ecx, edi
call fcn.1000bf20
movss xmm0, dword [eax]
comiss xmm0, dword [0x100963d0]
jbe 0x10018b01
mov byte [0x100a5ed0], 1
jmp 0x10018b36
mov ecx, dword [0x1010a58c]
mov eax, dword [ecx + 0x1c]
mov edx, dword [eax + 0x30]
xor edx, ecx
cmp esi, edx
mov eax, edx
cmovl eax, esi
test eax, eax
jle 0x10018b22
cmp esi, edx
jl 0x10018b24
mov esi, edx
jmp 0x10018b24
xor esi, esi
mov eax, dword [0x100a5fcc]
cmp dword [eax + 0x4cb0], esi
setge byte [0x100a5ed0]
call fcn.1000f390
call fcn.10005cb0
call fcn.1000c9c0
call fcn.100127d0
mov eax, dword [0x100a6008]
mov esi, dword [eax]
test esi, esi
je 0x10018c35
mov ecx, esi
call fcn.10002230
cmp dword [eax], 0
jle 0x10018c35
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
mov eax, dword [eax + 0x24]
call eax
test al, al
jne 0x10018c35
mov ecx, dword [0x100a5fd0]
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
mov eax, dword [0x100a6008]
mov ecx, dword [0x100a5fd8]
mov edx, dword [eax]
mov eax, dword [ecx]
push edx
mov eax, dword [eax + 0x10]
call eax
mov eax, dword [0x100a6008]
mov ecx, dword [0x100a5250]
mov eax, dword [eax]
mov dword [eax + 0x3314], 0
mov eax, dword fs:[0x2c]
mov esi, dword [eax + ecx*4]
mov eax, dword [0x100a5e50]
cmp eax, dword [esi + 4]
jg 0x10018f97
mov eax, dword [0x100a5e30]
mov eax, dword [eax]
mov dword [eax], 0xffffffff
mov eax, dword [0x100a5e28]
cmp eax, dword [esi + 4]
jg 0x10018fe6
mov eax, dword [0x100a5e24]
mov ecx, dword [0x100a5fd8]
mov eax, dword [eax]
mov dword [eax], 0
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
mov ecx, dword [0x100a5fd0]
push 0
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov eax, dword [0x100a5fbc]
movss xmm0, dword [0x100a5e48]
movss dword [eax + 0x10], xmm0
movss xmm0, dword [0x100a5e4c]
movss dword [eax + 0x14], xmm0
cmp byte [0x10093d01], 0
mov esi, dword [0x100a5e14]
je 0x10018c61
test byte [esi + 0x30], 1
je 0x10018c51
mov byte [0x100a5ed0], 0
cmp byte [0x1010a614], 0
je 0x10018c61
mov byte [0x100a5ed0], 1
mov ecx, dword [ebp + 0x14]
mov al, byte [0x100a5ed0]
mov byte [ecx], al
test al, al
je 0x10018c96
mov ecx, dword [0x100a2ec8]
lea eax, [esi + 4]
cmp ecx, dword [0x100a2ecc]
je 0x10018c8d
mov eax, dword [eax]
mov dword [ecx], eax
add dword [0x100a2ec8], 4
jmp 0x10018cce
push eax
push ecx
call fcn.10019100
jmp 0x10018cc8
mov edi, dword [0x100a5fcc]
test edi, edi
je 0x10018cce
mov edi, dword [edi + 0x9c]
test edi, edi
je 0x10018cce
mov eax, dword [edi]
mov ecx, edi
mov esi, dword [edi + 0x2c]
mov dword [edi + 0x2c], 0
push 0
mov eax, dword [eax + 0xc0]
call eax
dec dword [edi + 0x18]
mov dword [edi + 0x2c], esi
mov esi, dword [0x100a5e14]
movss xmm1, dword [0x100a2ed4]
xorps xmm3, xmm3
comiss xmm3, xmm1
movss xmm2, dword [0x10096564]
jbe 0x10018cea
addss xmm1, xmm2
movss xmm0, dword [esi + 0x10]
comiss xmm3, xmm0
jbe 0x10018cf8
addss xmm0, xmm2
comiss xmm1, xmm0
jbe 0x10018d0a
subss xmm0, xmm1
andps xmm0, xmmword [0x100969a0]
jmp 0x10018d1c
subss xmm1, xmm0
movaps xmm0, xmm2
andps xmm1, xmmword [0x100969a0]
subss xmm0, xmm1
subss xmm2, xmm0
movss xmm0, dword [esi + 0x24]
movss dword [ebp + 0x14], xmm0
movss xmm0, dword [esi + 0x28]
movss dword [ebp + 0xc], xmm0
movaps xmm1, xmm2
mulss xmm2, dword [0x100963b4]
addss xmm1, dword [0x10096534]
movaps xmm0, xmm2
movss dword [ebp - 0x10], xmm2
mulss xmm1, dword [0x100963b4]
movss dword [ebp + 0x10], xmm1
call fcn.100023b0
mulss xmm0, dword [ebp + 0x14]
movss dword [ebp + 8], xmm0
movss xmm0, dword [ebp + 0x10]
call fcn.100023b0
mulss xmm0, dword [ebp + 0xc]
movss xmm1, dword [ebp + 8]
addss xmm1, xmm0
movss xmm0, dword [ebp - 0x10]
movss dword [esi + 0x24], xmm1
call fcn.100023d0
mulss xmm0, dword [ebp + 0x14]
movss dword [ebp + 0x14], xmm0
movss xmm0, dword [ebp + 0x10]
call fcn.100023d0
mulss xmm0, dword [ebp + 0xc]
mov eax, dword fs:[0x2c]
movss xmm1, dword [ebp + 0x14]
mov ecx, dword [0x100a5250]
addss xmm1, xmm0
movss dword [esi + 0x28], xmm1
mov esi, dword [eax + ecx*4]
mov eax, dword [0x1010a5c4]
cmp eax, dword [esi + 4]
jg 0x10019037
mov eax, dword [0x1010a610]
mov dword [ebp + 0x14], 0
cmp eax, dword [esi + 4]
jg 0x10019086
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp + 0x14]
push eax
push 0x40
push 4
push dword [0x1010a5bc]
call esi
mov ecx, dword [0x1010a5fc]
mov eax, dword [ecx + 0x1c]
mov eax, dword [eax + 0x30]
xor eax, ecx
mov ecx, dword [0x1010a5bc]
inc eax
mov dword [ecx], eax
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x14]
push 4
push ecx
call esi
mov cl, 1
call fcn.10017dd0
mov ecx, dword [0x100a5e14]
mov esi, dword [ebp - 0x14]
mov al, byte [ecx + 0x30]
and al, 1
mov byte [0x1010a614], al
mov eax, dword [ecx + 4]
mov dword [esi + 4], eax
mov eax, dword [ecx + 8]
mov dword [esi + 8], eax
movq xmm0, qword [ecx + 0xc]
movq qword [esi + 0xc], xmm0
mov eax, dword [ecx + 0x14]
mov dword [esi + 0x14], eax
movq xmm0, qword [ecx + 0x18]
movq qword [esi + 0x18], xmm0
mov eax, dword [ecx + 0x20]
mov dword [esi + 0x20], eax
mov eax, dword [ecx + 0x24]
mov dword [esi + 0x24], eax
mov eax, dword [ecx + 0x28]
mov dword [esi + 0x28], eax
mov eax, dword [ecx + 0x2c]
mov dword [esi + 0x2c], eax
mov eax, dword [ecx + 0x30]
mov dword [esi + 0x30], eax
mov al, byte [ecx + 0x34]
mov byte [esi + 0x34], al
mov eax, dword [ecx + 0x38]
mov dword [esi + 0x38], eax
mov eax, dword [ecx + 0x3c]
mov dword [esi + 0x3c], eax
mov eax, dword [ecx + 0x40]
mov dword [esi + 0x40], eax
movzx eax, word [ecx + 0x44]
mov word [esi + 0x44], ax
movzx eax, word [ecx + 0x46]
mov word [esi + 0x46], ax
mov al, byte [ecx + 0x48]
mov byte [esi + 0x48], al
movq xmm0, qword [ecx + 0x4c]
movq qword [esi + 0x4c], xmm0
mov eax, dword [ecx + 0x54]
mov dword [esi + 0x54], eax
movq xmm0, qword [ecx + 0x58]
movq qword [esi + 0x58], xmm0
mov eax, dword [ecx + 0x60]
mov dword [esi + 0x60], eax
call fcn.10016130
mov dword [esi + 0x64], eax
call fcn.10005450
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
push 0x1010a5ec
call fcn.1005d40e
add esp, 4
cmp dword [0x1010a5ec], 0xffffffff
jne 0x100187de
mov dword [ebp - 4], 0
mov ecx, dword [0x100a5fe4]
push str.sv_cheats
mov eax, dword [ecx]
mov eax, dword [eax + 0x44]
call eax
push 0x1010a5ec
mov dword [0x1010a5e0], eax
mov dword [ebp - 4], 0xffffffff
call fcn.1005d3bd
add esp, 4
jmp 0x100187de
push 0x1010a588
call fcn.1005d40e
add esp, 4
cmp dword [0x1010a588], 0xffffffff
jne 0x10018a4b
mov dword [ebp - 4], 1
mov ecx, dword [0x100a5fe4]
push str.sv_maxusrcmdprocessticks
mov eax, dword [ecx]
mov eax, dword [eax + 0x44]
call eax
push 0x1010a588
mov dword [0x1010a58c], eax
mov dword [ebp - 4], 0xffffffff
call fcn.1005d3bd
add esp, 4
jmp 0x10018a4b
push 0x100a5e50
call fcn.1005d40e
add esp, 4
cmp dword [0x100a5e50], 0xffffffff
jne 0x10018bcf
mov edx, str.A3_________66_0F_6E_86
mov dword [ebp - 4], 2
mov ecx, str.client.dll
call fcn.1005c4e0
inc eax
mov dword [ebp - 4], 0xffffffff
push 0x100a5e50
mov dword [0x100a5e30], eax
call fcn.1005d3bd
add esp, 4
jmp 0x10018bcf
push 0x100a5e28
call fcn.1005d40e
add esp, 4
cmp dword [0x100a5e28], 0xffffffff
jne 0x10018bed
mov edx, str.89_35_________F3_0F_10_48
mov dword [ebp - 4], 3
mov ecx, str.client.dll
call fcn.1005c4e0
add eax, 2
mov dword [ebp - 4], 0xffffffff
push 0x100a5e28
mov dword [0x100a5e24], eax
call fcn.1005d3bd
add esp, 4
jmp 0x10018bed
push 0x1010a5c4
call fcn.1005d40e
add esp, 4
cmp dword [0x1010a5c4], 0xffffffff
jne 0x10018dd9
mov edx, str.B8_________3B_F0_0F_4F_F0_89_5D_FC
mov dword [ebp - 4], 4
mov ecx, str.engine.dll
call fcn.1005c4e0
inc eax
mov dword [ebp - 4], 0xffffffff
push 0x1010a5c4
mov dword [0x1010a5bc], eax
call fcn.1005d3bd
add esp, 4
jmp 0x10018dd9
push 0x1010a610
call fcn.1005d40e
add esp, 4
cmp dword [0x1010a610], 0xffffffff
jne 0x10018df1
mov dword [ebp - 4], 5
mov ecx, dword [0x100a5fe4]
push str.sv_maxusrcmdprocessticks
mov eax, dword [ecx]
mov eax, dword [eax + 0x44]
call eax
push 0x1010a610
mov dword [0x1010a5fc], eax
mov dword [ebp - 4], 0xffffffff
call fcn.1005d3bd
add esp, 4
jmp 0x10018df1