Function at 0x10003650
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10012fdb
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x1001b018]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [0x1001b018]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
call fcn.10003f60
mov edi, dword [eax]
test edi, edi
jne 0x100036ea
push 0x88
call fcn.100055de
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x40], edi
test eax, eax
je 0x100036ce
push esi
push ebx
push dword [esp + 0x1c]
mov ecx, eax
call fcn.10001f50
mov edi, eax
jmp 0x100036d0
xor edi, edi
lea eax, [esp + 0x14]
mov dword [esp + 0x40], 0xffffffff
push eax
call fcn.10003f60
mov dword [0x1001d170], esi
mov dword [eax], edi
mov ecx, edi
mov dword [0x1001d16c], 1
mov dword [0x1001d168], edi
call fcn.100027c0
cmp dword [edi + 0x4c], 0
mov dword [0x1001d16c], 0
je 0x10003749
mov ecx, dword [0x1001d170]
mov eax, dword [edi + 0x44]
mov dword [ecx + 0x468], eax
mov dword [ecx + 0x478], 0
mov ecx, dword [ecx + 0x45c]
mov eax, dword [0x1001d170]
push ecx
mov eax, dword [eax + 0x460]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov dword [edi + 0x4c], 0
mov eax, dword [0x1001d170]
cmp dword [eax + 0x478], 0
je 0x1000391e
mov eax, dword [0x1001d170]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, dword [sym.imp.USER32.dll_GetAsyncKeyState]
cmp dword [eax + 0x454], 0
je 0x100037bc
call esi
mov ecx, dword [edi + 0x48]
add ecx, 0xfa
cmp eax, ecx
jbe 0x100037bc
mov eax, dword [0x1001d170]
mov eax, dword [eax + 0x454]
push eax
call ebx
movzx eax, ax
test al, 1
jne 0x100037a4
test eax, 0x8000
jne 0x100037a4
xor eax, eax
jmp 0x100037a9
mov eax, 1
mov dword [edi + 0x4c], eax
mov dword [edi + 0x50], 0
test eax, eax
je 0x100037bc
call esi
mov dword [edi + 0x48], eax
cmp dword [edi + 0x4c], 0
jne 0x100038c0
mov eax, dword [0x1001d170]
cmp dword [eax + 0x458], 0
je 0x100038ba
call esi
mov ecx, dword [edi + 0x48]
add ecx, 0xfa
cmp eax, ecx
jbe 0x100038ba
mov eax, dword [0x1001d170]
cmp dword [eax + 0x428], 0
je 0x100038ba
mov eax, dword [0x1001d170]
mov eax, dword [eax + 0x458]
push eax
call ebx
movzx eax, ax
test al, 1
jne 0x1000381d
test eax, 0x8000
jne 0x1000381d
xor eax, eax
jmp 0x10003822
mov eax, 1
mov dword [edi + 0x4c], eax
test eax, eax
je 0x100038ba
mov dword [edi + 0x50], 1
call esi
mov dword [edi + 0x48], eax
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [esp + 0x18]
push eax
mov eax, dword [0x1001d170]
mov eax, dword [eax + 0x428]
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [esp + 0x18]
lea esi, [edi + 0x64]
mov dword [edi + 0x54], eax
mov eax, dword [esp + 0x1c]
mov dword [edi + 0x58], eax
mov eax, dword [0x1001d170]
push esi
mov eax, dword [eax + 0x428]
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [edi + 0x6c]
sub eax, dword [esi]
movd xmm1, dword [edi + 0x54]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mov eax, dword [edi + 0x70]
sub eax, dword [edi + 0x68]
divss xmm1, xmm0
movd xmm0, eax
movss dword [edi + 0x5c], xmm1
movd xmm1, dword [edi + 0x58]
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movss dword [edi + 0x60], xmm1
cmp dword [edi + 0x4c], 0
je 0x1000391e
mov eax, dword [edi + 0x78]
lea edx, [esp + 0x10]
push 0
push edx
mov dword [esp + 0x18], 0
mov ecx, dword [eax]
push 1
push eax
mov dword [0x1001d164], 1
call dword [ecx + 0xe0]
mov edx, dword [esp + 0x10]
test edx, edx
je 0x10003917
mov eax, dword [edi + 0x78]
lea esi, [esp + 0x20]
movaps xmm0, xmmword [0x100197d0]
push esi
movups xmmword [esp + 0x24], xmm0
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x8c]
mov eax, dword [esp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov dword [edi + 0x44], 0
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.10005296
mov esp, ebp
pop ebp
ret 0xc