Function at 0x5f8ac7
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
mov dword [ebp - 4], ebx
mov eax, dword [ebx]
call dword [eax + 0x100]
mov edx, dword [ebp + 8]
test al, al
jne 0x5f8b0b
cmp dword [edx], 8
jle 0x5f8b0b
cmp dword [edx], 0x16
jge 0x5f8b0b
mov ecx, dword [ebx + 0x48]
push edx
test ecx, ecx
je 0x5f8aff
mov eax, dword [ecx]
call dword [eax + pe_nt_image_headers32]
jmp 0x5f8d87
mov ecx, ebx
call fcn.005f5f1f
jmp 0x5f8d87
cmp dword [edx], 0x18
jne 0x5f8b1c
mov byte [ebx + 0x19d], 1
jmp 0x5f8d87
cmp dword [edx], 0x17
jne 0x5f8b2d
mov byte [ebx + 0x19d], 0
jmp 0x5f8d87
cmp dword [edx], 3
push esi
push edi
je 0x5f8bcc
cmp dword [edx], 0x15
jne 0x5f8c9e
movzx eax, word [edx + 0x18]
sub eax, 0
je 0x5f8b86
dec eax
jne 0x5f8c9e
cmp byte [ebx + 0x62c], al
je 0x5f8b77
lea edi, [ebx + 0x628]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x38]
test al, al
jne 0x5f8b77
mov eax, dword [ebx + 0x630]
push 1
push 1
inc eax
jmp 0x5f8bab
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1b4]
jmp 0x5f8d85
cmp byte [ebx + 0x62c], 0
je 0x5f8bbd
lea edi, [ebx + 0x628]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x38]
test al, al
jne 0x5f8bbd
mov eax, dword [ebx + 0x630]
push 1
push 0
dec eax
mov edx, dword [ebx]
mov ecx, ebx
mov esi, dword [edi]
push eax
call dword [edx + 0x198]
jmp 0x5f8d3e
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1b0]
jmp 0x5f8d85
movzx eax, word [edx + 0x14]
cmp eax, 0x24
jg 0x5f8c8c
je 0x5f8c69
sub eax, 0xd
je 0x5f8c43
sub eax, 0x14
je 0x5f8c34
dec eax
je 0x5f8c25
dec eax
jne 0x5f8c9e
mov eax, dword [ebp - 4]
lea edi, [ebx + 0x628]
mov ebx, dword [edi]
push 1
push 1
mov esi, dword [eax]
lea ecx, [eax + 0x4b8]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [ebp - 4]
dec eax
push eax
call dword [esi + 0x198]
push eax
mov ecx, edi
call dword [ebx + 0xc]
jmp 0x5f8d85
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1bc]
jmp 0x5f8d85
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1b8]
jmp 0x5f8d85
mov edx, dword [ebx + 0x630]
cmp edx, 0xffffffff
je 0x5f8d85
lea ecx, [ebx + 0x4b8]
mov eax, dword [ecx]
push edx
call dword [eax]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x18]
jmp 0x5f8d85
mov eax, dword [ebx]
lea esi, [ebx + 0x628]
mov edi, dword [esi]
mov ecx, ebx
push 1
push 0
push 0
call dword [eax + 0x198]
push eax
mov ecx, esi
call dword [edi + 0xc]
jmp 0x5f8d85
sub eax, 0x26
je 0x5f8d4d
dec eax
dec eax
je 0x5f8cec
sub eax, 0x19
je 0x5f8cab
push edx
mov ecx, ebx
call fcn.005f5f1f
jmp 0x5f8d85
mov eax, dword [ebx + 0x628]
lea ecx, [ebx + 0x628]
call dword [eax + 0x38]
test al, al
je 0x5f8d85
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x5f8d85
mov eax, dword [ebx + 0x628]
lea ecx, [ebx + 0x628]
call dword [eax + 0x3c]
jmp 0x5f8d85
lea ecx, [ebx + 0x638]
call fcn.00613360
test eax, eax
jle 0x5f8d85
mov ecx, ebx
call fcn.005fa28e
lea edi, [ebx + 0x628]
mov edx, dword [edi]
mov ecx, edi
lea esi, [eax + 1]
call dword [edx + 0x40]
mov ecx, dword [ebx + 0x650]
add ecx, 0x4b8
mov edx, dword [ecx]
call dword [edx + 0xc]
lea ecx, [esi + 1]
push 1
cmp ecx, eax
jle 0x5f8d46
mov esi, dword [edi]
lea ecx, [ebx + 0x4b8]
mov eax, dword [ecx]
call dword [eax + 0xc]
dec eax
push eax
mov ecx, edi
call dword [esi + 0xc]
jmp 0x5f8d85
mov eax, dword [edi]
mov ecx, edi
push esi
jmp 0x5f8d82
lea ecx, [ebx + 0x638]
call fcn.00613360
test eax, eax
jle 0x5f8d85
mov ecx, ebx
call fcn.005fa2dd
add ebx, 0x628
mov ecx, ebx
lea esi, [eax - 1]
mov edx, dword [ebx]
call dword [edx + 0x40]
mov eax, dword [ebx]
mov ecx, ebx
push 1
test esi, esi
jle 0x5f8d80
push esi
jmp 0x5f8d82
push 0
call dword [eax + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4