Function at 0x43c3e8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x16c
movzx eax, byte [ebp + 0x2c]
test eax, eax
je 0x43c631
mov eax, dword [ebp + 0x40]
mov dword [ebp - 0x148], eax
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x88], eax
lea eax, [ebp + 0x44]
mov dword [ebp - 0xb8], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x4c]
mov dword [ebp - 0x48], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0xb8]
movzx eax, byte [eax]
test eax, eax
je 0x43c58e
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0x58]
movzx eax, byte [eax]
test eax, eax
je 0x43c4ad
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x14c], eax
push 3
mov ecx, dword [ebp - 0x14c]
call fcn.00430996
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x20]
mov dword [ecx], eax
jmp 0x43c589
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x43c4e7
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], 0x1c
jl 0x43c589
mov dword [ebp - 0x28], 0x56ee9734
mov dword [ebp - 0x10], 0
jmp 0x43c50a
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 3
jge 0x43c520
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x16c], 0
jmp 0x43c503
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x16c]
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x43c573
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0x160], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
push 4
pop ecx
shl ecx, 0
sub eax, dword [ebp + ecx - 0x16c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 4]
imul eax, dword [ecx]
cmp eax, 0x8fe24307
jb 0x43c573
mov dword [ebp - 0x78], 1
jmp 0x43c577
and dword [ebp - 0x78], 0
mov eax, dword [ebp - 0xf0]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
mov dword [eax], ecx
jmp 0x43c4dc
jmp 0x43c62c
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0xf8]
movzx eax, byte [eax]
test eax, eax
je 0x43c621
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xc]
mov dword [eax], 0
jmp 0x43c5ff
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0xc]
mov dword [ecx], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax], 2
jge 0x43c61f
mov eax, dword [ebp - 0xc]
push dword [eax]
mov ecx, dword [ebp - 0xa0]
call fcn.00430996
mov dword [eax], 0x36eae117
jmp 0x43c5f4
jmp 0x43c62c
push 0x2e7
call dword [sym.imp.USER32.dll_GetKeyState]
jmp 0x43c9c6
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x60]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x54]
mov dword [ebp - 0x74], eax
lea eax, [ebp + 0x30]
mov dword [ebp - 0x154], eax
lea eax, [ebp + 0x24]
mov dword [ebp - 0x140], eax
mov eax, dword [ebp + 0x50]
mov dword [ebp - 0x108], eax
mov eax, dword [ebp + 0x48]
mov dword [ebp - 0x5c], eax
lea eax, [ebp + 0x58]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x5c]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0x154]
movzx eax, byte [eax]
test eax, eax
je 0x43c772
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x150], eax
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x138]
movzx eax, byte [eax]
test eax, eax
je 0x43c71a
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xc0]
movzx eax, byte [eax]
test eax, eax
je 0x43c718
push 0
push 0x837
push 0xcfe
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetSystemPaletteEntries]
jmp 0x43c76d
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x118]
movzx eax, byte [eax]
test eax, eax
je 0x43c76d
push 0
push 1
push 0x29b7
push 1
push 0x67ad
push 0x162b
push 0x58dc
push 0xb38
push 0
push 0x44f8
call fcn.00432700
add esp, 0x28
jmp 0x43c9c6
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0x84]
movzx eax, byte [eax]
test eax, eax
je 0x43c816
mov byte [ebp - 5], 0
push 0x6d05
push 0x438a
push 0x489d
push 0x367e
lea eax, [ebp - 5]
push eax
push 0x36dc
push 0
push 1
push 0x62ff
call fcn.004357c8
add esp, 0x24
jmp 0x43c9c6
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0x144], eax
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp - 0x11c]
cmp dword [eax], 0
jne 0x43c8fc
mov dword [ebp - 0x24], 1
jmp 0x43c900
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 1
jbe 0x43c911
mov dword [ebp - 0x38], 1
jmp 0x43c915
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
cmp dword [ebp - 0x38], eax
jl 0x43c928
mov dword [ebp - 0x18], 1
jmp 0x43c92c
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x124]
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
mov eax, dword [ebp - 0x12c]
mov eax, dword [eax]
add eax, dword [ebp - 0x18]
cmp eax, 1
jle 0x43c950
mov dword [ebp - 0x30], 1
jmp 0x43c954
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
cmp dword [ebp - 0x30], eax
jge 0x43c967
mov dword [ebp - 0x14], 1
jmp 0x43c96b
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x134]
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x13c]
sub eax, dword [ecx]
jne 0x43c98c
mov eax, dword [ebp - 0x2c]
cmp dword [eax], 0
mov eax, 0x9d707d8e
dec eax
cmp eax, 1
jl 0x43c9a0
mov dword [ebp - 0x34], 1
jmp 0x43c9a4
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
cmp dword [ebp - 0x34], eax
jge 0x43c9b7
mov dword [ebp - 0x3c], 1
jmp 0x43c9bb
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x144]
mov ecx, dword [ebp - 0x3c]
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret