Function at 0x1008ed40
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100dc03e
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x1010502c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 0
test esi, esi
je 0x1008f02d
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10106354]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10106390]
cmp eax, dword [ecx + 4]
jle 0x1008edda
push 0x10106390
call fcn.100d8ed3
add esp, 4
cmp dword [0x10106390], 0xffffffff
jne 0x1008edda
push str.client.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
add eax, 0x151a0
push 0x10106390
mov dword [0x10106394], eax
call fcn.100d8e89
add esp, 4
mov eax, dword [0x10106394]
mov ecx, esi
call eax
push str.Huge_Claws
lea ecx, [ebp - 0x50]
mov esi, eax
call fcn.10007b20
mov dword [ebp - 4], 0
lea edx, [esi + 0x56]
mov ebx, 1
mov ecx, eax
mov dword [ebp - 0x1c], ebx
call fcn.10007000
test al, al
jne 0x1008ee33
push str.Claws
lea ecx, [ebp - 0x38]
call fcn.10007b20
lea edx, [esi + 0x56]
mov ecx, eax
mov ebx, 3
call fcn.10007000
mov byte [ebp - 0x11], 1
test al, al
je 0x1008ee37
mov byte [ebp - 0x11], 0
test bl, 2
je 0x1008ee81
mov ecx, dword [ebp - 0x24]
and ebx, 0xfffffffd
cmp ecx, 0x10
jb 0x1008ee6f
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1008ee65
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008eeb3
push ecx
push edx
call fcn.100d8ffc
add esp, 8
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x1008eed5
mov ecx, dword [ebp - 0x3c]
cmp ecx, 0x10
jb 0x1008eec3
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1008eeb9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1008eeb9
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100d8ffc
add esp, 8
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0xf
mov byte [ebp - 0x50], 0
cmp byte [ebp - 0x11], 0
je 0x1008f02d
mov eax, dword [0x10107740]
mov edi, dword [0x10105558]
push edi
mov ecx, dword [eax + 0x60]
mov eax, dword [ecx]
mov eax, dword [eax + 0x80]
call eax
push edi
test eax, eax
jne 0x1008efb8
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1008efde
cmp byte [0x10105cc7], 0
mov ebx, dword [ebp - 0x18]
je 0x1008ef2a
or dword [ebx + 0x24], 0x808
mov byte [0x10105cc7], 0
mov esi, dword [ebp - 0x20]
mov eax, dword [esi]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x101003a0]
cvtpd2ps xmm0, xmm0
addss xmm0, dword [0x100ff494]
call fcn.100d97f0
mov dword [esi], eax
mov eax, dword [0x10107740]
mov esi, dword [eax + 0x48]
mov eax, dword [esi + 0x4a44]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x101003a0]
cvtpd2ps xmm0, xmm0
addss xmm0, dword [0x100ff494]
call fcn.100d97f0
mov dword [esi + 0x4a44], eax
mov eax, dword [0x10107740]
mov edi, dword [0x10105558]
push edi
mov ecx, dword [eax + 0x60]
mov eax, dword [ecx]
mov eax, dword [eax + 0x80]
call eax
push edi
test eax, eax
jne 0x1008efe3
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jmp 0x1008f003
mov eax, dword [0x10107740]
mov esi, dword [eax + 0x60]
mov ecx, esi
mov eax, dword [esi]
mov eax, dword [eax + 0x80]
call eax
mov ecx, dword [esi]
push eax
mov edx, dword [ecx + 0x2c]
mov ecx, esi
call edx
test al, al
jne 0x1008ef10
mov ebx, dword [ebp - 0x18]
jmp 0x1008ef8f
mov eax, dword [0x10107740]
mov esi, dword [eax + 0x60]
mov ecx, esi
mov eax, dword [esi]
mov eax, dword [eax + 0x80]
call eax
mov ecx, dword [esi]
push eax
mov edx, dword [ecx + 0x2c]
mov ecx, esi
call edx
test al, al
je 0x1008f00b
test byte [ebx + 0x24], 4
je 0x1008f02d
cmp byte [0x10105cc7], 0
jne 0x1008f02d
mov eax, dword [0x10107740]
mov byte [0x10105cc7], 1
mov eax, dword [eax + 0x48]
mov dword [eax + 0x4a44], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc