Function at 0x404a30
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x1004618]
xor eax, ebp
mov dword [ebp - 0x10], eax
movzx eax, word [ebp + 8]
cmp eax, 0x61
jl 0x404a52
movzx ecx, word [ebp + 8]
cmp ecx, 0x7a
jle 0x404a6c
movzx edx, word [ebp + 8]
cmp edx, 0x41
jl 0x404b16
movzx eax, word [ebp + 8]
cmp eax, 0x5a
jg 0x404b16
mov dword [ebp - 4], 0
movzx ecx, word [ebp + 8]
cmp ecx, 0x41
jl 0x404a8c
movzx edx, word [ebp + 8]
cmp edx, 0x5a
jg 0x404a8c
mov dword [ebp - 4], 1
cmp dword [ebp - 4], 0
je 0x404aa9
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.00561885
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 0x404b11
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 0x404c4c
movzx edx, word [ebp + 8]
cmp edx, 0xff
jle 0x404b53
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 0x404b53
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 0x5b8b08
lea edx, [ebp - 0x1c]
push edx
call fcn.0056166b
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
call fcn.005615e0
add esp, 4
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
jmp 0x404b8a
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
cmp edx, dword [ebp - 0xc]
jae 0x404bb8
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 0x404b81
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 0x404be1
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp - 0xc]
jae 0x404c35
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 0x404bd8
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.00560705
mov esp, ebp
pop ebp
ret