Function at 0x1015a640
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 0x10199f8d
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x20
cmp byte [0x102498f8], 0
push esi
push edi
je 0x1015ad59
push 0
lea eax, [ebp - 0x18]
push eax
push 0
push 0x10310b00
call dword [sym.imp.KERNEL32.dll_InitOnceBeginInitialize]
test eax, eax
jne 0x1015a69b
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 0x1015a6e2
mov dword [ebp - 0x24], 0x10310b00
mov dword [ebp - 0x20], 4
push edi
mov ecx, 0x102498e8
mov dword [ebp - 4], 0
call fcn.1015bfb0
push 0
push 0
push 0x10310b00
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_InitOnceComplete]
test eax, eax
je 0x1015ad6e
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 [0x1024f340]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x1031a93c]
cmp eax, dword [ecx + 4]
jle 0x1015a773
push 0x1031a93c
call fcn.101928b8
add esp, 4
cmp dword [0x1031a93c], 0xffffffff
jne 0x1015a773
push 0x1031a93c
mov dword [0x1031a950], 0
mov dword [0x1031a94c], 0x10312e58
call fcn.10192867
add esp, 4
mov eax, dword [0x1031a94c]
cmp dword [0x1031a950], 0
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
sete byte [ebp - 0x11]
mov eax, dword [eax]
test eax, eax
jne 0x1015a79b
mov dword [0x1031a950], 0
jmp 0x1015a7b3
push eax
call esi
shr eax, 0xf
and al, 1
movzx eax, al
mov dword [0x1031a950], eax
je 0x1015a7b3
cmp byte [ebp - 0x11], 0
jne 0x1015a7bb
push 0x2d
call esi
test al, 1
je 0x1015a7ee
mov ecx, dword [0x10310ac0]
cmp byte [0x102498f7], 0
push 0
sete byte [0x102498f7]
mov eax, dword [ecx]
call dword [eax + 0x50]
mov ecx, dword [0x10310830]
movzx eax, byte [0x102498f7]
push eax
mov edx, dword [ecx]
mov eax, dword [edx + 0xd0]
call eax
cmp byte [0x102498f7], 0
je 0x1015a859
cmp byte [0x10312db4], 0
je 0x1015a859
cmp dword [0x10310aac], 0
jne 0x1015a81f
push 0x1021ac38
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [0x10310aac], eax
test eax, eax
je 0x1015a82d
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, dword [0x10310aac]
je 0x1015a859
mov ecx, dword [0x10310ac0]
mov byte [0x102498f7], 0
push 0
mov eax, dword [ecx]
call dword [eax + 0x50]
mov ecx, dword [0x10310830]
movzx eax, byte [0x102498f7]
push eax
mov edx, dword [ecx]
mov eax, dword [edx + 0xd0]
call eax
mov eax, dword [0x1024f7f4]
mov ecx, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov dword [ebp - 0x18], ecx
test eax, eax
je 0x1015a874
mov esi, dword [eax + 0x74]
test esi, esi
jne 0x1015a88f
jmp 0x1015a876
xor esi, esi
push 0x179
push str.C:UsersPcDownloadsGTA_SAN_ANDREAS___FULL1_fware_iv_mainFedorawareFedoraware_TF2includeImGuiimgui_impl_dx9.cpp
push str.bd___nullptr___Did_you_call_ImGui_ImplDX9_Init____
call ecx
mov eax, dword [0x1024f7f4]
add esp, 0xc
cmp dword [esi + 0xc], 0
jne 0x1015a8aa
test eax, eax
je 0x1015a8aa
mov eax, dword [eax + 0x74]
test eax, eax
je 0x1015a8aa
cmp dword [eax], 0
je 0x1015a8aa
call fcn.1010dc00
call fcn.1010ead0
call fcn.100e66f0
mov ecx, dword [0x1024992c]
call fcn.100ef4c0
call fcn.1015a2f0
cmp byte [0x10312cb8], 0
je 0x1015a9fc
mov esi, dword [0x1024f7f4]
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x30], 2
movups xmm0, xmmword [esi + 0x387c]
lea ecx, [esi + 0x476c]
movups xmmword [ebp - 0x2c], xmm0
call fcn.100fbf70
mov dword [esi + 0x387c], 0
mov ecx, 0x2020
mov dword [esi + 0x3880], 0
mov dword [esi + 0x3884], 0
mov dword [esi + 0x3888], 0
mov eax, dword [0x1024f7f4]
movss xmm0, dword [0x102379b8]
movss xmm1, dword [0x10237a90]
movss dword [ebp - 0x28], xmm0
or dword [eax + 0x470c], 0x10
mov dword [eax + 0x4748], 0x41a00000
movss dword [eax + 0x474c], xmm0
movss dword [eax + 0x4750], xmm1
movss dword [eax + 0x4754], xmm1
mov dword [eax + 0x4758], 0x10169d20
mov dword [eax + 0x475c], 0
mov eax, 0x20a3
cmp byte [0x102498f7], 0
cmovne eax, ecx
xor edx, edx
push eax
mov ecx, str.Radar
call fcn.100ebff0
add esp, 4
test al, al
je 0x1015a9ed
mov edx, dword [0x1024f7f4]
mov eax, dword [edx + 0x3e58]
cvttss2si eax, dword [eax + 0x14]
add eax, dword [0x1024d740]
mov dword [0x1024d760], eax
mov eax, dword [edx + 0x3e58]
cvttss2si eax, dword [eax + 0x18]
add eax, dword [0x1024d740]
mov dword [0x1024d764], eax
mov eax, dword [edx + 0x3e58]
movss xmm0, dword [eax + 0x1c]
mulss xmm0, dword [0x102377fc]
cvttss2si eax, xmm0
mov dword [0x1024d740], eax
call fcn.100ee820
mov ecx, 1
call fcn.100e38d0
cmp byte [0x102498f7], 0
je 0x1015acff
mov ecx, 0x102498e8
call fcn.101456e0
mov ecx, dword [0x1024f68c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
test al, al
je 0x1015abc9
cmp dword [0x10314178], 0
je 0x1015abc9
mov esi, dword [0x1024f7f4]
movd xmm0, dword [0x1024d58c]
movd xmm1, dword [0x1024d590]
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 - 0x30], 2
cvtdq2ps xmm1, xmm1
movss dword [esi + 0x472c], xmm0
movss dword [esi + 0x4730], xmm1
movd xmm0, dword [0x1024d584]
movd xmm1, dword [0x1024d588]
cvtdq2ps xmm0, xmm0
mov dword [esi + 0x470c], eax
lea eax, [ebp - 0x30]
mov dword [esi + 0x4710], 4
push eax
cvtdq2ps xmm1, xmm1
movss dword [esi + 0x471c], xmm0
xorps xmm0, xmm0
movss dword [esi + 0x4720], xmm1
movss dword [esi + 0x4724], xmm0
movss dword [esi + 0x4728], xmm0
movups xmm0, xmmword [esi + 0x387c]
movups xmmword [ebp - 0x2c], xmm0
call fcn.100fbf70
mov dword [esi + 0x387c], 0
lea eax, [ebp - 0x28]
mov dword [esi + 0x3880], 0
mov dword [esi + 0x3884], 0
mov dword [esi + 0x3888], 0x3dcccccd
mov esi, dword [0x1024f7f4]
push eax
mov dword [ebp - 0x28], 5
movss xmm1, dword [esi + 0x3798]
lea ecx, [esi + 0x4778]
movss xmm0, dword [esi + 0x379c]
movss dword [ebp - 0x24], xmm1
movss dword [ebp - 0x20], xmm0
call fcn.100fbeb0
push 0x2020
xor edx, edx
mov dword [esi + 0x3798], 0x42700000
mov ecx, str.Camera
mov dword [esi + 0x379c], 0x42700000
call fcn.100ebff0
add esp, 4
test al, al
je 0x1015abb5
mov eax, dword [0x1024f7f4]
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 [0x1024d584], eax
cvttss2si eax, xmm2
mov dword [0x1024d588], eax
cvttss2si eax, xmm0
mov dword [0x1024d58c], eax
cvttss2si eax, xmm1
mov dword [0x1024d590], eax
call fcn.100ee820
mov ecx, 1
call fcn.100e3980
mov ecx, 1
call fcn.100e38d0
movzx eax, byte [0x10314798]
push ecx
push eax
push 0x10314f94
push str.Conditions
call fcn.1015a0f0
movzx eax, byte [0x10314948]
push ecx
push eax
push 0x10315158
push str.Ping
call fcn.1015a0f0
cmp dword [0x10317400], 0
push ecx
setne al
movzx eax, al
push eax
push 0x10317688
push str.DT_Bar
call fcn.1015a0f0
movzx eax, byte [0x10315edc]
push ecx
push eax
push 0x10315e80
push str.Crits
call fcn.1015a0f0
mov ecx, 0x102498e8
call fcn.10157cb0
mov ecx, 0x102498e8
call fcn.101561e0
mov ecx, 0x102498e8
call fcn.10159e10
mov esi, dword [0x1024f7f4]
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x28], 2
movss xmm1, dword [esi + 0x3788]
lea ecx, [esi + 0x4778]
movss xmm0, dword [esi + 0x378c]
movss dword [ebp - 0x24], xmm1
movss dword [ebp - 0x20], xmm0
call fcn.100fbeb0
mov dword [esi + 0x3788], 0x41400000
lea eax, [ebp - 0x28]
mov dword [esi + 0x378c], 0x41400000
mov esi, dword [0x1024f7f4]
push eax
mov dword [ebp - 0x28], 5
movss xmm1, dword [esi + 0x3798]
lea ecx, [esi + 0x4778]
movss xmm0, dword [esi + 0x379c]
movss dword [ebp - 0x24], xmm1
movss dword [ebp - 0x20], xmm0
call fcn.100fbeb0
mov dword [esi + 0x3798], 0x41200000
mov dword [esi + 0x379c], 0x41200000
call fcn.10141dd0
call fcn.10142850
mov ecx, 2
call fcn.100e3980
call fcn.1015ca40
call fcn.1015e240
call fcn.100ef580
call fcn.100e86f0
call fcn.100e8b70
mov esi, dword [0x1024f7f4]
cmp dword [esi + 0x47d0], 0
jg 0x1015ad32
push 0x730
push str.C:UsersPcDownloadsGTA_SAN_ANDREAS___FULL1_fware_iv_mainFedorawareFedoraware_TF2includeImGuiimgui.h
push str.i___0__i___Size
call dword [ebp - 0x18]
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.1010d700
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