Function at 0x4048e0
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x6ed428]
xor eax, ebp
mov dword [ebp - 0x10], eax
movzx eax, word [ebp + 8]
cmp eax, 0x61
jl 0x404902
movzx ecx, word [ebp + 8]
cmp ecx, 0x7a
jle 0x40491c
movzx edx, word [ebp + 8]
cmp edx, 0x41
jl 0x4049c6
movzx eax, word [ebp + 8]
cmp eax, 0x5a
jg 0x4049c6
mov dword [ebp - 4], 0
movzx ecx, word [ebp + 8]
cmp ecx, 0x41
jl 0x40493c
movzx edx, word [ebp + 8]
cmp edx, 0x5a
jg 0x40493c
mov dword [ebp - 4], 1
cmp dword [ebp - 4], 0
je 0x404959
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.00554065
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 0x4049c1
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 0x404afc
movzx edx, word [ebp + 8]
cmp edx, 0xff
jle 0x404a03
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 0x404a03
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 0x5a5b10
lea edx, [ebp - 0x1c]
push edx
call fcn.00553e4b
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
call fcn.00553dc0
add esp, 4
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
jmp 0x404a3a
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
cmp edx, dword [ebp - 0xc]
jae 0x404a68
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 0x404a31
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 0x404a91
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp - 0xc]
jae 0x404ae5
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 0x404a88
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.00552fa1
mov esp, ebp
pop ebp
ret