Function at 0x10049aa4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
push esi
movzx eax, byte [ebp + 0x2c]
test eax, eax
je 0x10049b50
lea eax, [ebp + 8]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x130], eax
mov eax, dword [ebp + 0x40]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xf0]
movzx eax, byte [eax]
test eax, eax
je 0x10049b43
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x110]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x90]
mov ecx, dword [ecx]
add ecx, dword [eax]
mov eax, dword [ebp - 0xe8]
mov dword [eax], ecx
jmp 0x10049b4b
push 0
call dword [sym.imp.USER32.dll_GetKeyboardState]
jmp 0x10049ffe
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp + 0x54]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp + 0x4c]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp + 0x58]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp + 0x44]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp + 0x48]
mov dword [ebp - 0xb0], eax
lea eax, [ebp + 0x5c]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x128], eax
mov eax, dword [ebp + 0x50]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x98]
movzx eax, byte [eax]
test eax, eax
je 0x10049dd2
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x28]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jne 0x10049cb1
mov dword [ebp - 0x2c], 1
jmp 0x10049cb5
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jle 0x10049cd5
mov dword [ebp - 0x5c], 1
jmp 0x10049cd9
and dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x5c]
sub eax, 0xe77f
cmp eax, 0x92973452
jbe 0x10049cf1
mov dword [ebp - 0x4c], 1
jmp 0x10049cf5
and dword [ebp - 0x4c], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x4c]
inc ecx
add eax, ecx
jne 0x10049d10
mov eax, dword [ebp - 0x20]
cmp dword [eax], 0
jne 0x10049d10
and dword [ebp - 0x34], 0
jmp 0x10049d17
mov dword [ebp - 0x34], 1
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp dword [ebp - 0x34], eax
je 0x10049d2a
mov dword [ebp - 0x3c], 1
jmp 0x10049d2e
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
cmp dword [ebp - 0x3c], eax
jne 0x10049d41
mov dword [ebp - 0x54], 1
jmp 0x10049d45
and dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x20]
mov esi, dword [eax]
add esi, dword [ebp - 0x54]
mov eax, dword [ebp - 0x7c]
add esi, dword [eax]
push 0
mov ecx, dword [ebp - 0x44]
call fcn.10016ca1
cmp esi, dword [eax]
jle 0x10049d69
mov dword [ebp - 0x18], 1
jmp 0x10049d6d
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x84]
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
cmp dword [ebp - 0x18], 0
jne 0x10049d93
push 0
mov ecx, dword [ebp - 0x44]
call fcn.10016ca1
cmp dword [eax], 0
jne 0x10049d93
and dword [ebp - 0x64], 0
jmp 0x10049d9a
mov dword [ebp - 0x64], 1
mov eax, dword [ebp - 0x64]
neg eax
mov ecx, dword [ebp - 0x2c]
sub ecx, eax
mov eax, dword [ebp - 8]
imul ecx, dword [eax]
test ecx, ecx
jne 0x10049dbb
push 0xfffffffffffffffa
pop eax
test eax, eax
jne 0x10049dbb
and dword [ebp - 0x30], 0
jmp 0x10049dc2
mov dword [ebp - 0x30], 1
mov eax, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x30]
mov dword [eax], ecx
jmp 0x10049ffe
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0xc]
push dword [eax]
mov ecx, dword [ebp - 4]
call fcn.10016ca1
cmp dword [eax], 0
jne 0x10049ead
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
je 0x10049f09
push 0
mov ecx, dword [ebp - 4]
call fcn.10016ca1
cmp dword [eax], 0
jb 0x10049ec5
mov dword [ebp - 0x38], 1
jmp 0x10049ec9
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 0xc]
push dword [eax]
mov ecx, dword [ebp - 4]
call fcn.10016ca1
mov ecx, dword [ebp - 0x38]
cmp ecx, dword [eax]
jne 0x10049ee6
mov dword [ebp - 0x1c], 1
jmp 0x10049eea
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
cmp dword [ebp - 0x1c], 0
jne 0x10049f00
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
je 0x10049f09
mov dword [ebp - 0x40], 1
jmp 0x10049f0d
and dword [ebp - 0x40], 0
push 3
mov ecx, dword [ebp - 4]
call fcn.10016ca1
mov ecx, dword [ebp - 0x40]
cmp ecx, dword [eax]
jl 0x10049f27
mov dword [ebp - 0x48], 1
jmp 0x10049f2b
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x48]
add eax, 0x7f077a43
imul eax, eax, 0xa284
imul eax, eax, 0xadf8
test eax, eax
je 0x10049f5e
mov eax, dword [ebp - 0xc]
push dword [eax]
mov ecx, dword [ebp - 4]
call fcn.10016ca1
cmp dword [eax], 0
je 0x10049f5e
mov dword [ebp - 0x50], 1
jmp 0x10049f62
and dword [ebp - 0x50], 0
cmp dword [ebp - 0x50], 0xa1434a93
ja 0x10049f74
mov dword [ebp - 0x58], 1
jmp 0x10049f78
and dword [ebp - 0x58], 0
cmp dword [ebp - 0x58], 0x8f585950
je 0x10049f8a
mov dword [ebp - 0x60], 1
jmp 0x10049f8e
and dword [ebp - 0x60], 0
mov eax, dword [ebp - 0x114]
mov eax, dword [eax]
cmp dword [ebp - 0x60], eax
jg 0x10049fa4
mov dword [ebp - 0x24], 1
jmp 0x10049fa8
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x11c]
mov ecx, dword [ebp - 0x24]
mov dword [eax], ecx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
cmp dword [ebp - 0x24], eax
jle 0x10049fc6
mov dword [ebp - 0x10], 1
jmp 0x10049fca
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x124]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
mov eax, dword [ebp - 0x12c]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
cmp dword [ebp - 0x10], 0
jle 0x10049fef
mov dword [ebp - 0x68], 1
jmp 0x10049ff3
and dword [ebp - 0x68], 0
mov eax, dword [ebp - 0x134]
mov ecx, dword [ebp - 0x68]
mov dword [eax], ecx
pop esi
mov esp, ebp
pop ebp
ret