Function at 0x4fda50
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x74c6dd
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x85e00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x14]
call fcn.00404700
mov dword [ebp - 4], 0
movzx eax, word [ebp + 0xc]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
sub ecx, 0xd
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0x21
ja case.0x4fdaaf.1
mov edx, dword [ebp - 0x18]
movzx eax, byte [edx + 0x4fdd68]
jmp dword [eax*4 + 0x4fdd2c]
push 0x770558
lea ecx, [ebp - 0x14]
call fcn.00404360
jmp case.0x4fdcde.1
push 0x770560
lea ecx, [ebp - 0x14]
call fcn.00404360
jmp case.0x4fdcde.1
push 0x77056c
lea ecx, [ebp - 0x14]
call fcn.00404360
jmp case.0x4fdcde.1
push str.Down
lea ecx, [ebp - 0x14]
call fcn.00404360
jmp case.0x4fdcde.1
push 0x770580
lea ecx, [ebp - 0x14]
call fcn.00404360
jmp case.0x4fdcde.1
push 0x77058c
lea ecx, [ebp - 0x14]
call fcn.00404360
jmp case.0x4fdcde.1
push str.Home
lea ecx, [ebp - 0x14]
call fcn.00404360
jmp case.0x4fdcde.1
push 0x7705a4
lea ecx, [ebp - 0x14]
call fcn.00404360
jmp case.0x4fdcde.1
push str.PageUp
lea ecx, [ebp - 0x14]
call fcn.00404360
jmp case.0x4fdcde.1
push str.PageDown
lea ecx, [ebp - 0x14]
call fcn.00404360
jmp case.0x4fdcde.1
push str.Insert
lea ecx, [ebp - 0x14]
call fcn.00404360
jmp case.0x4fdcde.1
push str.Space
lea ecx, [ebp - 0x14]
call fcn.00404360
jmp case.0x4fdcde.1
push str.Delete
lea ecx, [ebp - 0x14]
call fcn.00404360
jmp case.0x4fdcde.1
push str.Print
lea ecx, [ebp - 0x14]
call fcn.00404360
jmp case.0x4fdcde.1
movzx ecx, word [ebp + 0xc]
cmp ecx, 0x30
jl 0x4fdbc4
movzx edx, word [ebp + 0xc]
cmp edx, 0x39
jle 0x4fdbd6
movzx eax, word [ebp + 0xc]
cmp eax, 0x41
jl 0x4fdbe8
movzx ecx, word [ebp + 0xc]
cmp ecx, 0x5a
jg 0x4fdbe8
movzx edx, word [ebp + 0xc]
push edx
lea ecx, [ebp - 0x14]
call fcn.004fe0e0
jmp case.0x4fdcde.1
movzx eax, word [ebp + 0xc]
cmp eax, 0x60
jl 0x4fdc24
movzx ecx, word [ebp + 0xc]
cmp ecx, 0x69
jg 0x4fdc24
movzx edx, word [ebp + 0xc]
sub edx, 0x60
push edx
push str.Num__d
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x14]
push ecx
call fcn.0046a690
add esp, 0x10
lea ecx, [ebp - 0x24]
call fcn.00404560
jmp case.0x4fdcde.1
movzx edx, word [ebp + 0xc]
cmp edx, 0x6a
jne 0x4fdc3f
push 0x770618
lea ecx, [ebp - 0x14]
call fcn.00404360
jmp case.0x4fdcde.1
movzx eax, word [ebp + 0xc]
cmp eax, 0x6b
jne 0x4fdc5a
push str.Num_
lea ecx, [ebp - 0x14]
call fcn.00404360
jmp case.0x4fdcde.1
movzx ecx, word [ebp + 0xc]
cmp ecx, 0x6e
jne 0x4fdc75
push str.Num_Del
lea ecx, [ebp - 0x14]
call fcn.00404360
jmp case.0x4fdcde.1
movzx edx, word [ebp + 0xc]
cmp edx, 0x70
jl 0x4fdcae
movzx eax, word [ebp + 0xc]
cmp eax, 0x7b
jg 0x4fdcae
movzx ecx, word [ebp + 0xc]
sub ecx, 0x6f
push ecx
push 0x770640
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x14]
push eax
call fcn.0046a690
add esp, 0x10
lea ecx, [ebp - 0x28]
call fcn.00404560
jmp case.0x4fdcde.1
push 2
movzx ecx, word [ebp + 0xc]
push ecx
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov byte [ebp - 0xd], al
movsx edx, byte [ebp - 0xd]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
sub eax, 0x27
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x39
ja case.0x4fdcde.1
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ecx + 0x4fdd94]
jmp dword [edx*4 + 0x4fdd8c]
movsx ax, byte [ebp - 0xd]
movzx ecx, ax
push ecx
lea ecx, [ebp - 0x14]
call fcn.004963c0
lea edx, [ebp - 0x14]
push edx
mov ecx, dword [ebp + 8]
call fcn.00404650
mov eax, dword [ebp - 0x20]
or eax, 1
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00404560
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret