Function at 0x10160860
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x101a014d
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x20
cmp byte [0x1024f928], 0
push esi
push edi
je 0x10160f16
push 0
lea eax, [ebp - 0x18]
push eax
push 0
push 0x10316b00
call dword [sym.imp.KERNEL32.dll_InitOnceBeginInitialize]
test eax, eax
jne 0x101608bb
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
cmp dword [ebp - 0x18], 0
mov edi, dword [ebx + 8]
je 0x10160902
mov dword [ebp - 0x20], 0x10316b00
mov dword [ebp - 0x1c], 4
push edi
mov ecx, 0x1024f918
mov dword [ebp - 4], 0
call fcn.101621a0
push 0
push 0
push 0x10316b00
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_InitOnceComplete]
test eax, eax
je 0x10160f2b
mov eax, dword [edi]
push 0xffffffffffffffff
push 0xa8
push edi
call dword [eax + 0xe4]
mov eax, dword [edi]
push 4
push 1
push 0
push edi
call dword [eax + 0x10c]
mov eax, dword [edi]
push 4
push 4
push 0
push edi
call dword [eax + 0x10c]
mov eax, dword [edi]
push 0
push 0xc2
push edi
call dword [eax + 0xe4]
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10255374]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10320934]
cmp eax, dword [ecx + 4]
jle 0x10160993
push 0x10320934
call fcn.101987e8
add esp, 4
cmp dword [0x10320934], 0xffffffff
jne 0x10160993
push 0x10320934
mov dword [0x10320948], 0
mov dword [0x10320944], 0x10318e50
call fcn.10198797
add esp, 4
mov eax, dword [0x10320944]
cmp dword [0x10320948], 0
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
sete byte [ebp - 0x11]
mov eax, dword [eax]
test eax, eax
jne 0x101609bb
mov dword [0x10320948], 0
jmp 0x101609d3
push eax
call esi
shr eax, 0xf
and al, 1
movzx eax, al
mov dword [0x10320948], eax
je 0x101609d3
cmp byte [ebp - 0x11], 0
jne 0x101609db
push 0x2d
call esi
test al, 1
je 0x10160a0e
mov ecx, dword [0x10316ac0]
cmp byte [0x1024f927], 0
push 0
sete byte [0x1024f927]
mov eax, dword [ecx]
call dword [eax + 0x50]
mov ecx, dword [0x10316830]
movzx eax, byte [0x1024f927]
push eax
mov edx, dword [ecx]
mov eax, dword [edx + 0xd0]
call eax
cmp byte [0x1024f927], 0
je 0x10160a79
cmp byte [0x10318dac], 0
je 0x10160a79
cmp dword [0x10316aac], 0
jne 0x10160a3f
push 0x10220cc8
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [0x10316aac], eax
test eax, eax
je 0x10160a4d
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, dword [0x10316aac]
je 0x10160a79
mov ecx, dword [0x10316ac0]
mov byte [0x1024f927], 0
push 0
mov eax, dword [ecx]
call dword [eax + 0x50]
mov ecx, dword [0x10316830]
movzx eax, byte [0x1024f927]
push eax
mov edx, dword [ecx]
mov eax, dword [edx + 0xd0]
call eax
mov eax, dword [0x10255824]
test eax, eax
je 0x10160a8b
mov esi, dword [eax + 0x74]
test esi, esi
jne 0x10160aaa
jmp 0x10160a8d
xor esi, esi
push 0x179
push str.D:_aFedorawareFedorawareFedorawareFedoraware_TF2includeImGuiimgui_impl_dx9.cpp
push str.bd___nullptr___Did_you_call_ImGui_ImplDX9_Init____
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov eax, dword [0x10255824]
add esp, 0xc
cmp dword [esi + 0xc], 0
jne 0x10160ac5
test eax, eax
je 0x10160ac5
mov eax, dword [eax + 0x74]
test eax, eax
je 0x10160ac5
cmp dword [eax], 0
je 0x10160ac5
call fcn.10114280
call fcn.10115150
call fcn.100ed260
mov ecx, dword [0x1024f95c]
call fcn.100f6060
call fcn.10160560
cmp byte [0x10318cb0], 0
je 0x10160bd0
mov esi, dword [0x10255824]
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x2c], 2
movups xmm0, xmmword [esi + 0x387c]
lea ecx, [esi + 0x476c]
movups xmmword [ebp - 0x28], xmm0
call fcn.10102b00
mov eax, dword [0x10255824]
xorps xmm0, xmm0
movups xmmword [esi + 0x387c], xmm0
mov ecx, 0x2020
movaps xmm0, xmmword [0x1023d980]
or dword [eax + 0x470c], 0x10
movups xmmword [eax + 0x4748], xmm0
mov dword [eax + 0x4758], 0x1016fe60
mov dword [eax + 0x475c], 0
mov eax, 0x20a3
cmp byte [0x1024f927], 0
cmovne eax, ecx
xor edx, edx
push eax
mov ecx, str.Radar
call fcn.100f2d90
add esp, 4
test al, al
je 0x10160bc1
mov edx, dword [0x10255824]
mov eax, dword [edx + 0x3e58]
cvttss2si eax, dword [eax + 0x14]
add eax, dword [0x10253770]
mov dword [0x10253790], eax
mov eax, dword [edx + 0x3e58]
cvttss2si eax, dword [eax + 0x18]
add eax, dword [0x10253770]
mov dword [0x10253794], eax
mov eax, dword [edx + 0x3e58]
movss xmm0, dword [eax + 0x1c]
mulss xmm0, dword [0x1023d0c4]
cvttss2si eax, xmm0
mov dword [0x10253770], eax
call fcn.100f53c0
mov ecx, 1
call fcn.100ea430
cmp byte [0x1024f927], 0
je 0x10160eb9
mov ecx, 0x1024f918
call fcn.1014ba20
mov ecx, dword [0x102556bc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
test al, al
je 0x10160d83
cmp dword [0x1031a170], 0
je 0x10160d83
mov esi, dword [0x10255824]
xorps xmm2, xmm2
movd xmm0, dword [0x102535bc]
movd xmm1, dword [0x102535c0]
cvtdq2ps xmm0, xmm0
mov eax, dword [esi + 0x470c]
lea ecx, [esi + 0x476c]
mov dword [esi + 0x4714], 4
or eax, 2
mov dword [esi + 0x470c], eax
or eax, 1
mov dword [ebp - 0x2c], 2
cvtdq2ps xmm1, xmm1
movss dword [esi + 0x472c], xmm0
movss dword [esi + 0x4730], xmm1
movd xmm0, dword [0x102535b4]
movd xmm1, dword [0x102535b8]
cvtdq2ps xmm0, xmm0
mov dword [esi + 0x470c], eax
lea eax, [ebp - 0x2c]
mov dword [esi + 0x4710], 4
push eax
cvtdq2ps xmm1, xmm1
movss dword [esi + 0x471c], xmm0
movss dword [esi + 0x4720], xmm1
movss dword [esi + 0x4724], xmm2
movss dword [esi + 0x4728], xmm2
movups xmm0, xmmword [esi + 0x387c]
movups xmmword [ebp - 0x28], xmm0
call fcn.10102b00
movaps xmm0, xmmword [0x1023d670]
lea eax, [ebp - 0x24]
movups xmmword [esi + 0x387c], xmm0
mov esi, dword [0x10255824]
push eax
mov dword [ebp - 0x24], 5
movss xmm1, dword [esi + 0x3798]
lea ecx, [esi + 0x4778]
movss xmm0, dword [esi + 0x379c]
movss dword [ebp - 0x20], xmm1
movss dword [ebp - 0x1c], xmm0
call fcn.10102a40
push 0x2020
xor edx, edx
mov dword [esi + 0x3798], 0x42700000
mov ecx, str.Camera
mov dword [esi + 0x379c], 0x42700000
call fcn.100f2d90
add esp, 4
test al, al
je 0x10160d6f
mov eax, dword [0x10255824]
mov eax, dword [eax + 0x3e58]
movss xmm2, dword [eax + 0x18]
movss xmm0, dword [eax + 0x1c]
movss xmm1, dword [eax + 0x20]
cvttss2si eax, dword [eax + 0x14]
mov dword [0x102535b4], eax
cvttss2si eax, xmm2
mov dword [0x102535b8], eax
cvttss2si eax, xmm0
mov dword [0x102535bc], eax
cvttss2si eax, xmm1
mov dword [0x102535c0], eax
call fcn.100f53c0
mov ecx, 1
call fcn.100ea4e0
mov ecx, 1
call fcn.100ea430
movzx eax, byte [0x1031a790]
push ecx
push eax
push 0x1031af8c
push str.Conditions
call fcn.10160370
movzx eax, byte [0x1031a940]
push ecx
push eax
push 0x1031b150
push str.Ping
call fcn.10160370
cmp dword [0x1031d3f8], 0
push ecx
setne al
movzx eax, al
push eax
push 0x1031d680
push str.DT_Bar
call fcn.10160370
movzx eax, byte [0x1031bed4]
push ecx
push eax
push 0x1031be78
push str.Crits
call fcn.10160370
mov ecx, 0x1024f918
call fcn.1015ddf0
mov ecx, 0x1024f918
call fcn.1015c310
mov ecx, 0x1024f918
call fcn.10160090
mov esi, dword [0x10255824]
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x24], 2
movss xmm1, dword [esi + 0x3788]
lea ecx, [esi + 0x4778]
movss xmm0, dword [esi + 0x378c]
movss dword [ebp - 0x20], xmm1
movss dword [ebp - 0x1c], xmm0
call fcn.10102a40
mov dword [esi + 0x3788], 0x41400000
lea eax, [ebp - 0x24]
mov dword [esi + 0x378c], 0x41400000
mov esi, dword [0x10255824]
push eax
mov dword [ebp - 0x24], 5
movss xmm1, dword [esi + 0x3798]
lea ecx, [esi + 0x4778]
movss xmm0, dword [esi + 0x379c]
movss dword [ebp - 0x20], xmm1
movss dword [ebp - 0x1c], xmm0
call fcn.10102a40
mov dword [esi + 0x3798], 0x41200000
mov dword [esi + 0x379c], 0x41200000
call fcn.10148060
call fcn.10148b10
mov ecx, 2
call fcn.100ea4e0
call fcn.10162c30
call fcn.10164410
call fcn.100f6120
call fcn.100ef360
call fcn.100ef7e0
mov esi, dword [0x10255824]
cmp dword [esi + 0x47d0], 0
jg 0x10160eef
push 0x730
push str.D:_aFedorawareFedorawareFedorawareFedoraware_TF2includeImGuiimgui.h
push str.i___0__i___Size
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
mov eax, dword [esi + 0x47d8]
mov ecx, dword [eax]
xor eax, eax
add ecx, 0x38
cmp byte [ecx], al
cmove ecx, eax
call fcn.10113d80
mov eax, dword [edi]
push 1
push 0xc2
push edi
call dword [eax + 0xe4]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
int3