Function at 0x5e9330
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov edx, dword [eax]
mov ecx, dword [ebp - 4]
mov eax, dword [edx + 0x38]
call eax
movzx ecx, al
test ecx, ecx
jne 0x5e9368
movzx edx, byte [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
call eax
jmp 0x5e9708
cmp dword [ebp + 8], 0
jge 0x5e9382
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 4]
mov eax, dword [edx + 0x40]
call eax
mov al, 1
jmp 0x5e9708
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0xc], 0xffffffff
jne 0x5e93ab
mov edx, dword [ebp - 4]
cmp dword [edx + 8], 0xffffffff
je 0x5e93a2
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
mov dword [eax + 0xc], edx
jmp 0x5e93ab
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [eax + 0xc], ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 4]
sub ecx, 0x170
mov eax, dword [ebp - 4]
mov edx, dword [eax - 0x170]
mov eax, dword [edx]
call eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x5e93d5
xor al, al
jmp 0x5e9708
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov ecx, dword [ebp - 8]
mov eax, dword [edx + 0x10c]
call eax
movzx ecx, al
test ecx, ecx
jne 0x5e93f3
xor al, al
jmp 0x5e9708
push str.ListItem
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 8]
mov edx, dword [eax + 0x10]
call edx
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x5e9415
xor al, al
jmp 0x5e9708
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
je 0x5e951b
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 4]
add ecx, 0x10
call fcn.00593d50
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
je 0x5e9487
push 0
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xc]
mov edx, dword [eax + 0x18]
call edx
movzx eax, al
test eax, eax
jne 0x5e945e
xor al, al
jmp 0x5e9708
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
cmp edx, dword [ebp + 8]
jne 0x5e9473
mov eax, dword [ebp - 4]
mov dword [eax + 8], 0xffffffff
mov ecx, dword [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 4]
add ecx, 0x10
call fcn.005945b0
jmp 0x5e9516
push 1
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xc]
mov edx, dword [eax + 0x18]
call edx
movzx eax, al
test eax, eax
jne 0x5e94a4
xor al, al
jmp 0x5e9708
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
add ecx, 0x10
call fcn.00593920
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 4]
sub ecx, 0x6c0
call fcn.005e6d90
movzx edx, byte [ebp + 0xc]
test edx, edx
je 0x5e94e6
mov eax, dword [ebp - 8]
mov edx, dword [eax]
mov ecx, dword [ebp - 8]
mov eax, dword [edx + 0x128]
call eax
mov ecx, dword [ebp - 4]
cmp dword [ecx - 0x67c], 0
je 0x5e9516
push 0
push 0
mov edx, dword [ebp + 8]
push edx
push 0x67029c
mov eax, dword [ebp - 4]
sub eax, 0x6c0
push eax
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx - 0x67c]
call fcn.00591330
jmp 0x5e9706
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
and edx, 0x8000
je 0x5e967a
mov eax, dword [ebp - 4]
mov edx, dword [eax]
mov ecx, dword [ebp - 4]
mov eax, dword [edx + 0x40]
call eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [ebp - 0x18]
jle 0x5e9565
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x14], edx
jmp 0x5e9576
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp - 0x18]
jg 0x5e960c
mov edx, dword [ebp - 0x14]
push edx
mov ecx, dword [ebp - 4]
sub ecx, 0x170
mov eax, dword [ebp - 4]
mov edx, dword [eax - 0x170]
mov eax, dword [edx]
call eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x5e95a7
jmp 0x5e956d
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x10]
mov eax, dword [edx + 0x10c]
call eax
movzx ecx, al
test ecx, ecx
jne 0x5e95c0
jmp 0x5e956d
push str.ListItem
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x10]
mov edx, dword [eax + 0x10]
call edx
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x5e95dd
jmp 0x5e956d
push 1
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x20]
mov eax, dword [edx + 0x18]
call eax
movzx ecx, al
test ecx, ecx
jne 0x5e95f8
jmp 0x5e956d
mov edx, dword [ebp - 0x14]
push edx
mov ecx, dword [ebp - 4]
add ecx, 0x10
call fcn.00593920
jmp 0x5e956d
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [eax + 8], ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 4]
sub ecx, 0x6c0
call fcn.005e6d90
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x5e963f
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov ecx, dword [ebp - 8]
mov eax, dword [edx + 0x128]
call eax
mov ecx, dword [ebp - 4]
cmp dword [ecx - 0x67c], 0
je 0x5e9675
push 0
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0x67029c
mov edx, dword [ebp - 4]
sub edx, 0x6c0
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax - 0x67c]
call fcn.00591330
jmp 0x5e9706
push 1
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0xc]
mov eax, dword [edx + 0x18]
call eax
movzx ecx, al
test ecx, ecx
jne 0x5e9694
xor al, al
jmp 0x5e9708
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov dword [edx + 8], eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 4]
add ecx, 0x10
call fcn.00593920
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 4]
sub ecx, 0x6c0
call fcn.005e6d90
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x5e96d6
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov ecx, dword [ebp - 8]
mov eax, dword [edx + 0x128]
call eax
mov ecx, dword [ebp - 4]
cmp dword [ecx - 0x67c], 0
je 0x5e9706
push 0
push 0
mov edx, dword [ebp + 8]
push edx
push 0x67029c
mov eax, dword [ebp - 4]
sub eax, 0x6c0
push eax
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx - 0x67c]
call fcn.00591330
mov al, 1
mov esp, ebp
pop ebp
ret 8