Function at 0x1013da90
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 0x102fdbd0
mov dword [ebp - 0xc], ebx
call dword [sym.imp.KERNEL32.dll_InitOnceBeginInitialize]
test eax, eax
jne 0x1013dabe
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
cmp dword [ebp - 0x10], 0
je 0x1013dbd6
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 + 0x102fdbd8], ecx
or dword [esi*8 + 0x102fdbdc], edx
inc edi
sub ebx, 1
jne 0x1013dad0
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 + 0x102fdbd8], ecx
or dword [esi*8 + 0x102fdbdc], edx
inc edi
sub ebx, 1
jne 0x1013db10
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 + 0x102fdbd8], ecx
or dword [esi*8 + 0x102fdbdc], edx
inc edi
sub ebx, 1
jne 0x1013db50
mov esi, dword [0x102fdbd8]
mov ecx, dword [0x102fdbec]
or esi, 0x10000
mov eax, dword [0x102fdbe8]
or ecx, 3
or dword [0x102fdbdc], 0x401e
or esi, 0x60100
push ebx
push ebx
push 0x102fdbd0
mov dword [0x102fdbe8], eax
mov dword [0x102fdbec], ecx
mov dword [0x102fdbd8], esi
call dword [sym.imp.KERNEL32.dll_InitOnceComplete]
test eax, eax
je 0x1013e0c9
mov ebx, dword [ebp - 0xc]
mov eax, dword [0x10243f84]
push ecx
push ebx
mov ecx, dword [eax + 0x3e58]
call fcn.100de4a0
mov ecx, dword [0x10243f84]
push ecx
push ebx
mov dword [ebp - 0x10], eax
mov esi, dword [ecx + 0x3e58]
mov ecx, esi
call fcn.100de4a0
mov ecx, dword [esi + 0xe4]
add esi, 0xe4
mov ebx, eax
mov edi, dword [esi + 4]
cmp ecx, edi
jne 0x1013dc37
inc ecx
test edi, edi
je 0x1013dc25
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x1013dc2a
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.100f4fa0
mov ecx, dword [esi]
mov eax, dword [esi + 8]
mov dword [eax + ecx*4], ebx
mov eax, dword [0x10243f84]
inc dword [esi]
mov ebx, dword [ebp - 0x10]
cmp dword [eax + 0x3ea4], ebx
jne 0x1013dd7b
or dword [eax + 0x46bc], 0x200
lea edx, [ebp - 0x14]
push 0
mov ecx, 0x10211ebc
mov dword [ebp - 0x14], 0x42c80000
mov dword [ebp - 0x10], 0
call fcn.10113ca0
add esp, 4
xor ecx, ecx
call fcn.100de980
test al, al
jne 0x1013dca5
push 0
xor edx, edx
xor ecx, ecx
call fcn.100e9480
add esp, 4
test al, al
je 0x1013dca5
xor edx, edx
xor ecx, ecx
jmp 0x1013e04a
push 1
xor edx, edx
mov ecx, 0x20e
call fcn.100e9270
add esp, 4
test al, al
je 0x1013dcd3
cmp byte [ebp + 8], 0
je 0x1013dcd3
mov ecx, dword [ebp - 8]
xor edx, edx
mov dword [ecx + 0x20], 0
xor ecx, ecx
jmp 0x1013e04a
mov edx, dword [0x10243f84]
mov ecx, ebx
mov eax, dword [edx + 0x3e58]
mov byte [eax + 0xac], 1
mov edx, dword [edx + 0x3e58]
call fcn.100de740
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 0x1013dd5c
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 + 0x102fdbd8]
and ecx, dword [eax*8 + 0x102fdbdc]
or edx, ecx
je 0x1013dd5c
test bl, bl
jne 0x1013dd6c
cmp si, 0x2d
je 0x1013dd5c
cmp si, 0x78
je 0x1013dd5c
cmp si, 0x79
je 0x1013dd5c
cmp si, 0x7b
jne 0x1013dd6c
inc esi
mov eax, 0xff
cmp si, ax
jl 0x1013dd00
jmp 0x1013e04f
mov ecx, dword [ebp - 8]
xor edx, edx
mov dword [ecx + 0x20], edi
xor ecx, ecx
jmp 0x1013e04a
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 0x20]
test ecx, ecx
jne 0x1013dd92
cmp byte [ebp + 8], cl
je 0x1013dd92
mov eax, dword [ebp + 0x10]
jmp 0x1013e006
cmp ecx, 0xa1
ja case.0x1013dda5.3
movzx eax, byte [ecx + 0x1013e1c4]
jmp dword [eax*4 + 0x1013e0d0]
mov eax, 0x1021d230
jmp 0x1013e006
mov eax, 0x1021d248
jmp 0x1013e006
mov eax, 0x1021d244
jmp 0x1013e006
mov eax, str.Mouse4
jmp 0x1013e006
mov eax, str.Mouse5
jmp 0x1013e006
mov eax, str.Back
jmp 0x1013e006
mov eax, str.Space
jmp 0x1013e006
mov eax, str.None
jmp 0x1013e006
mov eax, 0x10212b40
jmp 0x1013e006
mov eax, 0x10212b5c
jmp 0x1013e006
mov eax, 0x10212b58
jmp 0x1013e006
mov eax, 0x10212b54
jmp 0x1013e006
mov eax, 0x10212b50
jmp 0x1013e006
mov eax, 0x10212b6c
jmp 0x1013e006
mov eax, 0x10212b68
jmp 0x1013e006
mov eax, 0x10212b64
jmp 0x1013e006
mov eax, 0x10212b60
jmp 0x1013e006
mov eax, 0x10212b7c
jmp 0x1013e006
mov eax, 0x10212b78
jmp 0x1013e006
mov eax, 0x10212b74
jmp 0x1013e006
mov eax, 0x10212b70
jmp 0x1013e006
mov eax, 0x10212b8c
jmp 0x1013e006
mov eax, 0x10212b88
jmp 0x1013e006
mov eax, 0x10212b84
jmp 0x1013e006
mov eax, 0x10212b80
jmp 0x1013e006
mov eax, 0x10212b9c
jmp 0x1013e006
mov eax, 0x10212b98
jmp 0x1013e006
mov eax, 0x10212b94
jmp 0x1013e006
mov eax, 0x10212b90
jmp 0x1013e006
mov eax, 0x10212bac
jmp 0x1013e006
mov eax, 0x10212ba8
jmp 0x1013e006
mov eax, 0x1020e91c
jmp 0x1013e006
mov eax, 0x10212ba4
jmp 0x1013e006
mov eax, 0x10212ba0
jmp 0x1013e006
mov eax, 0x1020a8dc
jmp 0x1013e006
mov eax, 0x1020ec18
jmp 0x1013e006
mov eax, 0x10212b08
jmp 0x1013e006
mov eax, 0x10212b3c
jmp 0x1013e006
mov eax, 0x10212b38
jmp 0x1013e006
mov eax, 0x10212b34
jmp 0x1013e006
mov eax, 0x10212b30
jmp 0x1013e006
mov eax, 0x10212b4c
jmp 0x1013e006
mov eax, 0x10212b48
jmp 0x1013e006
mov eax, 0x10212b44
jmp 0x1013e006
mov eax, str.Escape
jmp 0x1013e006
mov eax, str.Shift
jmp 0x1013e006
mov eax, str.LShift
jmp 0x1013e006
mov eax, str.RShift
jmp 0x1013e006
mov eax, str.Control
jmp 0x1013e006
mov eax, str.LAlt
jmp 0x1013e006
mov eax, str.Page_Up
jmp 0x1013e006
mov eax, str.Page_Down
jmp 0x1013e006
mov eax, str.Insert
jmp 0x1013e006
mov eax, str.Delete
jmp 0x1013e006
mov eax, str.Home
jmp 0x1013e006
mov eax, 0x10212ab4
jmp 0x1013e006
mov eax, 0x10212bdc
jmp 0x1013e006
mov eax, 0x10212bd8
jmp 0x1013e006
mov eax, 0x10212bd4
jmp 0x1013e006
mov eax, 0x10212bd0
jmp 0x1013e006
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, 0x1020dd8c
mov dword [ebp - 0x10], 0
push 0
cmovne ecx, eax
lea edx, [ebp - 0x14]
call fcn.10113ca0
add esp, 4
test al, al
je 0x1013e04f
mov edx, dword [0x10243f84]
mov ecx, ebx
mov eax, dword [edx + 0x3e58]
mov byte [eax + 0xac], 1
mov edx, dword [edx + 0x3e58]
call fcn.100de740
movss xmm1, dword [0x1022ba08]
xorps xmm0, xmm0
call fcn.100ec120
push dword [ebp - 0xc]
push 0x1020f524
call fcn.10113470
mov eax, dword [0x10243f84]
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 0x1013e09d
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 0x1013e0ba
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
fst qword [ebx]
adc byte [ebp + ebx*8 - 575270893], ch
adc edx, dword [eax]
rcr ch, 0x13
adc dl, cl
fst qword [ebx]
adc ah, dl
fst qword [ebx]
adc dh, bl
fst qword [ebx]
adc byte [esi - 0x21], ch
adc edx, dword [eax]
mov edi, ebx
adc edx, dword [eax]
nop
fist word [ebx]
adc byte [edi + ebx*8 + 0x13], ah
adc al, ch
fst qword [ebx]
adc byte [edi - 0x61efec21], dl
fist word [ebx]
adc byte [edx - 0x4cefec21], bh
fist word [ebx]
adc byte [ebp - 0x53efec21], ah
fist word [ebx]
adc byte [eax], al
fist word [ebx]
adc byte [edx], cl
fist word [ebx]
adc byte [edi + ebx*8], dl
adc edx, dword [eax]
push ds
fist word [ebx]
adc byte [eax], ch
fist word [ebx]
adc byte [edx], dh
fist word [ebx]
adc byte [edi + ebx*8], bh
adc edx, dword [eax]
inc esi
fist word [ebx]
adc byte [eax - 0x21], dl
adc edx, dword [eax]
pop edx
fist word [ebx]
adc ah, bh
fst qword [ebx]
adc byte [esi], al
ficom word [ebx]
adc byte [eax], dl
ficom word [ebx]
adc byte [edx], bl
ficom word [ebx]
adc byte [esi + ebx*8], ah
and al, 0xde
adc edx, dword [eax]
ficom word cs:[ebx]
adc byte [eax], bh
ficom word [ebx]
adc byte [edx - 0x22], al
adc edx, dword [eax]
push esi
ficom word [ebx]
adc byte [esi + ebx*8 + 0x13], cl
adc byte [eax - 0x22], ah
adc edx, dword [eax]
push 0xffffffffffffffde
adc edx, dword [eax]
je 0x1013e150
adc edx, dword [eax]
jle 0x1013e154
adc edx, dword [eax]
mov dh, bl
adc edx, dword [eax]
xchg edx, eax
ficom word [ebx]
adc byte [esi + ebx*8 - 0x2159efed], bl
adc edx, dword [eax]
mov al, 0xde
adc edx, dword [eax]
mov edx, 0xc41013de
ficom word [ebx]
adc dh, cl
ficom word [ebx]
adc al, bl
ficom word [ebx]
adc dl, ah
ficom word [ebx]
adc ah, ch
ficom word [ebx]
adc dh, dh
ficom word [ebx]
adc cl, al
fist word [ebx]
adc al, cl
fist word [ebx]
adc bh, cl
fist word [ebx]
adc dh, dl
fist word [ebx]
adc byte [eax - 0x21], bh
adc edx, dword [eax]
sbb bh, 0x13
adc ch, bl
fist word [ebx]
adc byte [eax], al
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
cmp al, 60
cmp al, 60
cmp al, 60
or bh, byte [esp + edi]
cmp al, 60
or ecx, dword [ecx + 1010568974]
cmp al, 60
cmp al, 60
cmp al, 60
adc byte [ecx], dl
cmp al, 18
adc edx, dword [edx + 421009174]
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