Function at 0x1007d1c0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x58
mov eax, dword [0x10122040]
xor eax, esp
mov dword [esp + 0x54], eax
push esi
mov dword [esp + 0x14], ecx
mov ecx, dword [0x101d77d4]
mov dword [esp + 0x50], ecx
push edi
mov edi, edx
test ecx, ecx
je case.0x1007d8e5.527
mov edx, dword [ecx + 0x74]
lea esi, [ecx + 8]
mov dword [esp + 0x50], edx
cmp edi, 0x200
ja 0x1007d8cd
je case.0x1007d21f.160
lea eax, [edi - 7]
cmp eax, 0xfe
ja case.0x1007d8e5.527
movzx eax, byte [eax + 0x1007daf8]
jmp dword [eax*4 + 0x1007dae0]
cmp edi, 0x100
je 0x1007d23b
mov byte [esp + 0x17], 0
cmp edi, 0x104
jne 0x1007d240
mov byte [esp + 0x17], 1
cmp dword [ebp + 8], 0x100
jae case.0x1007d8e5.527
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call edi
shr eax, 0xf
and al, 1
cmp byte [esi + 0x3761], 0
mov byte [esp + 0x50], al
je 0x1007d28a
test al, al
je 0x1007d277
movss xmm3, dword [0x10114df4]
jmp 0x1007d27a
xorps xmm3, xmm3
push dword [esp + 0x50]
mov ecx, esi
push 0x1000
call fcn.10053360
push 0x10
call edi
shr eax, 0xf
and al, 1
cmp byte [esi + 0x3761], 0
mov byte [esp + 0x50], al
je 0x1007d2c1
test al, al
je 0x1007d2ae
movss xmm3, dword [0x10114df4]
jmp 0x1007d2b1
xorps xmm3, xmm3
push dword [esp + 0x50]
mov ecx, esi
push 0x2000
call fcn.10053360
push 0x12
call edi
shr eax, 0xf
and al, 1
cmp byte [esi + 0x3761], 0
mov byte [esp + 0x50], al
je 0x1007d2f8
test al, al
je 0x1007d2e5
movss xmm3, dword [0x10114df4]
jmp 0x1007d2e8
xorps xmm3, xmm3
push dword [esp + 0x50]
mov ecx, esi
push 0x4000
call fcn.10053360
push 0x5d
call edi
shr eax, 0xf
and al, 1
cmp byte [esi + 0x3761], 0
mov byte [esp + 0x50], al
je 0x1007d332
test al, al
je 0x1007d31c
movss xmm0, dword [0x10114df4]
jmp 0x1007d31f
xorps xmm0, xmm0
push dword [esp + 0x50]
movaps xmm3, xmm0
mov ecx, esi
push 0x8000
call fcn.10053360
mov esi, dword [ebp + 8]
cmp esi, 0xd
jne 0x1007d34d
mov eax, dword [ebp + 0xc]
shr eax, 0x10
test eax, 0x100
mov eax, 0x10d
cmovne esi, eax
mov ecx, esi
call fcn.1007cc80
test eax, eax
je 0x1007d368
mov dl, byte [esp + 0x17]
push ecx
push esi
mov ecx, eax
call fcn.1007c110
add esp, 8
cmp esi, 0x10
jne 0x1007d3d6
push 0xa0
call edi
mov cl, byte [esp + 0x17]
shr eax, 0xf
and al, 1
cmp al, cl
jne 0x1007d396
push ecx
mov dl, cl
mov ecx, 0x210
push 0xa0
call fcn.1007c110
add esp, 8
push 0xa1
call edi
mov cl, byte [esp + 0x17]
shr eax, 0xf
and al, 1
cmp al, cl
jne case.0x1007d8e5.527
push ecx
mov dl, cl
mov ecx, 0x214
push 0xa1
call fcn.1007c110
add esp, 8
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.100f3c06
mov esp, ebp
pop ebp
ret
cmp esi, 0x11
jne 0x1007d444
push 0xa2
call edi
mov cl, byte [esp + 0x17]
shr eax, 0xf
and al, 1
cmp al, cl
jne 0x1007d404
push ecx
mov dl, cl
mov ecx, 0x20f
push 0xa2
call fcn.1007c110
add esp, 8
push 0xa3
call edi
mov cl, byte [esp + 0x17]
shr eax, 0xf
and al, 1
cmp al, cl
jne case.0x1007d8e5.527
push ecx
mov dl, cl
mov ecx, 0x213
push 0xa3
call fcn.1007c110
add esp, 8
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.100f3c06
mov esp, ebp
pop ebp
ret
cmp esi, 0x12
jne case.0x1007d8e5.527
push 0xa4
call edi
mov cl, byte [esp + 0x17]
shr eax, 0xf
and al, 1
cmp al, cl
jne 0x1007d476
push ecx
mov dl, cl
mov ecx, 0x211
push 0xa4
call fcn.1007c110
add esp, 8
push 0xa5
call edi
mov cl, byte [esp + 0x17]
shr eax, 0xf
and al, 1
cmp al, cl
jne case.0x1007d8e5.527
push ecx
mov dl, cl
mov ecx, 0x215
push 0xa5
call fcn.1007c110
add esp, 8
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.100f3c06
mov esp, ebp
pop ebp
ret
mov eax, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
cmp edi, 7
sete byte [esp + 0x17]
cmp dword [esi + 0xdb0], 0
jne 0x1007d4ef
push 0x5db
push str.D:csgo_rax_sourcelegacyimguiimgui.cpp
push str.Ctx___0
call eax
mov ecx, dword [0x101d77d4]
add esp, 0xc
mov eax, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov dword [esp + 0x54], ecx
mov edx, dword [esi + 0xdb0]
mov esi, dword [ecx + 0x3780]
sub esi, 1
mov dword [esp + 0x50], edx
js 0x1007d551
lea edi, [esi + esi*2]
shl edi, 3
nop word [eax + eax]
test esi, esi
js 0x1007d51c
cmp esi, dword [ecx + 0x3780]
jl 0x1007d534
push 0x704
push str.D:csgo_rax_sourcelegacyimguiimgui.h
push str.i___0__i___Size
call eax
mov ecx, dword [esp + 0x60]
add esp, 0xc
mov eax, dword [ecx + 0x3788]
cmp dword [eax + edi], 6
je 0x1007d59d
mov eax, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
sub edi, 0x18
sub esi, 1
jns 0x1007d510
mov edx, dword [esp + 0x50]
cmp byte [edx + 0x3768], 0
sete al
mov cl, byte [esp + 0x17]
cmp al, cl
je case.0x1007d8e5.527
mov edi, dword [edx + 0x3784]
lea esi, [edx + 0x3780]
xorps xmm0, xmm0
movaps xmmword [esp + 0x20], xmm0
mov byte [esp + 0x28], cl
mov ecx, dword [esi]
mov dword [esp + 0x20], 6
cmp ecx, edi
jne 0x1007d5b9
inc ecx
test edi, edi
je 0x1007d5a7
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x1007d5ac
mov al, byte [eax + edi + 8]
mov edx, dword [esp + 0x50]
jmp 0x1007d55b
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.1006b940
mov eax, dword [esi]
movups xmm0, xmmword [esp + 0x20]
lea ecx, [eax + eax*2]
mov eax, dword [esi + 8]
movups xmmword [eax + ecx*8], xmm0
xorps xmm0, xmm0
movq qword [eax + ecx*8 + 0x10], xmm0
inc dword [esi]
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.100f3c06
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.USER32.dll_IsWindowUnicode]
test eax, eax
je 0x1007d6c4
mov ecx, dword [ebp + 8]
lea eax, [ecx - 1]
cmp eax, 0xfffe
ja case.0x1007d8e5.527
movzx edi, cx
mov eax, edi
test ax, ax
jne 0x1007d623
cmp word [esi + 0x3764], ax
je case.0x1007d8e5.527
cmp byte [esi + 0x3761], 0
je case.0x1007d8e5.527
movzx edx, word [esi + 0x3764]
mov ecx, eax
and ecx, 0xfc00
mov dword [esp + 0x50], 0xd800
cmp cx, word [esp + 0x50]
jne 0x1007d679
test dx, dx
je 0x1007d65f
push 0xfffd
mov ecx, esi
call fcn.10053210
mov word [esi + 0x3764], di
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.100f3c06
mov esp, ebp
pop ebp
ret
test dx, dx
je 0x1007d6a6
mov eax, 0xdc00
cmp cx, ax
je 0x1007d698
push 0xfffd
mov ecx, esi
call fcn.10053210
mov eax, edi
jmp 0x1007d69d
mov eax, 0xfffd
xor ecx, ecx
mov word [esi + 0x3764], cx
movzx eax, ax
mov ecx, esi
push eax
call fcn.10053210
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.100f3c06
mov esp, ebp
pop ebp
ret
push 1
lea eax, [esp + 0x54]
mov dword [esp + 0x54], 0
push eax
push 1
lea eax, [ebp + 8]
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp dword [esi + 0xdb0], 0
movzx edi, word [esp + 0x50]
jne 0x1007d709
push 0x4dc
push str.D:csgo_rax_sourcelegacyimguiimgui.cpp
push str.Ctx___0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
test edi, edi
je case.0x1007d8e5.527
cmp byte [esi + 0x3761], 0
je case.0x1007d8e5.527
mov esi, dword [esi + 0xdb0]
xorps xmm0, xmm0
add esi, 0x3780
mov dword [esp + 0x28], edi
movlpd qword [esp + 0x2c], xmm0
mov dword [esp + 0x34], 0
mov dword [esp + 0x20], 5
mov ecx, dword [esi]
mov edi, dword [esi + 4]
mov dword [esp + 0x24], 2
cmp ecx, edi
jne 0x1007d77a
inc ecx
test edi, edi
je 0x1007d768
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x1007d76d
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.1006b940
mov eax, dword [esi]
movups xmm0, xmmword [esp + 0x20]
lea ecx, [eax + eax*2]
mov eax, dword [esi + 8]
movups xmmword [eax + ecx*8], xmm0
movq xmm0, qword [esp + 0x30]
movq qword [eax + ecx*8 + 0x10], xmm0
inc dword [esi]
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.100f3c06
mov esp, ebp
pop ebp
ret
cmp word [ebp + 0xc], 1
jne case.0x1007d8e5.527
call fcn.1007bfc0
test al, al
je case.0x1007d8e5.527
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.100f3c06
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x18]
xor eax, eax
cmp edi, 0x200
mov dword [edx + 4], ecx
mov edx, dword [edx + 8]
setne al
inc eax
mov dword [esp + 0x1c], eax
cmp edx, eax
je 0x1007d86f
cmp edi, 0x200
mov dword [esp + 0x54], 0x12
mov eax, 2
mov dword [esp + 0x40], 0x10
cmovne eax, dword [esp + 0x54]
mov dword [esp + 0x24], eax
mov eax, dword [sym.imp.USER32.dll_TrackMouseEvent]
mov dword [esp + 0x44], 0x80000000
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], 0
mov dword [esp + 0x20], 0x10
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], 0
test edx, edx
je 0x1007d859
lea ecx, [esp + 0x40]
push ecx
call eax
mov eax, dword [sym.imp.USER32.dll_TrackMouseEvent]
lea ecx, [esp + 0x20]
push ecx
call eax
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x1c]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x18]
mov eax, dword [ebp + 0xc]
movsx edx, ax
shr eax, 0x10
cwde
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], eax
cmp edi, 0xa0
jne 0x1007d8a5
lea eax, [esp + 0x54]
push eax
push ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je case.0x1007d8e5.527
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
movd xmm2, eax
mov ecx, esi
movd xmm1, edx
cvtdq2ps xmm2, xmm2
cvtdq2ps xmm1, xmm1
call fcn.100535f0
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.100f3c06
mov esp, ebp
pop ebp
ret
lea eax, [edi - 0x201]
cmp eax, 0xa2
ja case.0x1007d8e5.527
movzx eax, byte [eax + 0x1007dc14]
jmp dword [eax*4 + 0x1007dbf8]
xor eax, eax
cmp edi, 0x2a3
setne al
inc eax
cmp dword [edx + 8], eax
jne case.0x1007d8e5.527
mov ecx, dword [esp + 0x18]
cmp dword [edx + 4], ecx
jne 0x1007d911
mov dword [edx + 4], 0
movss xmm1, dword [0x1011500c]
mov ecx, esi
movaps xmm2, xmm1
mov dword [edx + 8], 0
call fcn.100535f0
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.100f3c06
mov esp, ebp
pop ebp
ret
mov dword [esp + 0x54], 0
cmp edi, 0x204
je 0x1007d955
cmp edi, 0x206
jne 0x1007d95d
mov dword [esp + 0x54], 1
cmp edi, 0x207
je 0x1007d96d
cmp edi, 0x209
jne 0x1007d975
mov dword [esp + 0x54], 2
cmp edi, 0x20b
je 0x1007d985
cmp edi, 0x20d
jne 0x1007d999
mov eax, dword [ebp + 8]
shr eax, 0x10
dec eax
neg eax
sbb eax, eax
neg eax
add eax, 3
mov dword [esp + 0x54], eax
cmp dword [edx + 0xc], 0
jne 0x1007d9b8
call dword [sym.imp.USER32.dll_GetCapture]
test eax, eax
jne 0x1007d9b4
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.USER32.dll_SetCapture]
mov edx, dword [esp + 0x50]
mov eax, dword [edx + 0xc]
mov ecx, dword [esp + 0x54]
bts eax, ecx
push 1
push ecx
mov ecx, esi
mov dword [edx + 0xc], eax
call fcn.100537e0
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.100f3c06
mov esp, ebp
pop ebp
ret
xor ecx, ecx
cmp edi, 0x205
sete cl
mov dword [esp + 0x54], ecx
cmp edi, 0x208
jne 0x1007da00
mov ecx, 2
jmp 0x1007da18
cmp edi, 0x20c
jne 0x1007da1c
mov ecx, dword [ebp + 8]
shr ecx, 0x10
dec ecx
neg ecx
sbb ecx, ecx
neg ecx
add ecx, 3
mov dword [esp + 0x54], ecx
mov eax, dword [edx + 0xc]
btr eax, ecx
mov dword [edx + 0xc], eax
test eax, eax
jne 0x1007da3f
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [esp + 0x18]
jne 0x1007da3b
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov ecx, dword [esp + 0x54]
push 0
push ecx
mov ecx, esi
call fcn.100537e0
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.100f3c06
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
xorps xmm1, xmm1
shr eax, 0x10
mov ecx, esi
cwde
movd xmm2, eax
cvtdq2ps xmm2, xmm2
mulss xmm2, dword [0x10114cf0]
call fcn.10053900
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.100f3c06
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
xorps xmm2, xmm2
shr eax, 0x10
mov ecx, esi
cwde
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mulss xmm1, dword [0x10114fa0]
call fcn.10053900
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.100f3c06
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 8], 7
jne case.0x1007d8e5.527
mov byte [edx + 0x25], 1
mov ecx, dword [esp + 0x5c]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.100f3c06
mov esp, ebp
pop ebp
ret