Function at 0x4049c0
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x6db3f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
movzx eax, word [ebp + 8]
cmp eax, 0x61
jl 0x4049e2
movzx ecx, word [ebp + 8]
cmp ecx, 0x7a
jle 0x4049fc
movzx edx, word [ebp + 8]
cmp edx, 0x41
jl 0x404aa6
movzx eax, word [ebp + 8]
cmp eax, 0x5a
jg 0x404aa6
mov dword [ebp - 4], 0
movzx ecx, word [ebp + 8]
cmp ecx, 0x41
jl 0x404a1c
movzx edx, word [ebp + 8]
cmp edx, 0x5a
jg 0x404a1c
mov dword [ebp - 4], 1
cmp dword [ebp - 4], 0
je 0x404a39
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.005429f5
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 0x404aa1
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 0x404bdc
movzx edx, word [ebp + 8]
cmp edx, 0xff
jle 0x404ae3
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 0x404ae3
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 0x593ac8
lea edx, [ebp - 0x1c]
push edx
call fcn.005427db
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
call fcn.00542750
add esp, 4
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
jmp 0x404b1a
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
cmp edx, dword [ebp - 0xc]
jae 0x404b48
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 0x404b11
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 0x404b71
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp - 0xc]
jae 0x404bc5
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 0x404b68
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.00541930
mov esp, ebp
pop ebp
ret