Function at 0x10059d5e
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x10059f20
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x5c]
movzx eax, byte [eax]
test eax, eax
je 0x10059f16
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 4], eax
mov dword [ebp - 0x1c], 0x2254
mov dword [ebp - 0x24], 0x1000e5b8
cmp dword [ebp - 0x1c], 0x2260
jle 0x10059e29
and dword [ebp - 0x14], 0
jmp 0x10059dc9
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x4b0b
jge 0x10059e29
and dword [ebp - 0x18], 0
jmp 0x10059ddf
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x2ea4
jge 0x10059e27
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x18]
cdq
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], edx
push dword [ebp - 0x68]
push dword [ebp - 0x6c]
lea ecx, [ebp - 0x94]
call fcn.1001105e
pop ecx
pop ecx
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x7c]
call fcn.10020ec4
push eax
call fcn.10069ba3
pop ecx
lea ecx, [ebp - 0x94]
call fcn.10020eba
jmp 0x10059dd8
jmp 0x10059dc2
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x1c], 0x201e
jge 0x10059e41
push dword [ebp - 0x24]
call fcn.10069ba3
pop ecx
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x10059e57
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 1
jg 0x10059f14
mov dword [ebp - 0x20], 0x5863
mov dword [ebp - 0x70], 0x1000e600
cmp dword [ebp - 0x20], 0x5bbe
jle 0x10059ee5
and dword [ebp - 0x10], 0
jmp 0x10059e87
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x641c
jge 0x10059ee5
and dword [ebp - 8], 0
jmp 0x10059e9d
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xfb3
jge 0x10059ee3
and dword [ebp - 0xc], 0
jmp 0x10059eb3
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x4e8
jge 0x10059ee1
mov eax, dword [ebp - 8]
cdq
idiv dword [ebp - 0xc]
and edx, dword [ebp - 0x10]
mov eax, edx
cdq
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], edx
push dword [ebp - 0x74]
push dword [ebp - 0x78]
mov ecx, 0x10084b98
call fcn.10020ee4
jmp 0x10059eac
jmp 0x10059e96
jmp 0x10059e80
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x44]
call fcn.1002129c
cmp dword [eax], 0
je 0x10059ef9
jmp 0x10059f14
cmp dword [ebp - 0x20], 0x55dd
jge 0x10059f0f
mov edx, dword [ebp - 0x70]
mov ecx, 0x10084b98
call fcn.10023c34
jmp 0x10059e4c
jmp 0x10059f1e
push 0
call dword [sym.imp.USER32.dll_GetKeyboardState]
jmp 0x10059f89
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0x48], eax
push dword [ebp - 0x4c]
push dword [ebp - 0x64]
push 0x35e2
push dword [ebp - 0x28]
push 1
push dword [ebp - 0x30]
push dword [ebp - 0x38]
push dword [ebp - 0x40]
push dword [ebp - 0x48]
push dword [ebp - 0x50]
push dword [ebp - 0x58]
push dword [ebp - 0x60]
call fcn.10042857
add esp, 0x30
mov esp, ebp
pop ebp
ret