Function at 0x4049a0
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0xfc6800]
xor eax, ebp
mov dword [ebp - 0x10], eax
movzx eax, word [ebp + 8]
cmp eax, 0x61
jl 0x4049c2
movzx ecx, word [ebp + 8]
cmp ecx, 0x7a
jle 0x4049dc
movzx edx, word [ebp + 8]
cmp edx, 0x41
jl 0x404a86
movzx eax, word [ebp + 8]
cmp eax, 0x5a
jg 0x404a86
mov dword [ebp - 4], 0
movzx ecx, word [ebp + 8]
cmp ecx, 0x41
jl 0x4049fc
movzx edx, word [ebp + 8]
cmp edx, 0x5a
jg 0x4049fc
mov dword [ebp - 4], 1
cmp dword [ebp - 4], 0
je 0x404a19
push 0
push 0
push 0
push 0x10
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
push eax
push 0x10
call dword [sym.imp.USER32.dll_keybd_event]
movzx eax, word [ebp + 8]
push eax
call fcn.00526f75
add esp, 4
mov word [ebp + 8], ax
push 0
push 0
push 0
movzx ecx, word [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
push eax
movzx edx, byte [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_keybd_event]
push 0
push 2
push 0
movzx eax, word [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
push eax
movzx ecx, byte [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_keybd_event]
cmp dword [ebp - 4], 0
je 0x404a81
push 0
push 2
push 0
push 0x10
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
push eax
push 0x10
call dword [sym.imp.USER32.dll_keybd_event]
jmp 0x404bbc
movzx edx, word [ebp + 8]
cmp edx, 0xff
jle 0x404ac3
lea eax, [ebp + 8]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
add ecx, 1
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x20]
cmp edx, dword [ebp - 0x28]
je 0x404ac3
mov eax, dword [ebp - 0x20]
mov cl, byte [eax]
mov byte [ebp - 0x21], cl
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x28]
mov cl, byte [eax]
mov byte [edx], cl
mov edx, dword [ebp - 0x28]
mov al, byte [ebp - 0x21]
mov byte [edx], al
movzx ecx, word [ebp + 8]
push ecx
push 0x57cb38
lea edx, [ebp - 0x1c]
push edx
call fcn.00526d5b
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
call fcn.00526cd0
add esp, 4
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
jmp 0x404afa
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
cmp edx, dword [ebp - 0xc]
jae 0x404b28
mov eax, dword [ebp - 8]
movsx ecx, byte [ebp + eax - 0x1c]
sub ecx, 0x30
mov edx, dword [ebp - 8]
mov byte [ebp + edx - 0x1c], cl
mov eax, dword [ebp - 8]
movsx ecx, byte [ebp + eax - 0x1c]
or ecx, 0x60
mov edx, dword [ebp - 8]
mov byte [ebp + edx - 0x1c], cl
jmp 0x404af1
push 0
push 0
push 0
push 0x12
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
push eax
push 0x12
call dword [sym.imp.USER32.dll_keybd_event]
mov dword [ebp - 8], 0
jmp 0x404b51
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp - 0xc]
jae 0x404ba5
push 0
push 0
push 0
mov edx, dword [ebp - 8]
movsx eax, byte [ebp + edx - 0x1c]
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
push eax
mov ecx, dword [ebp - 8]
movzx edx, byte [ebp + ecx - 0x1c]
push edx
call dword [sym.imp.USER32.dll_keybd_event]
push 0
push 2
push 0
mov eax, dword [ebp - 8]
movsx ecx, byte [ebp + eax - 0x1c]
push ecx
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
push eax
mov edx, dword [ebp - 8]
movzx eax, byte [ebp + edx - 0x1c]
push eax
call dword [sym.imp.USER32.dll_keybd_event]
jmp 0x404b48
push 0
push 2
push 0
push 0x12
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
push eax
push 0x12
call dword [sym.imp.USER32.dll_keybd_event]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00525f29
mov esp, ebp
pop ebp
ret