Function at 0x1000ce40
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10053521
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x10064040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x100662f8]
mov edi, dword [ebp + 8]
mov ebx, dword [0x10066338]
mov ecx, dword [eax + 0x74]
test ecx, ecx
je 0x1000d1e3
call fcn.10002970
test al, al
je 0x1000d1e3
mov eax, dword [0x100662f8]
mov ecx, dword [eax + 0x78]
test ecx, ecx
je 0x1000d1e3
call fcn.100048f0
test al, al
jne 0x1000d1e3
mov eax, dword [0x100662f8]
mov ecx, dword [0x10064d58]
mov esi, dword [eax + 0x78]
mov eax, dword fs:[0x2c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10064e00]
cmp eax, dword [ecx + 4]
jle 0x1000cf14
push 0x10064e00
call fcn.100513b1
add esp, 4
cmp dword [0x10064e00], 0xffffffff
jne 0x1000cf14
push str.m_iItemDefinitionIndex
push str.CEconEntity
mov dword [ebp - 4], 0
call fcn.1004bfd0
push 0x10064e00
mov dword [0x10064d98], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10051360
add esp, 4
mov eax, dword [0x10064d98]
cmp dword [eax + esi], 0x49c
je 0x1000d1e3
mov eax, dword [0x100662f8]
mov ecx, dword [eax + 0x78]
mov eax, dword [ecx]
mov eax, dword [eax + 0x5f4]
call eax
cmp eax, 0x3c
je 0x1000d1e3
mov eax, dword [0x100662f8]
mov ecx, dword [eax + 0x78]
mov eax, dword [ecx]
mov eax, dword [eax + 0x5f4]
call eax
cmp eax, 0x46
je 0x1000d1e3
mov eax, dword [0x10066318]
cmp byte [eax + 0x2ac], 0
je 0x1000d1e3
movzx eax, word [eax + 0x2f0]
test ax, ax
je 0x1000cfa5
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1000cfa5
cmp dword [0x10064e84], 0
jne 0x1000d01f
push 0x10058864
push 0
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [0x10064e84], eax
mov ecx, dword [0x100662f8]
mov ecx, dword [ecx + 0x74]
call fcn.1000c960
test al, al
jne 0x1000d1e3
mov eax, dword [0x100662f8]
xor esi, esi
mov ecx, dword [eax + 0x78]
mov eax, dword [eax + 0x54]
movss xmm0, dword [ecx + 0xa54]
mov ebx, dword [eax]
mov eax, dword [ecx + 0xb24]
movss dword [ebp - 0x18], xmm0
mov dword [ebp + 8], eax
mov ecx, dword [edi + 4]
add ecx, esi
call fcn.100413f0
mov ecx, dword [0x100662f8]
and eax, 0x7fffffff
mov ecx, dword [ecx + 0x54]
mov dword [ecx], eax
mov eax, dword [0x100662f8]
mov ecx, dword [eax + 0x78]
mov eax, dword [ecx]
mov eax, dword [eax + 0x630]
call eax
test al, al
je 0x1000d1b0
inc esi
cmp esi, 0xa
jl 0x1000cfe0
jmp 0x1000d1b3
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, dword [0x10064e84]
jne 0x1000cfa5
mov eax, dword [0x100662f8]
mov ecx, dword [eax + 0x78]
mov eax, dword [ecx]
mov eax, dword [eax + 0x5f4]
call eax
cmp eax, 0x12
jne 0x1000d057
mov eax, dword [edi + 0x24]
test al, 1
je 0x1000d057
and eax, 0xfffff7ff
mov dword [edi + 0x24], eax
mov edx, dword [edi + 4]
mov ecx, dword [ebx + 0x1c]
cmp edx, ecx
jg 0x1000d081
mov eax, ecx
sub eax, edx
cmp eax, dword [ebx + 0x18]
jg 0x1000d081
mov dword [edi + 4], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [0x100662f8]
mov esi, dword [eax + 0x78]
mov eax, dword [eax + 0x54]
movss xmm0, dword [esi + 0xa54]
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0xb24]
mov dword [ebp - 0x10], eax
xor eax, eax
movss dword [ebp - 0x14], xmm0
mov byte [ebx + 0x14], 1
mov dword [ebp + 8], eax
cmp dword [ebx + 0x18], eax
jle 0x1000d134
nop dword [eax]
mov ecx, dword [edi + 4]
add ecx, eax
call fcn.100413f0
mov ecx, dword [0x100662f8]
and eax, 0x7fffffff
mov ecx, dword [ecx + 0x54]
mov dword [ecx], eax
mov ecx, esi
mov eax, dword [esi]
mov dword [esi + 0xb24], 0
mov dword [esi + 0xa54], 0x447a0000
mov dword [esi + 0xb54], 0
mov dword [esi + 0xb60], 0
mov eax, dword [eax + 0x630]
call eax
movss xmm0, dword [ebp - 0x14]
test al, al
jne 0x1000d183
mov eax, dword [ebp - 0x10]
mov dword [esi + 0xb24], eax
mov eax, dword [ebp + 8]
inc eax
movss dword [esi + 0xa54], xmm0
mov dword [ebp + 8], eax
cmp eax, dword [ebx + 0x18]
jl 0x1000d0c0
mov eax, dword [0x100662f8]
mov ecx, dword [ebp - 0x18]
mov eax, dword [eax + 0x54]
mov dword [eax], ecx
mov eax, dword [ebp - 0x10]
mov dword [esi + 0xb24], eax
movss dword [esi + 0xa54], xmm0
mov byte [ebx + 0x14], 0
mov eax, dword [edi + 4]
mov dword [ebx + 0x1c], eax
mov ecx, dword [ebx + 0x1c]
mov dword [edi + 4], ecx
call fcn.100413f0
and eax, 0x7fffffff
mov dword [ebx + 0x10], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [edi + 4]
add eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x18]
mov dword [ebx + 0x1c], eax
mov eax, dword [0x100662f8]
mov eax, dword [eax + 0x54]
mov dword [eax], ecx
mov eax, dword [ebp - 0x10]
mov dword [esi + 0xb24], eax
mov byte [ebx + 0x14], 0
movss dword [esi + 0xa54], xmm0
jmp 0x1000d15c
add dword [edi + 4], esi
mov eax, dword [0x100662f8]
mov ecx, dword [ebp + 8]
movss xmm0, dword [ebp - 0x18]
mov eax, dword [eax + 0x78]
mov dword [eax + 0xb24], ecx
mov eax, dword [0x100662f8]
mov eax, dword [eax + 0x54]
mov dword [eax], ebx
mov eax, dword [0x100662f8]
mov eax, dword [eax + 0x78]
movss dword [eax + 0xa54], xmm0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4