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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
mov eax, dword [0x4c70c0]
xor eax, esp
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, edx
push edi
mov edx, 0x4b0d2c
mov dword [esp + 0xc], eax
call fcn.00425060
test al, al
je 0x488487
push 0xfffffffffffffff0
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x40000
je 0x488487
mov dword [esp + 0x14], 7
mov eax, dword [esp + 0x14]
xor al, 0x5b
mov byte [esp + 0x18], al
mov eax, dword [esp + 0x14]
inc al
xor al, 0x43
mov byte [esp + 0x19], al
mov eax, dword [esp + 0x14]
add al, 2
xor al, 0x74
mov byte [esp + 0x1a], al
mov eax, dword [esp + 0x14]
add al, 3
xor al, 0x72
mov byte [esp + 0x1b], al
mov eax, dword [esp + 0x14]
add al, 4
xor al, 0x6c
mov byte [esp + 0x1c], al
mov eax, dword [esp + 0x14]
add al, 5
xor al, 0x5d
mov byte [esp + 0x1d], al
mov eax, dword [esp + 0x14]
add al, 6
xor al, 0x20
mov byte [esp + 0x1e], al
mov eax, dword [esp + 0x14]
add al, 7
xor al, 0x2b
mov byte [esp + 0x1f], al
mov eax, dword [esp + 0x14]
add al, 8
xor al, 0x20
mov byte [esp + 0x20], al
mov eax, dword [esp + 0x14]
add al, 9
xor al, 0x5b
mov byte [esp + 0x21], al
mov eax, dword [esp + 0x14]
add al, 0xa
xor al, 0x4c
mov byte [esp + 0x22], al
mov eax, dword [esp + 0x14]
add al, 0xb
xor al, 0x5d
mov byte [esp + 0x23], al
mov eax, dword [esp + 0x14]
add al, 0xc
xor al, 0x20
mov byte [esp + 0x24], al
mov eax, dword [esp + 0x14]
add al, 0xd
xor al, 0x74
mov byte [esp + 0x25], al
mov eax, dword [esp + 0x14]
add al, 0xe
xor al, 0x6f
mov byte [esp + 0x26], al
mov eax, dword [esp + 0x14]
add al, 0xf
xor al, 0x20
mov byte [esp + 0x27], al
mov eax, dword [esp + 0x14]
add al, 0x10
xor al, 0x6f
mov byte [esp + 0x28], al
mov eax, dword [esp + 0x14]
add al, 0x11
xor al, 0x70
mov byte [esp + 0x29], al
mov eax, dword [esp + 0x14]
add al, 0x12
xor al, 0x65
mov byte [esp + 0x2a], al
mov eax, dword [esp + 0x14]
add al, 0x13
xor al, 0x6e
mov byte [esp + 0x2b], al
mov eax, dword [esp + 0x14]
add al, 0x14
xor al, 0x20
mov byte [esp + 0x2c], al
mov eax, dword [esp + 0x14]
add al, 0x15
xor al, 0x70
mov byte [esp + 0x2d], al
mov eax, dword [esp + 0x14]
add al, 0x16
xor al, 0x64
mov byte [esp + 0x2e], al
mov eax, dword [esp + 0x14]
add al, 0x17
xor al, 0x66
mov byte [esp + 0x2f], al
mov eax, dword [esp + 0x14]
add al, 0x18
xor al, 0x20
mov byte [esp + 0x30], al
mov eax, dword [esp + 0x14]
add al, 0x19
xor al, 0x69
mov byte [esp + 0x31], al
mov eax, dword [esp + 0x14]
add al, 0x1a
xor al, 0x6e
mov byte [esp + 0x32], al
mov eax, dword [esp + 0x14]
add al, 0x1b
xor al, 0x20
mov byte [esp + 0x33], al
mov eax, dword [esp + 0x14]
add al, 0x1c
xor al, 0x66
mov byte [esp + 0x34], al
mov eax, dword [esp + 0x14]
add al, 0x1d
xor al, 0x75
mov byte [esp + 0x35], al
mov eax, dword [esp + 0x14]
add al, 0x1e
xor al, 0x6c
mov byte [esp + 0x36], al
mov eax, dword [esp + 0x14]
add al, 0x1f
xor al, 0x6c
mov byte [esp + 0x37], al
mov eax, dword [esp + 0x14]
add al, 0x20
xor al, 0x73
mov byte [esp + 0x38], al
mov eax, dword [esp + 0x14]
add al, 0x21
xor al, 0x63
mov byte [esp + 0x39], al
mov eax, dword [esp + 0x14]
add al, 0x22
xor al, 0x72
mov byte [esp + 0x3a], al
mov eax, dword [esp + 0x14]
add al, 0x23
xor al, 0x65
mov byte [esp + 0x3b], al
mov eax, dword [esp + 0x14]
add al, 0x24
xor al, 0x65
mov byte [esp + 0x3c], al
mov eax, dword [esp + 0x14]
add al, 0x25
xor al, 0x6e
mov byte [esp + 0x3d], al
mov eax, dword [esp + 0x14]
add al, 0x26
xor al, 0x20
mov byte [esp + 0x3e], al
mov eax, dword [esp + 0x14]
add al, 0x27
xor al, 0x6d
mov byte [esp + 0x3f], al
mov eax, dword [esp + 0x14]
add al, 0x28
xor al, 0x6f
mov byte [esp + 0x40], al
mov eax, dword [esp + 0x14]
add al, 0x29
xor al, 0x64
mov byte [esp + 0x41], al
mov eax, dword [esp + 0x14]
add al, 0x2a
mov byte [esp + 0x43], 0
xor al, 0x65
mov byte [esp + 0x42], al
mov al, byte [esp + 0x18]
xor eax, eax
nop
mov cl, byte [esp + eax + 0x18]
mov edx, dword [esp + 0x14]
add dl, al
xor dl, cl
mov byte [esp + eax + 0x18], dl
inc eax
cmp eax, 0x2b
jb 0x4883f0
sub esp, 0x18
mov byte [esp + 0x5b], 0
mov ecx, esp
push esi
call fcn.00406840
lea eax, [esp + 0x30]
mov ecx, 0x4cb468
push eax
call fcn.0042c140
mov edi, dword [sym.imp.USER32.dll_MapVirtualKeyA]
push 0
push 0
push 0
push 0xa2
call edi
mov esi, dword [sym.imp.USER32.dll_keybd_event]
push eax
push 0xa2
call esi
mov eax, dword [esp + 0xc]
push dword [eax]
push 0x4c
call dword [sym.imp.USER32.dll_VkKeyScanExA]
push 0
push 0
mov byte [esp + 0x14], al
push 0
movzx eax, al
push eax
call edi
push eax
push dword [esp + 0x18]
call esi
push 0
push 2
push 0
push 0xa2
call edi
push eax
push 0xa2
call esi
mov ecx, ebx
call fcn.004884a0
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00435b39
mov esp, ebp
pop ebp
ret