Function at 0x404980
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0xfef5f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
movzx eax, word [ebp + 8]
cmp eax, 0x61
jl 0x4049a2
movzx ecx, word [ebp + 8]
cmp ecx, 0x7a
jle 0x4049bc
movzx edx, word [ebp + 8]
cmp edx, 0x41
jl 0x404a66
movzx eax, word [ebp + 8]
cmp eax, 0x5a
jg 0x404a66
mov dword [ebp - 4], 0
movzx ecx, word [ebp + 8]
cmp ecx, 0x41
jl 0x4049dc
movzx edx, word [ebp + 8]
cmp edx, 0x5a
jg 0x4049dc
mov dword [ebp - 4], 1
cmp dword [ebp - 4], 0
je 0x4049f9
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.0054e295
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 0x404a61
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 0x404b9c
movzx edx, word [ebp + 8]
cmp edx, 0xff
jle 0x404aa3
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 0x404aa3
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 0x5a4b50
lea edx, [ebp - 0x1c]
push edx
call fcn.0054e07b
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
call fcn.0054dff0
add esp, 4
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
jmp 0x404ada
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
cmp edx, dword [ebp - 0xc]
jae 0x404b08
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 0x404ad1
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 0x404b31
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp - 0xc]
jae 0x404b85
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 0x404b28
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.0054d11f
mov esp, ebp
pop ebp
ret