Function at 0x45b21f
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
movzx eax, byte [ebp + 0x40]
test eax, eax
je 0x45b589
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x130], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0x120], eax
lea eax, [ebp + 0x38]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp + 0x58]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp + 0x4c]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xa8]
movzx eax, byte [eax]
test eax, eax
je 0x45b57c
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
mov dword [ebp - 0x144], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x138]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jge 0x45b3d0
mov dword [ebp - 0x3c], 1
jmp 0x45b3d4
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x44]
mov dword [eax], 0x291920b2
mov eax, 0x291920b2
cmp eax, 0xffffa903
je 0x45b3f2
mov dword [ebp - 0x28], 1
jmp 0x45b3f6
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x88]
mov ecx, dword [ebp - 0x28]
mov dword [eax], ecx
cmp dword [ebp - 0x28], 4
jne 0x45b410
mov dword [ebp - 0x5c], 1
jmp 0x45b414
and dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
cmp dword [ebp - 0x5c], eax
jle 0x45b42c
mov eax, dword [ebp - 0x20]
cmp dword [eax], 0
jne 0x45b42c
and dword [ebp - 0x7c], 0
jmp 0x45b433
mov dword [ebp - 0x7c], 1
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x7c]
jge 0x45b444
mov dword [ebp - 0x30], 1
jmp 0x45b448
and dword [ebp - 0x30], 0
cmp dword [ebp - 0x30], 0x46552ded
jne 0x45b45a
mov dword [ebp - 0x64], 1
jmp 0x45b45e
and dword [ebp - 0x64], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp dword [ebp - 0x64], eax
jle 0x45b471
mov dword [ebp - 0x4c], 1
jmp 0x45b475
and dword [ebp - 0x4c], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp dword [ebp - 0x4c], eax
jge 0x45b488
mov dword [ebp - 0x18], 1
jmp 0x45b48c
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
cmp dword [ebp - 0x18], 1
jne 0x45b4a6
mov dword [ebp - 0x74], 1
jmp 0x45b4aa
and dword [ebp - 0x74], 0
cmp dword [ebp - 0x74], 0xfffffffe
jg 0x45b4b9
mov dword [ebp - 0x54], 1
jmp 0x45b4bd
and dword [ebp - 0x54], 0
cmp dword [ebp - 0x54], 0xffffffff
jg 0x45b4cc
mov dword [ebp - 0x10], 1
jmp 0x45b4d0
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x94]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp dword [ebp - 0x10], eax
jge 0x45b4ee
mov dword [ebp - 0x6c], 1
jmp 0x45b4f2
and dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
add eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x20]
cmp eax, dword [ecx]
jl 0x45b50a
mov dword [ebp - 0x1c], 1
jmp 0x45b50e
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
cmp dword [ebp - 0x1c], eax
jge 0x45b52c
mov dword [ebp - 0x34], 1
jmp 0x45b530
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp dword [ebp - 0x34], eax
jl 0x45b543
mov dword [ebp - 0x24], 1
jmp 0x45b547
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 0xa4]
mov ecx, dword [ebp - 0x24]
mov dword [eax], ecx
cmp dword [ebp - 0x24], 0xf34d89bb
jne 0x45b564
mov dword [ebp - 0x38], 1
jmp 0x45b568
and dword [ebp - 0x38], 0
push 0
mov ecx, dword [ebp - 0xac]
call fcn.0042182a
mov ecx, dword [ebp - 0x38]
mov dword [eax], ecx
jmp 0x45b584
push 0
call dword [sym.imp.USER32.dll_GetKeyboardState]
jmp 0x45b78a
mov eax, dword [ebp + 0x44]
mov dword [ebp - 0xbc], eax
lea eax, [ebp + 0x48]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp + 0x54]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp + 0x50]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xb4]
movzx eax, byte [eax]
test eax, eax
je 0x45b757
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x114]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
jne 0x45b68b
mov eax, dword [ebp - 0x60]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x11c]
add eax, dword [ecx]
imul eax, eax, 0xedb9
test eax, eax
jne 0x45b68b
and dword [ebp - 0x40], 0
jmp 0x45b692
mov dword [ebp - 0x40], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax]
imul eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0xc]
cmp eax, dword [ecx]
jge 0x45b6ab
mov dword [ebp - 0x48], 1
jmp 0x45b6af
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x48], eax
je 0x45b6c2
mov dword [ebp - 0x50], 1
jmp 0x45b6c6
and dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x50]
add eax, 5
mov ecx, dword [ebp - 0xc]
cmp eax, dword [ecx]
jle 0x45b6dc
mov dword [ebp - 0x58], 1
jmp 0x45b6e0
and dword [ebp - 0x58], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x58], eax
jne 0x45b6f3
mov dword [ebp - 0x70], 1
jmp 0x45b6f7
and dword [ebp - 0x70], 0
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x60]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 0x68]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x70]
jg 0x45b714
mov dword [ebp - 0x78], 1
jmp 0x45b718
and dword [ebp - 0x78], 0
cmp dword [ebp - 0x78], 0xfffffff6
jle 0x45b727
mov dword [ebp - 0x80], 1
jmp 0x45b72b
and dword [ebp - 0x80], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x80], eax
jne 0x45b73e
mov dword [ebp - 0x2c], 1
jmp 0x45b742
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x124]
mov ecx, dword [ebp - 0x2c]
mov dword [eax], ecx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x2c]
mov dword [eax], ecx
jmp 0x45b78a
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp - 0x13c]
movzx eax, byte [eax]
test eax, eax
je 0x45b78a
push 1
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
mov esp, ebp
pop ebp
ret