Function at 0x442853
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe0
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x4428b0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0xd8], eax
lea eax, [ebp + 0x30]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x74]
movzx eax, byte [eax]
push eax
push dword [ebp - 0x54]
push dword [ebp - 0x9c]
push dword [ebp - 0x5c]
push 0
push dword [ebp - 0xd8]
call fcn.00450c0e
add esp, 0x18
jmp 0x442bf7
lea eax, [ebp + 0x24]
mov dword [ebp - 0x64], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp + 0x44]
mov dword [ebp - 0xc4], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x40]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x64]
movzx eax, byte [eax]
test eax, eax
je 0x442b72
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x84]
movzx eax, byte [eax]
test eax, eax
je 0x442990
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xcc]
movzx eax, byte [eax]
test eax, eax
je 0x44298b
push 0x2e7
call dword [sym.imp.USER32.dll_GetKeyState]
jmp 0x442b6d
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jne 0x4429f5
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x4429f5
and dword [ebp - 0x38], 0
jmp 0x4429fc
mov dword [ebp - 0x38], 1
mov eax, 0xa5f2
test eax, eax
je 0x442a16
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x442a16
mov dword [ebp - 0x44], 1
jmp 0x442a1a
and dword [ebp - 0x44], 0
cmp dword [ebp - 0x44], 8
jne 0x442a29
mov dword [ebp - 0x34], 1
jmp 0x442a2d
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x34]
jl 0x442a43
mov dword [ebp - 0x90], 1
jmp 0x442a4a
and dword [ebp - 0x90], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jle 0x442a6a
mov dword [ebp - 0x24], 1
jmp 0x442a6e
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x24]
sub ecx, dword [eax]
je 0x442a89
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x442a89
mov dword [ebp - 0x18], 1
jmp 0x442a8d
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
cmp dword [ebp - 0x18], eax
je 0x442aa3
mov dword [ebp - 0x98], 1
jmp 0x442aaa
and dword [ebp - 0x98], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
push 1
mov ecx, dword [ebp - 0xa0]
call fcn.00430996
mov ecx, dword [ebp - 0x2c]
mov dword [eax], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x2c]
sub ecx, dword [eax]
mov eax, dword [ebp - 4]
cmp ecx, dword [eax]
jl 0x442ae7
mov dword [ebp - 0x3c], 1
jmp 0x442aeb
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
cmp dword [ebp - 0x3c], eax
jge 0x442afe
mov dword [ebp - 0x1c], 1
jmp 0x442b02
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
dec eax
mov ecx, dword [ebp - 0x20]
cmp eax, dword [ecx]
jl 0x442b16
mov dword [ebp - 0x28], 1
jmp 0x442b1a
and dword [ebp - 0x28], 0
cmp dword [ebp - 0x28], 0xa527
jg 0x442b2c
mov dword [ebp - 0x30], 1
jmp 0x442b30
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x30]
shl eax, 1
cmp dword [ebp - 0x38], eax
jge 0x442b43
mov dword [ebp - 0x40], 1
jmp 0x442b47
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jl 0x442b61
mov dword [ebp - 0x48], 1
jmp 0x442b65
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x48]
mov dword [eax], ecx
jmp 0x442bf7
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xb8]
movzx eax, byte [eax]
test eax, eax
je 0x442bad
mov byte [ebp - 5], 0
movzx eax, byte [ebp - 5]
test eax, eax
je 0x442bab
push 0
call fcn.004534eb
pop ecx
jmp 0x442bf7
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [eax], 0
jmp 0x442bd8
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0xfffffffa
jg 0x442bf7
mov dword [ebp - 0xd0], 0x56bf5ee8
cmp dword [ebp - 0xd0], 0
je 0x442bf5
jmp 0x442bf7
jmp 0x442bcd
mov esp, ebp
pop ebp
ret