Function at 0x1004baf0
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
sub esp, 0x50
push esi
push edi
mov edi, edx
mov edx, ecx
mov ecx, dword [0x10166204]
mov dword [ebp - 0x10], edx
test ecx, ecx
je case.0x1004c180.527
lea esi, [ecx + 8]
mov ecx, dword [ecx + 0x78]
mov dword [ebp - 8], ecx
cmp edi, 0x200
ja 0x1004c168
je case.0x1004bb50.160
lea eax, [edi - 7]
cmp eax, 0xfe
ja case.0x1004c180.527
movzx eax, byte [eax + 0x1004c370]
jmp dword [eax*4 + 0x1004c358]
cmp edi, 0x100
je 0x1004bb6b
mov byte [ebp - 1], 0
cmp edi, 0x104
jne 0x1004bb6f
mov byte [ebp - 1], 1
cmp dword [ebx + 8], 0x100
jae case.0x1004c180.527
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call edi
shr eax, 0xf
and al, 1
cmp byte [esi + 0x3769], 0
mov byte [ebp - 0x14], al
je 0x1004bbb7
test al, al
je 0x1004bba5
movss xmm3, dword [0x100ae174]
jmp 0x1004bba8
xorps xmm3, xmm3
push dword [ebp - 0x14]
mov ecx, esi
push 0x1000
call fcn.1001cc00
push 0x10
call edi
shr eax, 0xf
and al, 1
cmp byte [esi + 0x3769], 0
mov byte [ebp - 0x14], al
je 0x1004bbec
test al, al
je 0x1004bbda
movss xmm3, dword [0x100ae174]
jmp 0x1004bbdd
xorps xmm3, xmm3
push dword [ebp - 0x14]
mov ecx, esi
push 0x2000
call fcn.1001cc00
push 0x12
call edi
shr eax, 0xf
and al, 1
cmp byte [esi + 0x3769], 0
mov byte [ebp - 0x14], al
je 0x1004bc21
test al, al
je 0x1004bc0f
movss xmm3, dword [0x100ae174]
jmp 0x1004bc12
xorps xmm3, xmm3
push dword [ebp - 0x14]
mov ecx, esi
push 0x4000
call fcn.1001cc00
push 0x5d
call edi
shr eax, 0xf
and al, 1
cmp byte [esi + 0x3769], 0
mov byte [ebp - 0x14], al
je 0x1004bc59
test al, al
je 0x1004bc44
movss xmm0, dword [0x100ae174]
jmp 0x1004bc47
xorps xmm0, xmm0
push dword [ebp - 0x14]
movaps xmm3, xmm0
mov ecx, esi
push 0x8000
call fcn.1001cc00
mov esi, dword [ebx + 8]
cmp esi, 0xd
jne 0x1004bc74
mov eax, dword [ebx + 0xc]
shr eax, 0x10
test eax, 0x100
mov eax, 0x10d
cmovne esi, eax
mov ecx, esi
call fcn.1004b580
test eax, eax
je 0x1004bc8e
mov dl, byte [ebp - 1]
push ecx
push esi
mov ecx, eax
call fcn.1004b090
add esp, 8
cmp esi, 0x10
jne 0x1004bcf2
push 0xa0
call edi
mov cl, byte [ebp - 1]
shr eax, 0xf
and al, 1
cmp al, cl
jne 0x1004bcbb
push ecx
mov dl, cl
mov ecx, 0x210
push 0xa0
call fcn.1004b090
add esp, 8
push 0xa1
call edi
mov cl, byte [ebp - 1]
shr eax, 0xf
and al, 1
cmp al, cl
jne case.0x1004c180.527
push ecx
mov dl, cl
mov ecx, 0x214
push 0xa1
call fcn.1004b090
add esp, 8
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
cmp esi, 0x11
jne 0x1004bd56
push 0xa2
call edi
mov cl, byte [ebp - 1]
shr eax, 0xf
and al, 1
cmp al, cl
jne 0x1004bd1f
push ecx
mov dl, cl
mov ecx, 0x20f
push 0xa2
call fcn.1004b090
add esp, 8
push 0xa3
call edi
mov cl, byte [ebp - 1]
shr eax, 0xf
and al, 1
cmp al, cl
jne case.0x1004c180.527
push ecx
mov dl, cl
mov ecx, 0x213
push 0xa3
call fcn.1004b090
add esp, 8
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
cmp esi, 0x12
jne case.0x1004c180.527
push 0xa4
call edi
mov cl, byte [ebp - 1]
shr eax, 0xf
and al, 1
cmp al, cl
jne 0x1004bd87
push ecx
mov dl, cl
mov ecx, 0x211
push 0xa4
call fcn.1004b090
add esp, 8
push 0xa5
call edi
mov cl, byte [ebp - 1]
shr eax, 0xf
and al, 1
cmp al, cl
jne case.0x1004c180.527
push ecx
mov dl, cl
mov ecx, 0x215
push 0xa5
call fcn.1004b090
add esp, 8
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
cmp edi, 7
sete byte [ebp - 1]
cmp dword [esi + 0xdb4], 0
jne 0x1004bde5
push 0x609
push str.C:Users_akiDesktopStealth_RemasteredStealth_RemasteredImGuiimgui.cpp
push str.Ctx___0
call fcn.10071a1d
add esp, 0xc
mov edx, dword [esi + 0xdb4]
mov eax, dword [edx + 0x3de0]
lea ecx, [edx + 0x3de0]
sub eax, 1
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], eax
js 0x1004be5a
lea edx, [eax*8]
sub edx, eax
shl edx, 2
mov dword [ebp - 0x14], edx
test eax, eax
js 0x1004be1c
cmp eax, dword [ecx]
jl 0x1004be3c
push 0x709
push 0x100aa7a0
push str.i___0__i___Size
call fcn.10071a1d
mov eax, dword [ebp - 8]
add esp, 0xc
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx + 8]
add ecx, edx
cmp dword [ecx], 6
je 0x1004bec2
mov ecx, dword [ebp - 0xc]
dec eax
sub edx, 0x1c
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], edx
test eax, eax
jns 0x1004be18
mov edx, dword [ebp - 0x10]
cmp byte [edx + 0x3770], 0
sete al
mov cl, byte [ebp - 1]
cmp al, cl
je case.0x1004c180.527
cmp byte [esi + 0x66], 0
je 0x1004be7e
cmp edi, 7
jne case.0x1004c180.527
mov eax, dword [edx + 0x3dfc]
xorps xmm0, xmm0
movups xmmword [ebp - 0x4c], xmm0
mov dword [ebp - 0x44], eax
inc eax
mov dword [edx + 0x3dfc], eax
lea eax, [ebp - 0x4c]
mov byte [ebp - 0x40], cl
mov ecx, dword [ebp - 0xc]
push eax
movq qword [ebp - 0x3c], xmm0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x4c], 6
call fcn.10036c40
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
test ecx, ecx
je 0x1004be57
mov al, byte [ecx + 0xc]
mov edx, dword [ebp - 0x10]
jmp 0x1004be64
push edx
call dword [sym.imp.USER32.dll_IsWindowUnicode]
test eax, eax
je 0x1004bf94
mov ecx, dword [ebx + 8]
lea eax, [ecx - 1]
cmp eax, 0xfffe
ja case.0x1004c180.527
movzx edi, cx
mov eax, edi
test ax, ax
jne 0x1004bf05
cmp word [esi + 0x376c], ax
je case.0x1004c180.527
cmp byte [esi + 0x3769], 0
je case.0x1004c180.527
movzx edx, word [esi + 0x376c]
mov ecx, eax
and ecx, 0xfc00
mov dword [ebp - 0x14], 0xd800
cmp cx, word [ebp - 0x14]
jne 0x1004bf51
test dx, dx
je 0x1004bf3f
push 0xfffd
mov ecx, esi
call fcn.1001caf0
mov word [esi + 0x376c], di
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
test dx, dx
je 0x1004bf7e
mov eax, 0xdc00
cmp cx, ax
je 0x1004bf70
push 0xfffd
mov ecx, esi
call fcn.1001caf0
mov eax, edi
jmp 0x1004bf75
mov eax, 0xfffd
xor ecx, ecx
mov word [esi + 0x376c], cx
movzx eax, ax
mov ecx, esi
push eax
call fcn.1001caf0
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 1
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 1
lea eax, [ebx + 8]
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp dword [esi + 0xdb4], 0
movzx edi, word [ebp - 0x14]
jne 0x1004bfd5
push 0x4f7
push str.C:Users_akiDesktopStealth_RemasteredStealth_RemasteredImGuiimgui.cpp
push str.Ctx___0
call fcn.10071a1d
add esp, 0xc
mov ecx, dword [esi + 0xdb4]
test edi, edi
je case.0x1004c180.527
cmp byte [esi + 0x3769], 0
je case.0x1004c180.527
mov eax, dword [ecx + 0x3dfc]
xorps xmm0, xmm0
mov dword [ebp - 0x44], eax
inc eax
mov dword [ecx + 0x3dfc], eax
lea eax, [ebp - 0x4c]
push eax
add ecx, 0x3de0
movlpd qword [ebp - 0x3c], xmm0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x4c], 5
mov dword [ebp - 0x48], 2
mov dword [ebp - 0x40], edi
call fcn.10036c40
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
cmp word [ebx + 0xc], 1
jne case.0x1004c180.527
call fcn.1004b040
test al, al
je case.0x1004c180.527
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call dword [sym.imp.USER32.dll_GetMessageExtraInfo]
and eax, 0xffffff80
cmp eax, 0xff515700
jne 0x1004c079
mov dword [ebp - 0x14], 2
jmp 0x1004c086
xor ecx, ecx
cmp eax, 0xff515780
sete cl
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 8]
xor ecx, ecx
mov edx, dword [ebp - 0x10]
cmp edi, 0x200
setne cl
inc ecx
mov dword [eax + 4], edx
mov eax, dword [eax + 8]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0xc], eax
cmp eax, ecx
je 0x1004c10f
cmp edi, 0x200
mov dword [ebp - 0x30], 0x10
mov eax, 2
mov dword [ebp - 0x2c], 0x80000000
mov ecx, 0x12
mov dword [ebp - 0x28], edx
cmovne eax, ecx
mov dword [ebp - 0x24], 0
cmp dword [ebp - 0xc], 0
mov dword [ebp - 0x3c], eax
mov eax, dword [sym.imp.USER32.dll_TrackMouseEvent]
mov dword [ebp - 0x40], 0x10
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x34], 0
je 0x1004c0fd
lea ecx, [ebp - 0x30]
push ecx
call eax
mov eax, dword [sym.imp.USER32.dll_TrackMouseEvent]
lea ecx, [ebp - 0x40]
push ecx
call eax
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x10]
mov dword [ecx + 8], eax
mov ecx, dword [ebx + 0xc]
movsx eax, cx
shr ecx, 0x10
mov dword [ebp - 0x20], eax
movsx eax, cx
mov dword [ebp - 0x1c], eax
cmp edi, 0xa0
jne 0x1004c13c
lea eax, [ebp - 0x20]
push eax
push edx
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je case.0x1004c180.527
push dword [ebp - 0x14]
mov ecx, esi
call fcn.1001d1e0
movd xmm2, dword [ebp - 0x1c]
mov ecx, esi
movd xmm1, dword [ebp - 0x20]
cvtdq2ps xmm2, xmm2
cvtdq2ps xmm1, xmm1
call fcn.1001ce60
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
lea eax, [edi - 0x201]
cmp eax, 0xa2
ja case.0x1004c180.527
movzx eax, byte [eax + 0x1004c48c]
jmp dword [eax*4 + 0x1004c470]
xor eax, eax
cmp edi, 0x2a3
setne al
inc eax
cmp dword [ecx + 8], eax
jne case.0x1004c180.527
cmp dword [ecx + 4], edx
jne 0x1004c1a8
mov dword [ecx + 4], 0
movss xmm1, dword [0x100ae354]
mov dword [ecx + 8], 0
movaps xmm2, xmm1
mov ecx, esi
call fcn.1001ce60
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.1004bac0
mov dword [ebp - 0x18], eax
mov dword [ebp - 0xc], 0
cmp edi, 0x204
je 0x1004c1eb
cmp edi, 0x206
jne 0x1004c1f2
mov dword [ebp - 0xc], 1
cmp edi, 0x207
je 0x1004c202
cmp edi, 0x209
jne 0x1004c209
mov dword [ebp - 0xc], 2
cmp edi, 0x20b
je 0x1004c219
cmp edi, 0x20d
jne 0x1004c22c
mov eax, dword [ebx + 8]
shr eax, 0x10
dec eax
neg eax
sbb eax, eax
neg eax
add eax, 3
mov dword [ebp - 0xc], eax
mov edi, dword [ebp - 8]
cmp dword [edi + 0xc], 0
jne 0x1004c248
call dword [sym.imp.USER32.dll_GetCapture]
test eax, eax
jne 0x1004c248
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_SetCapture]
mov eax, dword [edi + 0xc]
mov ecx, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
bts eax, edi
push dword [ebp - 0x18]
mov dword [ecx + 0xc], eax
mov ecx, esi
call fcn.1001d1e0
push 1
push edi
mov ecx, esi
call fcn.1001d000
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.1004bac0
xor ecx, ecx
mov dword [ebp - 0x18], eax
cmp edi, 0x205
sete cl
mov dword [ebp - 0xc], ecx
cmp edi, 0x208
jne 0x1004c29b
mov ecx, 2
jmp 0x1004c2b3
cmp edi, 0x20c
jne 0x1004c2b6
mov ecx, dword [ebx + 8]
shr ecx, 0x10
dec ecx
neg ecx
sbb ecx, ecx
neg ecx
add ecx, 3
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0xc]
btr eax, ecx
mov dword [edx + 0xc], eax
test eax, eax
jne 0x1004c2d7
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [ebp - 0x10]
jne 0x1004c2d7
call dword [sym.imp.USER32.dll_ReleaseCapture]
push dword [ebp - 0x18]
mov ecx, esi
call fcn.1001d1e0
push 0
push dword [ebp - 0xc]
mov ecx, esi
call fcn.1001d000
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov eax, dword [ebx + 8]
xorps xmm1, xmm1
shr eax, 0x10
mov ecx, esi
cwde
movd xmm2, eax
cvtdq2ps xmm2, xmm2
divss xmm2, dword [0x100ae2a0]
call fcn.1001d130
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov eax, dword [ebx + 8]
xorps xmm2, xmm2
shr eax, 0x10
mov ecx, esi
cwde
movd xmm1, eax
cvtdq2ps xmm1, xmm1
xorps xmm1, xmmword [0x100ae6b0]
divss xmm1, dword [0x100ae2a0]
call fcn.1001d130
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret