Function at 0x100406e4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10062a2e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x128
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x10040938
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x74], eax
lea eax, [ebp + 0x3c]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x40], 0x7b33
mov dword [ebp - 0x120], 0x1000b0c8
cmp dword [ebp - 0x40], 0x7e02
jle 0x100407e5
push 0
call dword [sym.imp.USER32.dll_GetKeyboardState]
and dword [ebp - 0x30], 0
jmp 0x1004075d
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x3925
jge 0x100407e5
and dword [ebp - 0x38], 0
jmp 0x10040773
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0x4937
jge 0x100407e0
and dword [ebp - 0x1c], 0
jmp 0x10040789
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x38d1
jge 0x100407de
and dword [ebp - 0x24], 0
jmp 0x1004079f
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x403e
jge 0x100407dc
mov eax, dword [ebp - 0x38]
cdq
idiv dword [ebp - 0x1c]
add edx, dword [ebp - 0x30]
and edx, dword [ebp - 0x24]
mov eax, edx
cdq
mov dword [ebp - 0x104], eax
mov dword [ebp - 0x100], edx
push dword [ebp - 0x100]
push dword [ebp - 0x104]
mov ecx, 0x1060aeb8
call fcn.10010996
jmp 0x10040798
jmp 0x10040782
jmp 0x1004076c
jmp 0x10040756
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x64], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x40], 0x795d
jge 0x10040808
mov edx, dword [ebp - 0x120]
mov ecx, 0x1060aeb8
call fcn.100132ba
jmp 0x10040824
or dword [ebp - 4], 0xffffffff
jmp 0x1004082e
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x108], eax
mov eax, dword [ebp + 0x40]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0x5c]
movzx eax, byte [eax]
test eax, eax
je 0x10040894
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc4]
add eax, dword [ecx]
mov ecx, dword [ebp - 0x4c]
mov dword [ecx], eax
jmp 0x10040933
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x9c], eax
push 0
mov eax, dword [ebp - 0x9c]
push dword [eax]
mov eax, dword [ebp - 0xdc]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xa4]
mov ecx, dword [ecx]
add ecx, dword [eax + 0xc]
mov eax, dword [ebp - 0xfc]
mov eax, dword [eax]
add eax, ecx
push eax
mov ecx, dword [ebp - 0xac]
call fcn.10044688
jmp 0x10040c65
mov eax, dword [ebp + 0x44]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x58], eax
lea eax, [ebp + 0x30]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp + 0x48]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xe4]
movzx eax, byte [eax]
test eax, eax
je 0x10040b4a
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0x44], 0x72a1
mov dword [ebp - 0x90], 0x1000b148
cmp dword [ebp - 0x44], 0x75da
jle 0x10040aaf
push 0
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
and dword [ebp - 0x14], 0
jmp 0x100409fa
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x18f3
jge 0x10040aaf
and dword [ebp - 0x3c], 0
jmp 0x10040a14
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0x2b7d
jge 0x10040aaa
and dword [ebp - 0x34], 0
jmp 0x10040a2e
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x68a
jge 0x10040aa5
and dword [ebp - 0x2c], 0
jmp 0x10040a44
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xc95
jge 0x10040aa3
mov eax, dword [ebp - 0x34]
cdq
idiv dword [ebp - 0x2c]
mov eax, dword [ebp - 0x3c]
mov ecx, edx
sar eax, cl
or eax, dword [ebp - 0x14]
cdq
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x10c], edx
push dword [ebp - 0x10c]
push dword [ebp - 0x110]
lea ecx, [ebp - 0x138]
call fcn.1000cefe
pop ecx
pop ecx
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x80]
call fcn.10010976
push eax
call fcn.1004c59f
pop ecx
lea ecx, [ebp - 0x138]
call fcn.1001096c
jmp 0x10040a3d
jmp 0x10040a27
jmp 0x10040a0d
jmp 0x100409f3
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0xb0], eax
mov dword [ebp - 4], 2
cmp dword [ebp - 0x44], 0x6ed0
jge 0x10040ad7
push dword [ebp - 0x90]
call fcn.1004c59f
pop ecx
jmp 0x10040af3
or dword [ebp - 4], 0xffffffff
jmp 0x10040afd
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xa8], eax
push 0
mov eax, dword [ebp - 0xa8]
push dword [eax]
mov eax, dword [ebp - 0xb0]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xb8]
add eax, dword [ecx]
mov ecx, dword [ebp - 0xc0]
mov ecx, dword [ecx]
add ecx, eax
push ecx
mov ecx, dword [ebp - 0xc8]
call fcn.10044688
jmp 0x10040c65
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0xf0], eax
mov dword [ebp - 0x50], 0x2297
mov dword [ebp - 0xf8], 0x1000b190
cmp dword [ebp - 0x50], 0x2434
jle 0x10040c07
and dword [ebp - 0x28], 0
jmp 0x10040b9e
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x65de
jge 0x10040c07
and dword [ebp - 0x18], 0
jmp 0x10040bb4
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x45e2
jge 0x10040c05
and dword [ebp - 0x20], 0
jmp 0x10040bca
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x1f87
jge 0x10040c03
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
sar eax, cl
xor eax, dword [ebp - 0x28]
cdq
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x118], edx
push dword [ebp - 0x118]
push dword [ebp - 0x11c]
mov ecx, 0x1060aeb8
call fcn.10010996
jmp 0x10040bc3
jmp 0x10040bad
jmp 0x10040b97
mov eax, dword [ebp - 0x48]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xf0]
mov eax, dword [eax + 0x14]
sub eax, dword [ecx]
mov ecx, dword [ebp - 0x48]
mov ecx, dword [ecx]
mov dword [ecx + 0x14], eax
mov dword [ebp - 4], 4
cmp dword [ebp - 0x50], 0x1fa0
jge 0x10040c3f
mov edx, dword [ebp - 0xf8]
mov ecx, 0x1060aeb8
call fcn.100132ba
jmp 0x10040c5b
or dword [ebp - 4], 0xffffffff
jmp 0x10040c65
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret