Function at 0x1014a360
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 0x10316acc
mov dword [ebp - 0xc], ebx
call dword [sym.imp.KERNEL32.dll_InitOnceBeginInitialize]
test eax, eax
jne 0x1014a38e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
cmp dword [ebp - 0x10], 0
je 0x1014a4a6
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 + 0x10316ad8], ecx
or dword [esi*8 + 0x10316adc], edx
inc edi
sub ebx, 1
jne 0x1014a3a0
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 + 0x10316ad8], ecx
or dword [esi*8 + 0x10316adc], edx
inc edi
sub ebx, 1
jne 0x1014a3e0
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 + 0x10316ad8], ecx
or dword [esi*8 + 0x10316adc], edx
inc edi
sub ebx, 1
jne 0x1014a420
mov esi, dword [0x10316ad8]
mov ecx, dword [0x10316aec]
or esi, 0x10000
mov eax, dword [0x10316ae8]
or ecx, 3
or dword [0x10316adc], 0x401e
or esi, 0x60100
push ebx
push ebx
push 0x10316acc
mov dword [0x10316ae8], eax
mov dword [0x10316aec], ecx
mov dword [0x10316ad8], esi
call dword [sym.imp.KERNEL32.dll_InitOnceComplete]
test eax, eax
je 0x1014a999
mov ebx, dword [ebp - 0xc]
mov eax, dword [0x10255824]
push ecx
push ebx
mov ecx, dword [eax + 0x3e58]
call fcn.100ec1b0
mov ecx, dword [0x10255824]
push ecx
push ebx
mov dword [ebp - 0x10], eax
mov esi, dword [ecx + 0x3e58]
mov ecx, esi
call fcn.100ec1b0
mov ecx, dword [esi + 0xe4]
add esi, 0xe4
mov ebx, eax
mov edi, dword [esi + 4]
cmp ecx, edi
jne 0x1014a507
inc ecx
test edi, edi
je 0x1014a4f5
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x1014a4fa
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.10102bc0
mov ecx, dword [esi]
mov eax, dword [esi + 8]
mov dword [eax + ecx*4], ebx
mov eax, dword [0x10255824]
inc dword [esi]
mov ebx, dword [ebp - 0x10]
cmp dword [eax + 0x3ea4], ebx
jne 0x1014a64b
or dword [eax + 0x46bc], 0x200
lea edx, [ebp - 0x14]
push 0
mov ecx, 0x102235b0
mov dword [ebp - 0x14], 0x42c80000
mov dword [ebp - 0x10], 0
call fcn.10121230
add esp, 4
xor ecx, ecx
call fcn.100ec690
test al, al
jne 0x1014a575
push 0
xor edx, edx
xor ecx, ecx
call fcn.100f72a0
add esp, 4
test al, al
je 0x1014a575
xor edx, edx
xor ecx, ecx
jmp 0x1014a91a
push 1
xor edx, edx
mov ecx, 0x20e
call fcn.100f7090
add esp, 4
test al, al
je 0x1014a5a3
cmp byte [ebp + 8], 0
je 0x1014a5a3
mov ecx, dword [ebp - 8]
xor edx, edx
mov dword [ecx + 0x20], 0
xor ecx, ecx
jmp 0x1014a91a
mov edx, dword [0x10255824]
mov ecx, ebx
mov eax, dword [edx + 0x3e58]
mov byte [eax + 0xac], 1
mov edx, dword [edx + 0x3e58]
call fcn.100ec450
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 0x1014a62c
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 + 0x10316ad8]
and ecx, dword [eax*8 + 0x10316adc]
or edx, ecx
je 0x1014a62c
test bl, bl
jne 0x1014a63c
cmp si, 0x2d
je 0x1014a62c
cmp si, 0x78
je 0x1014a62c
cmp si, 0x79
je 0x1014a62c
cmp si, 0x7b
jne 0x1014a63c
inc esi
mov eax, 0xff
cmp si, ax
jl 0x1014a5d0
jmp 0x1014a91f
mov ecx, dword [ebp - 8]
xor edx, edx
mov dword [ecx + 0x20], edi
xor ecx, ecx
jmp 0x1014a91a
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 0x20]
test ecx, ecx
jne 0x1014a662
cmp byte [ebp + 8], cl
je 0x1014a662
mov eax, dword [ebp + 0x10]
jmp 0x1014a8d6
cmp ecx, 0xa1
ja case.0x1014a675.3
movzx eax, byte [ecx + 0x1014aa94]
jmp dword [eax*4 + 0x1014a9a0]
mov eax, 0x1022e890
jmp 0x1014a8d6
mov eax, 0x1022e8a8
jmp 0x1014a8d6
mov eax, 0x1022e8a4
jmp 0x1014a8d6
mov eax, str.Mouse4
jmp 0x1014a8d6
mov eax, str.Mouse5
jmp 0x1014a8d6
mov eax, str.Back
jmp 0x1014a8d6
mov eax, str.Space
jmp 0x1014a8d6
mov eax, str.None
jmp 0x1014a8d6
mov eax, 0x102241cc
jmp 0x1014a8d6
mov eax, 0x102241c8
jmp 0x1014a8d6
mov eax, 0x102241e4
jmp 0x1014a8d6
mov eax, 0x102241e0
jmp 0x1014a8d6
mov eax, 0x102241dc
jmp 0x1014a8d6
mov eax, 0x102241d8
jmp 0x1014a8d6
mov eax, 0x102241f4
jmp 0x1014a8d6
mov eax, 0x102241f0
jmp 0x1014a8d6
mov eax, 0x102241ec
jmp 0x1014a8d6
mov eax, 0x102241e8
jmp 0x1014a8d6
mov eax, 0x10224204
jmp 0x1014a8d6
mov eax, 0x10224200
jmp 0x1014a8d6
mov eax, 0x102241fc
jmp 0x1014a8d6
mov eax, 0x102241f8
jmp 0x1014a8d6
mov eax, 0x10224214
jmp 0x1014a8d6
mov eax, 0x10224210
jmp 0x1014a8d6
mov eax, 0x1022420c
jmp 0x1014a8d6
mov eax, 0x10224208
jmp 0x1014a8d6
mov eax, 0x10224224
jmp 0x1014a8d6
mov eax, 0x10224220
jmp 0x1014a8d6
mov eax, 0x1022421c
jmp 0x1014a8d6
mov eax, 0x10224218
jmp 0x1014a8d6
mov eax, 0x10224234
jmp 0x1014a8d6
mov eax, 0x10220100
jmp 0x1014a8d6
mov eax, 0x10224230
jmp 0x1014a8d6
mov eax, 0x1022422c
jmp 0x1014a8d6
mov eax, 0x1021bf14
jmp 0x1014a8d6
mov eax, 0x10220448
jmp 0x1014a8d6
mov eax, 0x1022419c
jmp 0x1014a8d6
mov eax, 0x10224198
jmp 0x1014a8d6
mov eax, 0x102241c4
jmp 0x1014a8d6
mov eax, 0x102241c0
jmp 0x1014a8d6
mov eax, 0x102241bc
jmp 0x1014a8d6
mov eax, 0x102241b8
jmp 0x1014a8d6
mov eax, 0x102241d4
jmp 0x1014a8d6
mov eax, 0x102241d0
jmp 0x1014a8d6
mov eax, str.Escape
jmp 0x1014a8d6
mov eax, str.Shift
jmp 0x1014a8d6
mov eax, str.LShift
jmp 0x1014a8d6
mov eax, str.RShift
jmp 0x1014a8d6
mov eax, str.Control
jmp 0x1014a8d6
mov eax, str.LAlt
jmp 0x1014a8d6
mov eax, str.Page_Up
jmp 0x1014a8d6
mov eax, str.Page_Down
jmp 0x1014a8d6
mov eax, str.Insert
jmp 0x1014a8d6
mov eax, str.Delete
jmp 0x1014a8d6
mov eax, str.Home
jmp 0x1014a8d6
mov eax, 0x10224100
jmp 0x1014a8d6
mov eax, 0x10224248
jmp 0x1014a8d6
mov eax, 0x1022426c
jmp 0x1014a8d6
mov eax, 0x10224268
jmp 0x1014a8d6
mov eax, 0x10224264
jmp 0x1014a8d6
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, 0x1021f660
mov dword [ebp - 0x10], 0
push 0
cmovne ecx, eax
lea edx, [ebp - 0x14]
call fcn.10121230
add esp, 4
test al, al
je 0x1014a91f
mov edx, dword [0x10255824]
mov ecx, ebx
mov eax, dword [edx + 0x3e58]
mov byte [eax + 0xac], 1
mov edx, dword [edx + 0x3e58]
call fcn.100ec450
movss xmm1, dword [0x1023d440]
xorps xmm0, xmm0
call fcn.100f9ef0
push dword [ebp - 0xc]
push 0x10220d68
call fcn.101209f0
mov eax, dword [0x10255824]
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 0x1014a96d
push 0x1e80
push str.D:_aFedorawareFedorawareFedorawareFedoraware_TF2includeImGuiimgui.cpp
push str.window__IDStack.Size___1
call edi
add esp, 0xc
cmp dword [esi + 0xe4], 0
jg 0x1014a98a
push 0x746
push str.D:_aFedorawareFedorawareFedorawareFedoraware_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
ret 0x14a6