Function at 0x4de200
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push 0xffffffffffffffff
push 0x5d04d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x74
push ebx
push ebp
push esi
xor ebx, ebx
push edi
mov ebp, ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], ebx
call fcn.0059890a
cmp eax, ebx
je 0x4de23a
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
jmp 0x4de23c
xor eax, eax
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xe8]
mov esi, eax
cmp esi, ebx
je 0x4de284
mov edi, dword [sym.imp.user32.dll_CopyAcceleratorTableA]
push ebx
push ebx
push esi
call edi
cmp eax, ebx
mov dword [esp + 0x14], eax
je 0x4de284
lea eax, [eax + eax*2]
shl eax, 1
push eax
call fcn.00596900
add esp, 4
cmp eax, ebx
mov dword [esp + 0x1c], eax
je 0x4de284
mov ecx, dword [esp + 0x14]
mov edx, eax
push ecx
push edx
push esi
call edi
mov dword [esp + 0x14], eax
push 0xffffffffffffffff
lea ecx, [ebp + 0x84]
push ebx
call fcn.00591f8e
push 0xffffffffffffffff
lea ecx, [ebp + 0x98]
push ebx
call fcn.00591f8e
mov eax, dword [ebp + 0x3c]
xor edi, edi
cmp eax, ebx
jle 0x4de589
mov bl, 1
mov eax, dword [0x63094c]
mov dword [esp + 0x10], eax
mov dword [esp + 0x8c], 0
mov dword [esp + 0x18], eax
push edi
mov ecx, ebp
mov byte [esp + 0x90], bl
call fcn.004de670
test eax, eax
je 0x4de52a
mov eax, dword [ebp + 0x194]
mov ecx, dword [eax + edi*4]
push ecx
lea ecx, [esp + 0x14]
call fcn.005985fc
push 0xa
lea ecx, [esp + 0x14]
call fcn.005984f9
mov esi, eax
test esi, esi
je 0x4de367
lea edx, [esp + 0x24]
push esi
push edx
lea ecx, [esp + 0x18]
call fcn.0058f61d
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x90], 2
call fcn.0059816b
lea ecx, [esp + 0x24]
mov byte [esp + 0x8c], bl
call fcn.00598032
inc esi
lea eax, [esp + 0x28]
push esi
push eax
lea ecx, [esp + 0x18]
call fcn.0058f4e8
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x90], 3
call fcn.0059816b
lea ecx, [esp + 0x28]
mov byte [esp + 0x8c], bl
call fcn.00598032
jmp 0x4de375
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x1c]
call fcn.0059816b
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x4de52a
mov eax, dword [esp + 0x14]
test eax, eax
jle 0x4de52a
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x194]
xor edx, edx
mov dx, word [esi + 4]
cmp edx, dword [eax + edi*4]
jne 0x4de518
push 9
lea ecx, [esp + 0x14]
call fcn.00598435
test byte [esi], 0x10
je 0x4de413
lea ecx, [esp + 0x30]
push 0x7176
push ecx
call fcn.004b9db0
add esp, 8
push 0x61e150
lea edx, [esp + 0x30]
push eax
push edx
mov byte [esp + 0x98], 4
call fcn.005982c7
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x90], 5
call fcn.0059844a
lea ecx, [esp + 0x2c]
mov byte [esp + 0x8c], 4
call fcn.00598032
lea ecx, [esp + 0x30]
mov byte [esp + 0x8c], bl
call fcn.00598032
test byte [esi], 8
je 0x4de475
lea eax, [esp + 0x38]
push 0x7177
push eax
call fcn.004b9db0
add esp, 8
push 0x61e150
lea ecx, [esp + 0x38]
push eax
push ecx
mov byte [esp + 0x98], 6
call fcn.005982c7
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x90], 7
call fcn.0059844a
lea ecx, [esp + 0x34]
mov byte [esp + 0x8c], 6
call fcn.00598032
lea ecx, [esp + 0x38]
mov byte [esp + 0x8c], bl
call fcn.00598032
test byte [esi], 4
je 0x4de4d7
lea edx, [esp + 0x40]
push 0x7178
push edx
call fcn.004b9db0
add esp, 8
push 0x61e150
push eax
lea eax, [esp + 0x44]
mov byte [esp + 0x94], 8
push eax
call fcn.005982c7
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x90], 9
call fcn.0059844a
lea ecx, [esp + 0x3c]
mov byte [esp + 0x8c], 8
call fcn.00598032
lea ecx, [esp + 0x40]
mov byte [esp + 0x8c], bl
call fcn.00598032
test byte [esi], bl
je 0x4de50b
xor ecx, ecx
push 0
mov cx, word [esi + 2]
push ecx
call dword [sym.imp.user32.dll_MapVirtualKeyA]
lea edx, [esp + 0x44]
push 0x40
shl eax, 0x10
push edx
push eax
call dword [sym.imp.user32.dll_GetKeyNameTextA]
lea eax, [esp + 0x44]
lea ecx, [esp + 0x10]
push eax
call fcn.0059840e
jmp 0x4de518
mov cl, byte [esi + 2]
push ecx
lea ecx, [esp + 0x14]
call fcn.00598435
mov eax, dword [esp + 0x20]
add esi, 6
dec eax
mov dword [esp + 0x20], eax
jne 0x4de391
mov eax, dword [ebp + 0x8c]
lea ecx, [ebp + 0x84]
lea edx, [esp + 0x10]
push edx
push eax
call fcn.00592155
mov eax, dword [ebp + 0xa0]
lea ecx, [ebp + 0x98]
lea edx, [esp + 0x18]
push edx
push eax
call fcn.00592155
lea ecx, [esp + 0x18]
mov byte [esp + 0x8c], 0
call fcn.00598032
lea ecx, [esp + 0x10]
mov dword [esp + 0x8c], 0xffffffff
call fcn.00598032
mov eax, dword [ebp + 0x3c]
inc edi
cmp edi, eax
jl 0x4de2af
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
test eax, eax
pop ebx
je 0x4de59e
push eax
call fcn.00596929
add esp, 4
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
add esp, 0x80
ret