Function at 0x10018a50
Capabilities:
Log keystrokes via polling
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100715a6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8c
push esi
mov dword [ebp - 0x3c], 0xad72
mov dword [ebp - 0x38], 0xad72
mov dword [ebp - 0x34], 0xad72
mov dword [ebp - 0x30], 0xad72
mov dword [ebp - 0x48], 0xe730
mov dword [ebp - 0x18], 2
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x3c], 0
jne 0x10018b68
push 4
pop eax
imul eax, eax, 3
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 0x3c]
cmp dword [ebp + eax - 0x3c], ecx
jge 0x10018adf
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x3c], 0
jne 0x10018adf
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x3c], 0
jne 0x10018adf
and dword [ebp - 0x4c], 0
jmp 0x10018ae6
mov dword [ebp - 0x4c], 1
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x3c]
cmp dword [ebp - 0x4c], eax
jg 0x10018afd
mov dword [ebp - 0x54], 1
jmp 0x10018b01
and dword [ebp - 0x54], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x3c]
cmp dword [ebp - 0x54], eax
jg 0x10018b19
mov dword [ebp - 0x68], 1
jmp 0x10018b1d
and dword [ebp - 0x68], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x3c]
mov dword [ebp - 0x48], eax
imul eax, dword [ebp - 0x68], 0xf157
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x48], eax
jg 0x10018b45
mov dword [ebp - 0x64], 1
jmp 0x10018b49
and dword [ebp - 0x64], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x64]
sub ecx, dword [ebp + eax - 0x3c]
push 4
pop eax
shl eax, 0
cmp ecx, dword [ebp + eax - 0x3c]
je 0x10018b68
and dword [ebp - 0x5c], 0
jmp 0x10018b6f
mov dword [ebp - 0x5c], 1
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0x3c]
cmp dword [ebp - 0x5c], eax
jle 0x10018b87
mov dword [ebp - 0x50], 1
jmp 0x10018b8b
and dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x50]
sub eax, 0x55073046
push 4
pop ecx
shl ecx, 1
cmp eax, dword [ebp + ecx - 0x3c]
je 0x10018bb1
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x3c], 0
jne 0x10018bb1
and dword [ebp - 0x58], 0
jmp 0x10018bb8
mov dword [ebp - 0x58], 1
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x3c]
cmp dword [ebp - 0x58], eax
jl 0x10018bd0
mov dword [ebp - 0x60], 1
jmp 0x10018bd4
and dword [ebp - 0x60], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x60]
sub ecx, dword [ebp + eax - 0x3c]
push 4
pop eax
imul eax, eax, 0
cmp ecx, dword [ebp + eax - 0x3c]
jle 0x10018c4e
mov byte [ebp - 0x11], 0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x10018c0e
push 0x3cd
push 0x2104
push 0x2438
call dword [sym.imp.USER32.dll_CheckDlgButton]
mov dword [ebp - 0x18], 0
jmp 0x10018c1e
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xfffffff5
jne 0x10018c4c
mov byte [ebp - 0xf], 0
movzx eax, byte [ebp - 0xf]
test eax, eax
je 0x10018c38
push 0
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov byte [ebp - 0xd], 0
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x10018c4a
call dword [sym.imp.KERNEL32.dll_GetACP]
jmp 0x10018c17
jmp 0x10018c6b
mov byte [ebp - 0xe], 0
movzx eax, byte [ebp - 0xe]
test eax, eax
je 0x10018c65
push 0xf2
call dword [sym.imp.USER32.dll_GetMenu]
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x40], 5
mov dword [ebp - 0x98], 0x4e79
mov dword [ebp - 0x40], 0xffffffe3
jmp 0x10018c98
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0xfffffff3
jne 0x10018e2d
mov dword [ebp - 0x6c], 0x1463
cmp dword [ebp - 0x6c], 0x11f8
jge 0x10018e11
mov dword [ebp - 0x94], 0x989680
lea eax, [ebp - 0x20]
push eax
push 0x1000b1fc
call fcn.1005856b
pop ecx
pop ecx
push dword [ebp - 0x20]
lea ecx, [ebp - 0x90]
call fcn.10011f61
and dword [ebp - 4], 0
push dword [ebp - 0x20]
lea ecx, [ebp - 0x84]
call fcn.10011f61
mov byte [ebp - 4], 1
and dword [ebp - 0x28], 0
jmp 0x10018d01
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x20]
jge 0x10018d26
push dword [ebp - 0x28]
lea ecx, [ebp - 0x90]
call fcn.10011fc8
push eax
push 0x1000b1fc
call fcn.1005856b
pop ecx
pop ecx
jmp 0x10018cfa
and dword [ebp - 0x44], 0
jmp 0x10018d33
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 0x20]
jge 0x10018d58
push dword [ebp - 0x44]
lea ecx, [ebp - 0x84]
call fcn.10011fc8
push eax
push 0x1000b1fc
call fcn.1005856b
pop ecx
pop ecx
jmp 0x10018d2c
movsd xmm0, qword [0x1000b908]
movsd qword [ebp - 0x74], xmm0
and dword [ebp - 0x2c], 0
jmp 0x10018d72
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x989680
jge 0x10018dd2
and dword [ebp - 0x1c], 0
jmp 0x10018d88
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x20]
jge 0x10018dd0
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x90]
call fcn.10011fc8
mov ecx, eax
mov eax, dword [ebp - 0x2c]
cdq
idiv dword [ecx]
mov esi, edx
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x84]
call fcn.10011fc8
cmp esi, dword [eax]
jne 0x10018dce
movsd xmm0, qword [ebp - 0x74]
addsd xmm0, qword [0x1000b938]
movsd qword [ebp - 0x74], xmm0
jmp 0x10018dd0
jmp 0x10018d81
jmp 0x10018d6b
movsd xmm0, qword [ebp - 0x74]
divsd xmm0, qword [0x1000b950]
push ecx
push ecx
movsd qword [esp], xmm0
push 0x1000b398
call fcn.10058bc8
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x84]
call fcn.10011fc3
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x90]
call fcn.10011fc3
mov byte [ebp - 0x10], 0
movzx eax, byte [ebp - 0x10]
test eax, eax
je 0x10018e28
push 0x363
call dword [sym.imp.USER32.dll_GetKeyState]
jmp 0x10018c91
mov eax, dword [ebp - 0x24]
mov dword [eax], 0
jmp 0x10018e43
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x24]
mov dword [ecx], eax
mov eax, dword [ebp - 0x24]
cmp dword [eax], 2
jge 0x10018e60
mov eax, dword [ebp - 0x24]
push dword [eax]
mov ecx, dword [ebp - 0x78]
call fcn.10011fc8
mov dword [eax], 0x81f3403c
jmp 0x10018e38
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret