Function at 0x10144040
Capabilities:
Encode data using xor
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
push 0
lea eax, [ebp - 0x10]
mov dword [ebp - 8], edx
push eax
push 0
mov ebx, ecx
push 0x10310acc
mov dword [ebp - 0xc], ebx
call dword [sym.imp.KERNEL32.dll_InitOnceBeginInitialize]
test eax, eax
jne 0x1014406e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
cmp dword [ebp - 0x10], 0
je 0x10144186
xor edi, edi
lea ebx, [edi + 8]
nop dword [eax]
xor ecx, ecx
mov eax, edi
and eax, 0x3f
xor edx, edx
bts ecx, eax
mov esi, edi
shr esi, 6
cmp eax, 0x20
cmovae edx, ecx
xor ecx, edx
cmp eax, 0x40
cmovae edx, ecx
or dword [esi*8 + 0x10310ad8], ecx
or dword [esi*8 + 0x10310adc], edx
inc edi
sub ebx, 1
jne 0x10144080
mov edi, 0x30
lea ebx, [edi - 5]
nop dword [eax + eax]
xor ecx, ecx
mov eax, edi
and eax, 0x3f
xor edx, edx
bts ecx, eax
mov esi, edi
shr esi, 6
cmp eax, 0x20
cmovae edx, ecx
xor ecx, edx
cmp eax, 0x40
cmovae edx, ecx
or dword [esi*8 + 0x10310ad8], ecx
or dword [esi*8 + 0x10310adc], edx
inc edi
sub ebx, 1
jne 0x101440c0
mov edi, 0x41
lea ebx, [edi - 0x27]
nop dword [eax + eax]
xor ecx, ecx
mov eax, edi
and eax, 0x3f
xor edx, edx
bts ecx, eax
mov esi, edi
shr esi, 6
cmp eax, 0x20
cmovae edx, ecx
xor ecx, edx
cmp eax, 0x40
cmovae edx, ecx
or dword [esi*8 + 0x10310ad8], ecx
or dword [esi*8 + 0x10310adc], edx
inc edi
sub ebx, 1
jne 0x10144100
mov esi, dword [0x10310ad8]
mov ecx, dword [0x10310aec]
or esi, 0x10000
mov eax, dword [0x10310ae8]
or ecx, 3
or dword [0x10310adc], 0x401e
or esi, 0x60100
push ebx
push ebx
push 0x10310acc
mov dword [0x10310ae8], eax
mov dword [0x10310aec], ecx
mov dword [0x10310ad8], esi
call dword [sym.imp.KERNEL32.dll_InitOnceComplete]
test eax, eax
je 0x10144679
mov ebx, dword [ebp - 0xc]
mov eax, dword [0x1024f7f4]
push ecx
push ebx
mov ecx, dword [eax + 0x3e58]
call fcn.100e5630
mov ecx, dword [0x1024f7f4]
push ecx
push ebx
mov dword [ebp - 0x10], eax
mov esi, dword [ecx + 0x3e58]
mov ecx, esi
call fcn.100e5630
mov ecx, dword [esi + 0xe4]
add esi, 0xe4
mov ebx, eax
mov edi, dword [esi + 4]
cmp ecx, edi
jne 0x101441e7
inc ecx
test edi, edi
je 0x101441d5
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x101441da
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.100fc030
mov ecx, dword [esi]
mov eax, dword [esi + 8]
mov dword [eax + ecx*4], ebx
mov eax, dword [0x1024f7f4]
inc dword [esi]
mov ebx, dword [ebp - 0x10]
cmp dword [eax + 0x3ea4], ebx
jne 0x1014432b
or dword [eax + 0x46bc], 0x200
lea edx, [ebp - 0x14]
push 0
mov ecx, 0x1021da50
mov dword [ebp - 0x14], 0x42c80000
mov dword [ebp - 0x10], 0
call fcn.1011aca0
add esp, 4
xor ecx, ecx
call fcn.100e5b10
test al, al
jne 0x10144255
push 0
xor edx, edx
xor ecx, ecx
call fcn.100f0700
add esp, 4
test al, al
je 0x10144255
xor edx, edx
xor ecx, ecx
jmp 0x101445fa
push 1
xor edx, edx
mov ecx, 0x20e
call fcn.100f04f0
add esp, 4
test al, al
je 0x10144283
cmp byte [ebp + 8], 0
je 0x10144283
mov ecx, dword [ebp - 8]
xor edx, edx
mov dword [ecx + 0x20], 0
xor ecx, ecx
jmp 0x101445fa
mov edx, dword [0x1024f7f4]
mov ecx, ebx
mov eax, dword [edx + 0x3e58]
mov byte [eax + 0xac], 1
mov edx, dword [edx + 0x3e58]
call fcn.100e58d0
mov bl, byte [ebp + 0xc]
xor esi, esi
nop dword [eax + eax]
movsx edi, si
push edi
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1014430c
xor edx, edx
xor ecx, ecx
mov eax, edi
and eax, 0x3f
bts edx, eax
cmp eax, 0x20
cmovae ecx, edx
xor edx, ecx
cmp eax, 0x40
mov eax, edi
cmovae ecx, edx
shr eax, 6
and edx, dword [eax*8 + 0x10310ad8]
and ecx, dword [eax*8 + 0x10310adc]
or edx, ecx
je 0x1014430c
test bl, bl
jne 0x1014431c
cmp si, 0x2d
je 0x1014430c
cmp si, 0x78
je 0x1014430c
cmp si, 0x79
je 0x1014430c
cmp si, 0x7b
jne 0x1014431c
inc esi
mov eax, 0xff
cmp si, ax
jl 0x101442b0
jmp 0x101445ff
mov ecx, dword [ebp - 8]
xor edx, edx
mov dword [ecx + 0x20], edi
xor ecx, ecx
jmp 0x101445fa
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 0x20]
test ecx, ecx
jne 0x10144342
cmp byte [ebp + 8], cl
je 0x10144342
mov eax, dword [ebp + 0x10]
jmp 0x101445b6
cmp ecx, 0xa1
ja case.0x10144355.3
movzx eax, byte [ecx + 0x10144774]
jmp dword [eax*4 + 0x10144680]
mov eax, 0x10228f18
jmp 0x101445b6
mov eax, 0x10228f30
jmp 0x101445b6
mov eax, 0x10228f2c
jmp 0x101445b6
mov eax, str.Mouse4
jmp 0x101445b6
mov eax, str.Mouse5
jmp 0x101445b6
mov eax, str.Back
jmp 0x101445b6
mov eax, str.Space
jmp 0x101445b6
mov eax, str.None
jmp 0x101445b6
mov eax, 0x1021e53c
jmp 0x101445b6
mov eax, 0x1021e538
jmp 0x101445b6
mov eax, 0x1021e534
jmp 0x101445b6
mov eax, 0x1021e530
jmp 0x101445b6
mov eax, 0x1021e54c
jmp 0x101445b6
mov eax, 0x1021e548
jmp 0x101445b6
mov eax, 0x1021e544
jmp 0x101445b6
mov eax, 0x1021e540
jmp 0x101445b6
mov eax, 0x1021e55c
jmp 0x101445b6
mov eax, 0x1021e558
jmp 0x101445b6
mov eax, 0x1021e554
jmp 0x101445b6
mov eax, 0x1021e550
jmp 0x101445b6
mov eax, 0x1021e56c
jmp 0x101445b6
mov eax, 0x1021e568
jmp 0x101445b6
mov eax, 0x1021e564
jmp 0x101445b6
mov eax, 0x1021e560
jmp 0x101445b6
mov eax, 0x1021e57c
jmp 0x101445b6
mov eax, 0x1021e578
jmp 0x101445b6
mov eax, 0x1021e574
jmp 0x101445b6
mov eax, 0x1021e570
jmp 0x101445b6
mov eax, 0x1021e58c
jmp 0x101445b6
mov eax, 0x1021e588
jmp 0x101445b6
mov eax, 0x1021e584
jmp 0x101445b6
mov eax, 0x1021a028
jmp 0x101445b6
mov eax, 0x1021e580
jmp 0x101445b6
mov eax, 0x1021e59c
jmp 0x101445b6
mov eax, 0x10215e3c
jmp 0x101445b6
mov eax, 0x1021a3f0
jmp 0x101445b6
mov eax, 0x1021e51c
jmp 0x101445b6
mov eax, 0x1021e518
jmp 0x101445b6
mov eax, 0x1021e514
jmp 0x101445b6
mov eax, 0x1021e510
jmp 0x101445b6
mov eax, 0x1021e52c
jmp 0x101445b6
mov eax, 0x1021e528
jmp 0x101445b6
mov eax, 0x1021e524
jmp 0x101445b6
mov eax, 0x1021e520
jmp 0x101445b6
mov eax, str.Escape
jmp 0x101445b6
mov eax, str.Shift
jmp 0x101445b6
mov eax, str.LShift
jmp 0x101445b6
mov eax, str.RShift
jmp 0x101445b6
mov eax, str.Control
jmp 0x101445b6
mov eax, str.LAlt
jmp 0x101445b6
mov eax, str.Page_Up
jmp 0x101445b6
mov eax, str.Page_Down
jmp 0x101445b6
mov eax, str.Insert
jmp 0x101445b6
mov eax, str.Delete
jmp 0x101445b6
mov eax, str.Home
jmp 0x101445b6
mov eax, 0x1021e484
jmp 0x101445b6
mov eax, 0x1021e5b8
jmp 0x101445b6
mov eax, 0x1021e5b4
jmp 0x101445b6
mov eax, 0x1021e5b0
jmp 0x101445b6
mov eax, 0x1021e5dc
jmp 0x101445b6
push 0x10
lea eax, [ebp - 0x1c]
xorps xmm0, xmm0
push eax
push 0
push ecx
movups xmmword [ebp - 0x1c], xmm0
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
shl eax, 0x10
push eax
call dword [sym.imp.USER32.dll_GetKeyNameTextA]
neg eax
lea ecx, [ebp - 0x1c]
sbb eax, eax
and eax, ecx
test eax, eax
mov dword [ebp - 0x14], 0x42c80000
mov ecx, 0x10219590
mov dword [ebp - 0x10], 0
push 0
cmovne ecx, eax
lea edx, [ebp - 0x14]
call fcn.1011aca0
add esp, 4
test al, al
je 0x101445ff
mov edx, dword [0x1024f7f4]
mov ecx, ebx
mov eax, dword [edx + 0x3e58]
mov byte [eax + 0xac], 1
mov edx, dword [edx + 0x3e58]
call fcn.100e58d0
movss xmm1, dword [0x10237b78]
xorps xmm0, xmm0
call fcn.100f3370
push dword [ebp - 0xc]
push 0x1021acd8
call fcn.1011a480
mov eax, dword [0x1024f7f4]
add esp, 8
mov edi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov esi, dword [eax + 0x3e58]
cmp dword [esi + 0xe4], 1
jg 0x1014464d
push 0x1e80
push str.C:UsersPcDownloadsGTA_SAN_ANDREAS___FULL1_fware_iv_mainFedorawareFedoraware_TF2includeImGuiimgui.cpp
push str.window__IDStack.Size___1
call edi
add esp, 0xc
cmp dword [esi + 0xe4], 0
jg 0x1014466a
push 0x746
push str.C:UsersPcDownloadsGTA_SAN_ANDREAS___FULL1_fware_iv_mainFedorawareFedoraware_TF2includeImGuiimgui.h
push str.Size___0
call edi
add esp, 0xc
dec dword [esi + 0xe4]
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop
mov byte [0x5c101443], al
inc ebx
adc al, 0x10
inc bx
adc al, 16
jo 0x101446d1
adc al, 0x10
jp 0x101446d5
adc al, 0x10
test byte [ebx + 0x14], al
adc byte [esi + 504370243], cl
inc ebp
adc al, 0x10
cmp dword [ebp + 0x14], eax
adc byte [eax + 69], al
adc al, 0x10
adc al, 0x45
adc al, 16
cwde
inc ebx
adc al, 0x10
inc edi
inc ebp
adc al, 0x10
dec esi
inc ebp
adc al, 0x10
push 0x45
adc al, 16
arpl word [ebp + 0x14], ax
adc byte [ebp + 69], dl
adc al, 0x10
pop esp
inc ebp
adc al, 0x10
mov al, 0x44
adc al, 16
mov edx, 0xc4101444
inc esp
adc al, 0x10
into
inc esp
adc al, 0x10
fadd dword [esp + edx + 0x10]
loop 269764386
adc al, 0x10
in al, dx
inc esp
adc al, 0x10
test byte [esp + edx + 0x10], 0
inc ebp
adc al, 0x10
or al, byte [ebp + 0x14]
adc byte [ebx + eax*2 + 1136005140], ch
adc al, 0x10
rol byte [ebx + 0x14], 0x10
retf 5187
adc al, 0x10
inc esp
adc al, 16
cmp byte [esp + edx + 0x10], al
inc edx
inc esp
adc al, 0x10
dec esp
inc esp
adc al, 0x10
push esi
inc esp
adc al, 0x10
pushal
inc esp
adc al, 0x10
push 0x44
adc al, 16
je 0x10144786
adc al, 0x10
jle 0x1014478a
adc al, 0x10
mov byte [esp + edx + 0x10], al
xchg edx, eax
inc esp
adc al, 0x10
pushfd
inc esp
adc al, 0x10
cmpsb byte [esi], byte es:[edi]
inc esp
adc al, 0x10
jno 0x1014479f
adc al, 0x10
js 0x101447a3
adc al, 0x10
jg 0x101447a7
adc al, 0x10
xchg byte [ebp + 0x14], al
adc byte [eax], ch
inc ebp
adc al, 0x10
xor al, byte [ebp + 0x14]
adc byte [ebp + 1053765], cl
add dword [edx], eax
cmp al, 3
add al, 5
cmp al, 6
cmp al, 60
cmp al, 60
cmp al, 60
cmp al, 7
or byte [ecx], cl
cmp al, 60
or dword [esp + edi], edi
cmp al, 0x3c
cmp al, 60
cmp al, 60
or bh, byte [esp + edi]
cmp al, 0x3c
cmp al, 60
cmp al, 10
cmp al, 60
cmp al, 0x3c
or ecx, dword [ecx + 1010568974]
cmp al, 60
cmp al, 60
cmp al, 0x3c
adc byte [ecx], dl
cmp al, 0x12
adc edx, dword [edx + 421009174]
adc eax, 0x19181716
sbb bl, byte [ebx]
cmp al, 60
cmp al, 60
cmp al, 60
cmp al, 28
sbb eax, 555753246
and ah, byte [ebx]
and al, 37
daa
sub byte [ecx], ch
sub ch, byte [ebx]
sub al, 45
das
xor byte [ecx], dh
xor dh, byte [ebx]
xor al, 53
cmp al, 60
cmp al, 60
cmp al, 60
cmp al, 60
cmp al, 60
cmp al, 60
cmp al, 60
cmp al, 60
cmp al, 60
cmp al, 60
cmp al, 60
cmp al, 60
cmp al, 60
cmp al, 60
cmp al, 54
aaa
cmp byte [ecx], bh
cmp al, 60
cmp al, 60
cmp al, 60
cmp al, 60
cmp al, 60
cmp al, 60
cmp al, 60
cmp al, 60
cmp al, 60
cmp al, 60
cmp al, 60
cmp al, 60
cmp al, 60
cmp al, 60
cmp al, 60
cmp al, 60
cmp al, 60
cmp al, 60
cmp bh, byte [ebx]
int3