Function at 0x45b8f7
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bc9cb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xc0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x45b9b7
lea eax, [ebp + 0x2c]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xa0], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x68]
movzx eax, byte [eax]
test eax, eax
je 0x45b95a
push 0
push 0x7aaa
call fcn.0046d268
pop ecx
pop ecx
jmp 0x45b9b2
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
movzx eax, byte [eax]
test eax, eax
je 0x45b983
push 0
call dword [sym.imp.USER32.dll_GetKeyboardState]
jmp 0x45b9b2
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x90]
movzx eax, byte [eax]
test eax, eax
je 0x45b9b2
push 0x622
push 0x234c
call dword [sym.imp.GDI32.dll_SetStretchBltMode]
jmp 0x45bd46
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x64], eax
push 3
lea ecx, [ebp - 0x3c]
call fcn.00406726
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x58], 0x5bb3
mov dword [ebp - 0x78], str.mgi_kfyke_fopfdr_nmyuec_jydjbe_nzadmku_uivmmw_xcl_zsyvnbopx_eqmtkh_mixy
cmp dword [ebp - 0x58], 0x5e97
jle 0x45baf3
and dword [ebp - 0x28], 0
jmp 0x45ba38
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x3111
jge 0x45bae9
and dword [ebp - 0x2c], 0
jmp 0x45ba52
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x11f0
jge 0x45bae4
and dword [ebp - 0x30], 0
jmp 0x45ba6c
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x3dc
jge 0x45badf
and dword [ebp - 0x24], 0
jmp 0x45ba82
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xb6a
jge 0x45badd
mov ecx, dword [ebp - 0x28]
sub ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
cdq
idiv dword [ebp - 0x24]
or ecx, edx
mov eax, ecx
cdq
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], edx
push dword [ebp - 0x94]
push dword [ebp - 0x98]
lea ecx, [ebp - 0xd0]
call fcn.00401a01
pop ecx
pop ecx
mov ecx, eax
call fcn.004063c6
push eax
call fcn.004a68c7
pop ecx
lea ecx, [ebp - 0xd0]
call fcn.004063bc
jmp 0x45ba7b
jmp 0x45ba65
jmp 0x45ba4b
jmp 0x45ba31
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
and dword [ebp - 4], 0
cmp dword [ebp - 0x58], 0x5859
jge 0x45bb09
push dword [ebp - 0x78]
call fcn.004a68c7
pop ecx
jmp 0x45bb25
or dword [ebp - 4], 0xffffffff
jmp 0x45bb2f
mov dword [ebp - 0x14], 0
jmp 0x45bb3f
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jge 0x45bb58
push dword [ebp - 0x14]
lea ecx, [ebp - 0x3c]
call fcn.00406814
mov dword [eax], 0xccbad86e
jmp 0x45bb38
mov dword [ebp - 0x14], 0
jmp 0x45bb68
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 4
jge 0x45bb7e
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0xb8], 0x5d5f8d9a
jmp 0x45bb61
xor eax, eax
jne 0x45bbb3
push 0
lea ecx, [ebp - 0x3c]
call fcn.00406814
cmp dword [eax], 0
jne 0x45bbb3
push 2
lea ecx, [ebp - 0x3c]
call fcn.00406814
mov esi, eax
push 0
lea ecx, [ebp - 0x3c]
call fcn.00406814
mov ecx, dword [esi]
cmp ecx, dword [eax]
jg 0x45bbb3
and dword [ebp - 0x40], 0
jmp 0x45bbba
mov dword [ebp - 0x40], 1
push 0
lea ecx, [ebp - 0x3c]
call fcn.00406814
mov ecx, dword [ebp - 0x40]
cmp ecx, dword [eax]
je 0x45bbe0
push 1
lea ecx, [ebp - 0x3c]
call fcn.00406814
cmp dword [eax], 0
jne 0x45bbe0
and dword [ebp - 0x54], 0
jmp 0x45bbe7
mov dword [ebp - 0x54], 1
push 0
lea ecx, [ebp - 0x3c]
call fcn.00406814
mov ecx, dword [ebp - 0x54]
cmp ecx, dword [eax]
jg 0x45bc01
mov dword [ebp - 0x4c], 1
jmp 0x45bc05
and dword [ebp - 0x4c], 0
push 0
lea ecx, [ebp - 0x3c]
call fcn.00406814
mov ecx, dword [ebp - 0x4c]
cmp ecx, dword [eax]
jge 0x45bc1f
mov dword [ebp - 0x44], 1
jmp 0x45bc23
and dword [ebp - 0x44], 0
push 0
lea ecx, [ebp - 0x3c]
call fcn.00406814
mov eax, dword [eax]
cmp eax, dword [ebp - 0x44]
jg 0x45bc3d
mov dword [ebp - 0x48], 1
jmp 0x45bc41
and dword [ebp - 0x48], 0
cmp dword [ebp - 0x48], 0xffff
je 0x45bc5f
push 1
lea ecx, [ebp - 0x3c]
call fcn.00406814
cmp dword [eax], 0
jne 0x45bc5f
and dword [ebp - 0x50], 0
jmp 0x45bc66
mov dword [ebp - 0x50], 1
imul eax, dword [ebp - 0x50], 0xb979
mov dword [ebp - 0x1c], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x1c]
mov dword [ebp + eax - 0xb8], ecx
mov dword [ebp - 0x1c], 0
jmp 0x45bc90
mov eax, dword [ebp - 0x1c]
dec eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffe9
jl 0x45bce2
mov dword [ebp - 0x20], 0x8e503485
cmp dword [ebp - 0x20], 0
je 0x45bcd2
push 0
lea ecx, [ebp - 0x3c]
call fcn.00406814
cmp dword [eax], 0
je 0x45bcb4
jmp 0x45bce2
mov byte [ebp - 0x15], 0
movzx eax, byte [ebp - 0x15]
test eax, eax
je 0x45bcd0
push 0x622
push 0x234c
call dword [sym.imp.GDI32.dll_SetStretchBltMode]
jmp 0x45bcd8
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x45bce0
jmp 0x45bc89
jmp 0x45bc89
lea ecx, [ebp - 0x3c]
call fcn.004067f8
push dword [ebp - 0xa4]
push 0x14bf
push dword [ebp - 0x80]
push dword [ebp - 0x9c]
push 0x5af9
push dword [ebp - 0x60]
push dword [ebp - 0x64]
push 0x22f8
push 0x7267
push 0x61c9
push 0
push dword [ebp - 0x6c]
push dword [ebp - 0x74]
push 0x18eb
push dword [ebp - 0x7c]
push dword [ebp - 0x84]
push 0x4062
push 0x5d80
push dword [ebp - 0x8c]
call fcn.00478644
add esp, 0x4c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret