Function at 0x4591c0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4818f8
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x49f00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x24], edi
mov esi, dword [ebp + 8]
lea ebx, [edi + 8]
push ecx
push ebx
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x28], esi
call fcn.0045a030
push 0x11
mov dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
sar ax, 0xf
mov word [ebp - 0x2a], ax
test ax, ax
jne 0x459334
mov ecx, dword [ebx]
mov esi, dword [ecx]
cmp esi, ecx
je 0x45932a
lea ecx, [edi - 0x440]
mov dword [ebp - 0x30], ecx
nop dword [eax + eax]
mov eax, dword [ecx]
push dword [esi + 0x10]
call dword [eax + 0x124]
test eax, eax
je 0x4592dc
push 0
push 0x4a2b58
push 0x4a07b0
push 0
push eax
call fcn.00464644
mov edi, eax
add esp, 0x14
test edi, edi
je 0x4592dc
mov ecx, dword [edi + 0x20]
mov byte [edi + 0x290], 0
test ecx, ecx
je 0x4592d5
xor eax, eax
mov dword [ebp - 0x54], 0
mov word [ebp - 0x48], ax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov eax, dword [ecx + 0xf4]
mov dword [ebp - 0x50], eax
mov eax, dword [ecx + 0xf8]
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x5c], 0x2b
mov dword [ebp - 0x4c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x54], eax
lea ecx, [ebp - 0x5c]
mov eax, dword [edi]
push ecx
mov ecx, edi
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
call dword [eax + 0xcc]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x459304
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x459300
nop
cmp esi, dword [eax + 8]
jne 0x459300
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x4592f0
mov esi, eax
jmp 0x45931c
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x45931c
nop
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x459310
mov ecx, dword [ebp - 0x30]
cmp esi, dword [ebx]
jne 0x459240
mov edi, dword [ebp - 0x24]
mov ecx, ebx
call fcn.00459eb0
mov esi, dword [ebp - 0x14]
test esi, esi
js 0x4594a2
mov eax, dword [edi - 0x440]
lea ebx, [edi - 0x440]
push esi
mov ecx, ebx
call dword [eax + 0x124]
mov esi, eax
test esi, esi
je 0x4594a2
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 0x14]
call edx
test al, al
je 0x4594a2
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x88]
call eax
test al, al
je 0x4594a2
push 0
push 0x4a2b58
push 0x4a07b0
push 0
push esi
call fcn.00464644
add esp, 0x14
mov edi, eax
cmp word [ebp - 0x2a], 0
je 0x45940f
test edi, edi
je 0x4594a2
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ecx + 8]
call fcn.0040df40
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x14]
add ecx, 8
cmp eax, dword [ecx]
jne 0x45949e
push dword [ebp - 0x14]
lea eax, [ebp - 0x28]
push eax
push ecx
lea eax, [ebp - 0x18]
push eax
call fcn.0045a140
cmp byte [edi + 0x290], 1
je 0x45943a
mov ecx, dword [edi + 0x20]
mov byte [edi + 0x290], 1
test ecx, ecx
je 0x459406
cmp byte [ebp + 0x10], 0
je 0x459406
push 0
push 0
push 0x2a
push edi
call fcn.0041cec0
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
jmp 0x45943a
test edi, edi
je 0x4594a2
push dword [ebp - 0x14]
lea eax, [ebp - 0x28]
push eax
push ecx
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x18]
push eax
lea ecx, [ecx + 8]
call fcn.0045a140
push dword [ebp + 0x10]
mov ecx, edi
push 1
call fcn.0043a6c0
mov eax, dword [ebx]
mov ecx, ebx
mov edi, dword [ebp - 0x28]
push edi
call dword [eax + 0x124]
test eax, eax
je 0x459470
mov eax, dword [ebx]
mov ecx, ebx
push edi
call dword [eax + 0x124]
push 1
lea ecx, [ebp - 0x20]
push ecx
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x1c]
mov ecx, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp byte [ebp + 0xc], 0
je 0x459480
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xa4]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax - 0x420]
test ecx, ecx
je 0x45949e
cmp byte [ebp + 0x10], 0
je 0x45949e
push 0xffffffffffffffff
push edi
push 0x2a
push ebx
call fcn.0041cec0
mov bl, 1
jmp 0x4594a4
xor bl, bl
lea ecx, [ebp - 0x38]
call fcn.00459eb0
push 0x14
push dword [ebp - 0x38]
call fcn.00463043
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00462ae1
mov esp, ebp
pop ebp
ret 0xc