Function at 0x4d5dd0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x2d
push 0
push 0
dec ecx
jne 0x4d5dd8
push ecx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4d63fe
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x5be60c]
cmp byte [eax], 0
je 0x4d63d8
mov ax, word [ebp - 0x20]
add eax, 0xfffffff8
sub ax, 2
jb 0x4d63d8
sub ax, 3
je 0x4d63d8
sub ax, 0xe
je 0x4d63d8
lea eax, [ebp - 8]
mov edx, 5
call fcn.0040510c
lea eax, [ebp - 0x124]
push eax
call sub.user32.dll_GetKeyboardState
test eax, eax
je 0x4d63d8
test byte [ebp - 0x113], 0x80
jne 0x4d63d8
movzx eax, word [ebp - 0x20]
mov dword [ebp - 0x14], eax
push 0
push 5
mov eax, dword [ebp - 8]
call fcn.00404d98
push eax
lea eax, [ebp - 0x124]
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x14]
push eax
call dword [0x5c036c]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 1
jle 0x4d5f01
lea eax, [ebp - 8]
mov edx, dword [ebp - 0xc]
call fcn.0040510c
mov eax, dword [ebp - 4]
cmp byte [eax + 0xc], 0
je 0x4d5ef1
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 1
jl 0x4d5ee6
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 4]
push 0
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0xc]
push eax
push 0x102
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
push eax
call sub.user32.dll_SendMessageA
mov eax, dword [ebp - 4]
mov byte [eax + 0xc], 0
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 8], edx
jmp 0x4d63d8
mov eax, dword [ebp - 4]
inc dword [eax + 8]
jmp 0x4d63d8
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 4]
jmp 0x4d63d8
mov eax, dword [ebp - 4]
cmp byte [eax + 0xc], 0
je 0x4d63bc
cmp dword [ebp - 0xc], 1
jne 0x4d63bc
mov dword [ebp - 0x10], 0xffffffff
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0xc]
cmp eax, 0xa1
jg 0x4d5f40
je 0x4d5f79
sub eax, 0x5e
je 0x4d5f5e
sub eax, 2
je 0x4d5f4e
sub eax, 0x1e
je 0x4d5f67
jmp 0x4d5f80
sub eax, 0xa8
je 0x4d5f70
sub eax, 0xc
je 0x4d5f55
jmp 0x4d5f80
xor eax, eax
mov dword [ebp - 0x10], eax
jmp 0x4d5f80
mov dword [ebp - 0x10], 1
jmp 0x4d5f80
mov dword [ebp - 0x10], 2
jmp 0x4d5f80
mov dword [ebp - 0x10], 3
jmp 0x4d5f80
mov dword [ebp - 0x10], 4
jmp 0x4d5f80
mov dword [ebp - 0x10], 5
cmp dword [ebp - 0x10], 0
jl 0x4d63b3
mov eax, dword [ebp - 8]
movzx eax, word [eax]
cmp eax, 0x61
jg 0x4d6002
je 0x4d60ee
add eax, 0xffffffbf
cmp eax, 0x14
ja case.0x4d5fa7.66
jmp dword [eax*4 + 0x4d5fae]
sub eax, 0x65
je 0x4d6115
sub eax, 4
je 0x4d613c
sub eax, 6
je 0x4d6163
sub eax, 6
je 0x4d618a
jmp case.0x4d5fa7.66
lea eax, [ebp - 0x128]
mov dx, word [ebp - 0x10]
add dx, 0xc0
call fcn.00404cd8
mov edx, dword [ebp - 0x128]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 4]
jmp 0x4d63b3
lea eax, [ebp - 0x12c]
mov dx, word [ebp - 0x10]
add dx, 0xc8
call fcn.00404cd8
mov edx, dword [ebp - 0x12c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 4]
jmp 0x4d63b3
lea eax, [ebp - 0x130]
mov dx, word [ebp - 0x10]
add dx, 0xcc
call fcn.00404cd8
mov edx, dword [ebp - 0x130]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 4]
jmp 0x4d63b3
lea eax, [ebp - 0x134]
mov dx, word [ebp - 0x10]
add dx, 0xd2
call fcn.00404cd8
mov edx, dword [ebp - 0x134]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 4]
jmp 0x4d63b3
lea eax, [ebp - 0x138]
mov dx, word [ebp - 0x10]
add dx, 0xd9
call fcn.00404cd8
mov edx, dword [ebp - 0x138]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 4]
jmp 0x4d63b3
lea eax, [ebp - 0x13c]
mov dx, word [ebp - 0x10]
add dx, 0xe0
call fcn.00404cd8
mov edx, dword [ebp - 0x13c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 4]
jmp 0x4d63b3
lea eax, [ebp - 0x140]
mov dx, word [ebp - 0x10]
add dx, 0xe8
call fcn.00404cd8
mov edx, dword [ebp - 0x140]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 4]
jmp 0x4d63b3
lea eax, [ebp - 0x144]
mov dx, word [ebp - 0x10]
add dx, 0xec
call fcn.00404cd8
mov edx, dword [ebp - 0x144]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 4]
jmp 0x4d63b3
lea eax, [ebp - 0x148]
mov dx, word [ebp - 0x10]
add dx, 0xf2
call fcn.00404cd8
mov edx, dword [ebp - 0x148]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 4]
jmp 0x4d63b3
lea eax, [ebp - 0x14c]
mov dx, word [ebp - 0x10]
add dx, 0xf9
call fcn.00404cd8
mov edx, dword [ebp - 0x14c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 4]
jmp 0x4d63b3
lea eax, [ebp - 0x154]
mov edx, dword [ebp - 8]
mov dx, word [edx]
call fcn.00404cd8
mov eax, dword [ebp - 0x154]
lea edx, [ebp - 0x150]
call fcn.0047b874
mov eax, dword [ebp - 0x150]
mov edx, 0x4d6410
call fcn.00404ec0
jne 0x4d61eb
cmp dword [ebp - 0x10], 1
je 0x4d61fa
mov eax, dword [ebp - 8]
cmp word [eax], 0x79
jne 0x4d624d
cmp dword [ebp - 0x10], 4
jne 0x4d624d
cmp dword [ebp - 0x10], 1
jne 0x4d623b
mov eax, dword [ebp - 8]
mov ax, word [eax]
sub ax, 0x59
je 0x4d6217
sub ax, 0x20
je 0x4d6229
jmp 0x4d63b3
mov edx, 0x4d6418
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 4]
jmp 0x4d63b3
mov edx, 0x4d6420
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 4]
jmp 0x4d63b3
mov edx, 0x4d6428
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 4]
jmp 0x4d63b3
cmp dword [ebp - 0x10], 5
jne 0x4d6381
lea eax, [ebp - 0x15c]
mov edx, dword [ebp - 8]
mov dx, word [edx]
call fcn.00404cd8
mov eax, dword [ebp - 0x15c]
lea edx, [ebp - 0x158]
call fcn.0047b874
mov eax, dword [ebp - 0x158]
mov edx, 0x4d6430
call fcn.00404ec0
je 0x4d62f7
lea eax, [ebp - 0x164]
mov edx, dword [ebp - 8]
mov dx, word [edx]
call fcn.00404cd8
mov eax, dword [ebp - 0x164]
lea edx, [ebp - 0x160]
call fcn.0047b874
mov eax, dword [ebp - 0x160]
mov edx, 0x4d6438
call fcn.00404ec0
je 0x4d62f7
lea eax, [ebp - 0x16c]
mov edx, dword [ebp - 8]
mov dx, word [edx]
call fcn.00404cd8
mov eax, dword [ebp - 0x16c]
lea edx, [ebp - 0x168]
call fcn.0047b874
mov eax, dword [ebp - 0x168]
mov edx, 0x4d6440
call fcn.00404ec0
jne 0x4d6381
mov eax, dword [ebp - 8]
movzx eax, word [eax]
cmp eax, 0x63
jg 0x4d6318
je 0x4d6336
sub eax, 0x43
je 0x4d6327
sub eax, 9
je 0x4d6363
sub eax, 0xe
je 0x4d6345
jmp 0x4d63b3
sub eax, 0x6c
je 0x4d6372
sub eax, 0xe
je 0x4d6354
jmp 0x4d63b3
mov edx, 0x4d6448
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 4]
jmp 0x4d63b3
mov edx, 0x4d6450
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 4]
jmp 0x4d63b3
mov edx, 0x4d6458
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 4]
jmp 0x4d63b3
mov edx, 0x4d6460
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 4]
jmp 0x4d63b3
mov edx, 0x4d6468
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 4]
jmp 0x4d63b3
mov edx, 0x4d6470
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 4]
jmp 0x4d63b3
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040510c
mov eax, dword [ebp - 8]
mov ax, word [eax]
mov edx, dword [ebp - 8]
mov word [edx + 2], ax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0xc]
mov edx, dword [ebp - 8]
mov word [edx], ax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 4]
mov eax, dword [ebp - 4]
mov byte [eax + 0xc], 0
jmp 0x4d63d8
cmp dword [ebp - 0xc], 0
jle 0x4d63d8
lea eax, [ebp - 8]
mov edx, dword [ebp - 0xc]
call fcn.0040510c
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 4]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d6405
lea eax, [ebp - 0x16c]
mov edx, 0x12
call fcn.00404bc8
lea eax, [ebp - 8]
call fcn.00404bb0
ret