Function at 0x1006ee17
Capabilities:
Create thread
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
mov dword [ebp - 4], 0
push 0x208
call fcn.1008b0e0
add esp, 4
mov dword [ebp - 8], eax
mov edi, eax
mov esi, 0x100dd650
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0x80
rep stosd dword es:[edi], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
xor ecx, ecx
lea eax, [ebp - 4]
mov ebx, eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, 0xff
jg 0x1006ef1d
mov ebx, dword [ebp - 8]
call fcn.10013386
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x1006ee95
push 4
call fcn.1008b0ec
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x1006eea8
push 1
call fcn.1008b0ec
add esp, 4
shl eax, 1
add ebx, eax
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov word [ebx], 0xfb
mov ebx, dword [ebp - 8]
call fcn.10013386
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x1006eed4
push 4
call fcn.1008b0ec
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x1006eee7
push 1
call fcn.1008b0ec
add esp, 4
shl eax, 1
add ebx, eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], esp
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x1006ef10
push 6
call fcn.1008b0ec
add esp, 4
mov ebx, dword [ebp - 0x18]
mov word [ebx], ax
pop ebx
pop ecx
jmp 0x1006ee67
add esp, 8
mov ebx, dword [0x100fcd7d]
call fcn.10029675
xor ecx, ecx
push eax
lea eax, [ebp - 4]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x1006f782
mov ebx, dword [0x100fcd7d]
call fcn.10013386
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x1006ef62
push 4
call fcn.1008b0ec
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x1006ef75
push 1
call fcn.1008b0ec
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
cmp dword [ebx], 0
je 0x1006f77a
mov ebx, dword [0x100fcd7d]
call fcn.10013386
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x1006efab
push 4
call fcn.1008b0ec
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x1006efbe
push 1
call fcn.1008b0ec
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
fild dword [ebx]
fstp qword [ebp - 0x20]
push 0x80000601
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push 1
mov ebx, 0x5c
call fcn.1008cee0
add esp, 0x10
push 0x80000601
push edx
push eax
push 1
mov ebx, 0x9d4
call fcn.1008bd50
add esp, 0x10
and eax, 0xff
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
call fcn.10013386
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x1006f02e
push 4
call fcn.1008b0ec
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x1006f041
push 1
call fcn.1008b0ec
add esp, 4
shl eax, 1
add ebx, eax
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov ax, word [ebx]
cwde
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x1006f143
mov ebx, dword [0x100fcd7d]
call fcn.10013386
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x1006f07c
push 4
call fcn.1008b0ec
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x1006f08f
push 1
call fcn.1008b0ec
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x14
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
cmp byte [ebx], 1
jne 0x1006f0f3
mov ebx, dword [0x100fcd7d]
call fcn.10013386
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x1006f0c8
push 4
call fcn.1008b0ec
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x1006f0db
push 1
call fcn.1008b0ec
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x14
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov byte [ebx], 2
jmp 0x1006f13e
mov ebx, dword [0x100fcd7d]
call fcn.10013386
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x1006f113
push 4
call fcn.1008b0ec
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x1006f126
push 1
call fcn.1008b0ec
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x14
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov byte [ebx], 0
jmp 0x1006f77a
jmp 0x1006f230
cmp dword [ebp - 0xc], 0
jge 0x1006f230
mov ebx, dword [0x100fcd7d]
call fcn.10013386
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x1006f16d
push 4
call fcn.1008b0ec
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x1006f180
push 1
call fcn.1008b0ec
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x14
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
cmp byte [ebx], 0
jne 0x1006f1df
mov ebx, dword [0x100fcd7d]
call fcn.10013386
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x1006f1b9
push 4
call fcn.1008b0ec
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x1006f1cc
push 1
call fcn.1008b0ec
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x14
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov byte [ebx], 1
mov ebx, dword [0x100fcd7d]
call fcn.10013386
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x1006f1ff
push 4
call fcn.1008b0ec
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x1006f212
push 1
call fcn.1008b0ec
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
cmp dword [ebx], 0
jge 0x1006f230
jmp 0x1006f77a
mov ebx, dword [0x100fcd7d]
call fcn.10013386
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x1006f250
push 4
call fcn.1008b0ec
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x1006f263
push 1
call fcn.1008b0ec
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x14
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
cmp byte [ebx], 0
jbe 0x1006f2cf
mov ebx, dword [0x100fcd7d]
call fcn.10013386
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x1006f29c
push 4
call fcn.1008b0ec
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x1006f2af
push 1
call fcn.1008b0ec
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x14
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
cmp byte [ebx], 0x58
je 0x1006f2cf
mov eax, 1
jmp 0x1006f2d1
xor eax, eax
test eax, eax
je 0x1006f77a
mov ebx, dword [0x100fcd7d]
call fcn.10013386
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x1006f2f9
push 4
call fcn.1008b0ec
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x1006f30c
push 1
call fcn.1008b0ec
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x14
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov byte [ebx], 0x58
mov ebx, dword [0x100fcd7d]
call fcn.10013386
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x1006f33f
push 4
call fcn.1008b0ec
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x1006f352
push 1
call fcn.1008b0ec
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0xc
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 8]
call fcn.10013386
mov eax, 0x11
cmp eax, ecx
jl 0x1006f37d
push 1
call fcn.1008b0ec
add esp, 4
shl eax, 1
add ebx, eax
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
cmp word [ebx], 0
mov eax, 0
setl al
test eax, eax
je 0x1006f3a5
mov eax, 1
jmp 0x1006f3aa
mov eax, 0
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 8]
call fcn.10013386
mov eax, 0x10
cmp eax, ecx
jl 0x1006f3cb
push 1
call fcn.1008b0ec
add esp, 4
shl eax, 1
add ebx, eax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
cmp word [ebx], 0
mov eax, 0
setl al
test eax, eax
je 0x1006f3f3
mov eax, 2
jmp 0x1006f3f8
mov eax, 0
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 8]
call fcn.10013386
mov eax, 0xf
cmp eax, ecx
jl 0x1006f419
push 1
call fcn.1008b0ec
add esp, 4
shl eax, 1
add ebx, eax
mov dword [ebp - 0x34], ebx
mov ebx, dword [ebp - 0x34]
cmp word [ebx], 0
mov eax, 0
setl al
test eax, eax
je 0x1006f441
mov eax, 4
jmp 0x1006f446
mov eax, 0
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 8]
call fcn.10013386
mov eax, 0x5a
cmp eax, ecx
jl 0x1006f467
push 1
call fcn.1008b0ec
add esp, 4
shl eax, 1
add ebx, eax
mov dword [ebp - 0x40], ebx
mov ebx, dword [ebp - 0x40]
cmp word [ebx], 0
mov eax, 0
setl al
test eax, eax
je 0x1006f48f
mov eax, 8
jmp 0x1006f494
mov eax, 0
mov dword [ebp - 0x48], eax
fild dword [ebp - 0x24]
fstp qword [ebp - 0x50]
fld qword [ebp - 0x50]
fild dword [ebp - 0x30]
fstp qword [ebp - 0x58]
fadd qword [ebp - 0x58]
fild dword [ebp - 0x3c]
fstp qword [ebp - 0x60]
fadd qword [ebp - 0x60]
fild dword [ebp - 0x48]
fstp qword [ebp - 0x68]
fadd qword [ebp - 0x68]
fstp qword [ebp - 0x70]
mov ebx, dword [ebp - 0x18]
fild dword [ebx]
fstp qword [ebp - 0x78]
fld qword [ebp - 0x78]
fsub qword [ebp - 0x70]
ftst
fnstsw ax
test ah, 1
je 0x1006f4d7
fchs
fcomp qword [0x100d5d6a]
fnstsw ax
test ah, 0x41
je 0x1006f77a
mov ebx, dword [0x100fcd7d]
call fcn.10013386
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x1006f508
push 4
call fcn.1008b0ec
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x1006f51b
push 1
call fcn.1008b0ec
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x10
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
cmp dword [ebx], 0
je 0x1006f603
mov ebx, dword [0x100fcd7d]
call fcn.10013386
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x1006f554
push 4
call fcn.1008b0ec
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x1006f567
push 1
call fcn.1008b0ec
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x10
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
fild dword [ebx]
fstp qword [ebp - 0x20]
push 0x80000601
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push 1
mov ebx, 0x5c
call fcn.1008cee0
add esp, 0x10
push 0x80000601
push edx
push eax
push 1
mov ebx, 0x9d4
call fcn.1008bd50
add esp, 0x10
and eax, 0xff
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
call fcn.10013386
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x1006f5d7
push 4
call fcn.1008b0ec
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x1006f5ea
push 1
call fcn.1008b0ec
add esp, 4
shl eax, 1
add ebx, eax
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
cmp word [ebx], 0
jl 0x1006f603
jmp 0x1006f77a
mov ebx, dword [0x100fcd7d]
call fcn.10013386
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x1006f623
push 4
call fcn.1008b0ec
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x1006f636
push 1
call fcn.1008b0ec
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
mov ebx, dword [0x100fcd7d]
call fcn.10013386
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x1006f66b
push 4
call fcn.1008b0ec
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x1006f67e
push 1
call fcn.1008b0ec
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebx]
mov dword [ebp - 0x14], eax
mov ebx, dword [0x100fcd7d]
call fcn.10013386
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x1006f6b0
push 4
call fcn.1008b0ec
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x1006f6c3
push 1
call fcn.1008b0ec
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x1c
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
cmp dword [ebx], 0
je 0x1006f715
mov dword [ebp - 0x18], esp
push 0
push 0
push 0
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_CallWindowProcA]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x1006f710
push 6
call fcn.1008b0ec
add esp, 4
jmp 0x1006f77a
mov dword [ebp - 0x18], esp
mov eax, 0
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push 0
push dword [ebp - 0x14]
push dword [ebp - 0x10]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x1006f755
push 6
call fcn.1008b0ec
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], esp
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x24], esp
je 0x1006f77a
push 6
call fcn.1008b0ec
add esp, 4
pop eax
pop ebx
pop ecx
jmp 0x1006ef34
add esp, 0xc
mov ebx, dword [ebp - 8]
push ebx
call fcn.1008b0e6
add esp, 4
mov esp, ebp
pop ebp
ret