Function at 0x1001590e
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x10015972
lea eax, [ebp + 0x30]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x78]
movzx eax, byte [eax]
test eax, eax
je 0x1001594b
mov byte [ebp - 5], 0
push 0
push 1
lea eax, [ebp - 5]
push eax
call fcn.10015759
add esp, 0xc
jmp 0x1001596d
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
movzx eax, byte [eax]
test eax, eax
je 0x1001596d
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_AttachThreadInput]
jmp 0x10015b6d
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x28], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x90]
movzx eax, byte [eax]
test eax, eax
je 0x10015b16
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x10015a26
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], 0xa
je 0x10015b14
mov dword [ebp - 0x10], 0
jmp 0x10015a42
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jge 0x10015a55
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x54], 1
jmp 0x10015a3b
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0xfc36fe5a
jne 0x10015a69
mov dword [ebp - 0x14], 1
jmp 0x10015a6d
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x14]
jge 0x10015a80
mov dword [ebp - 0x20], 1
jmp 0x10015a84
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x3c]
mov dword [eax], 0
cmp dword [ebp - 0x20], 0
jle 0x10015aa8
push 0
mov ecx, dword [ebp - 0x44]
call fcn.10017dd6
cmp dword [eax], 0
jne 0x10015aa8
and dword [ebp - 0x4c], 0
jmp 0x10015aaf
mov dword [ebp - 0x4c], 1
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x54]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jne 0x10015adf
mov dword [ebp - 0x1c], 1
jmp 0x10015ae3
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
add ecx, 0x319c23af
cmp dword [eax], ecx
jne 0x10015afc
mov dword [ebp - 0x24], 1
jmp 0x10015b00
and dword [ebp - 0x24], 0
push 0
mov ecx, dword [ebp - 0x64]
call fcn.10017dd6
mov ecx, dword [ebp - 0x24]
mov dword [eax], ecx
jmp 0x10015a1b
jmp 0x10015b6d
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0xc]
mov dword [eax], 0
jmp 0x10015b4d
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], 1
jge 0x10015b6d
mov eax, dword [ebp - 0xc]
push dword [eax]
mov ecx, dword [ebp - 0x8c]
call fcn.10017dd6
mov dword [eax], 0xfffffffc
jmp 0x10015b42
mov esp, ebp
pop ebp
ret