Function at 0x10003170
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp byte [0x100b35de], 0
mov ecx, dword [0x384841ac]
push ebx
mov ebx, dword [0x38452e7c]
push esi
mov dword [ebp - 4], ebx
jne 0x100031ea
test ecx, ecx
je 0x100031e3
push edi
mov edi, dword [ecx + 0x15e4]
xor edx, edx
test edi, edi
jle 0x100031e2
mov ebx, dword [ecx + 0x15e0]
mov esi, dword [ebx + edx*4]
test esi, esi
je 0x100031da
movd xmm0, dword [esi + 0x258]
mov eax, dword [esi + 0x2bc]
cvtdq2ps xmm0, xmm0
mov dword [edx*4 + 0x100b35e8], eax
mov eax, dword [esi + 0x328]
mov dword [edx*4 + 0x100b5528], eax
movss dword [edx*4 + 0x100b7468], xmm0
inc edx
cmp edx, edi
jl 0x100031a5
mov ebx, dword [ebp - 4]
pop edi
mov byte [0x100b35de], 1
cmp byte [0x100b35dc], 0
je 0x10003239
cmp byte [0x100b35ab], 0
je 0x1000327a
test ecx, ecx
je 0x10003230
xor edx, edx
cmp dword [ecx + 0x15e4], edx
jle 0x10003230
nop word [eax + eax]
mov eax, dword [ecx + 0x15e0]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x10003227
mov dword [eax + 0x2bc], 0
inc edx
cmp edx, dword [ecx + 0x15e4]
jl 0x10003210
mov byte [0x100b35ab], 0
jmp 0x1000327a
cmp byte [0x100b35ab], 0
jne 0x1000327a
test ecx, ecx
je 0x10003273
xor edx, edx
cmp dword [ecx + 0x15e4], edx
jle 0x10003273
mov eax, dword [ecx + 0x15e0]
mov esi, dword [eax + edx*4]
test esi, esi
je 0x1000326a
mov eax, dword [edx*4 + 0x100b35e8]
mov dword [esi + 0x2bc], eax
inc edx
cmp edx, dword [ecx + 0x15e4]
jl 0x10003250
mov byte [0x100b35ab], 1
cmp byte [0x100b35a8], 0
je 0x100032c9
cmp byte [0x100b35a9], 0
je 0x1000330a
test ecx, ecx
je 0x100032c0
xor edx, edx
cmp dword [ecx + 0x15e4], edx
jle 0x100032c0
nop word [eax + eax]
mov eax, dword [ecx + 0x15e0]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x100032b7
mov dword [eax + 0x328], 0
inc edx
cmp edx, dword [ecx + 0x15e4]
jl 0x100032a0
mov byte [0x100b35a9], 0
jmp 0x1000330a
cmp byte [0x100b35a9], 0
jne 0x1000330a
test ecx, ecx
je 0x10003303
xor edx, edx
cmp dword [ecx + 0x15e4], edx
jle 0x10003303
mov eax, dword [ecx + 0x15e0]
mov esi, dword [eax + edx*4]
test esi, esi
je 0x100032fa
mov eax, dword [edx*4 + 0x100b5528]
mov dword [esi + 0x328], eax
inc edx
cmp edx, dword [ecx + 0x15e4]
jl 0x100032e0
mov byte [0x100b35a9], 1
cmp byte [0x100b35df], 0
je 0x10003359
cmp byte [0x100b35e0], 0
je 0x1000339c
test ecx, ecx
je 0x10003350
xor edx, edx
cmp dword [ecx + 0x15e4], edx
jle 0x10003350
nop
mov eax, dword [ecx + 0x15e0]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x10003347
mov dword [eax + 0x258], 1
inc edx
cmp edx, dword [ecx + 0x15e4]
jl 0x10003330
mov byte [0x100b35e0], 0
jmp 0x1000339c
cmp byte [0x100b35e0], 0
jne 0x1000339c
test ecx, ecx
je 0x10003395
xor edx, edx
cmp dword [ecx + 0x15e4], edx
jle 0x10003395
mov eax, dword [ecx + 0x15e0]
mov esi, dword [eax + edx*4]
test esi, esi
je 0x1000338c
cvttss2si eax, dword [edx*4 + 0x100b7468]
mov dword [esi + 0x258], eax
inc edx
cmp edx, dword [ecx + 0x15e4]
jl 0x10003370
mov byte [0x100b35e0], 1
test ecx, ecx
je 0x100033d0
xor edx, edx
cmp dword [ecx + 0x15e4], edx
jle 0x100033d0
nop word [eax + eax]
mov eax, dword [ecx + 0x15e0]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x100033c7
mov dword [eax + 0x35c], 0
inc edx
cmp edx, dword [ecx + 0x15e4]
jl 0x100033b0
mov eax, dword [0x100da738]
test eax, eax
jne 0x10003412
test ecx, ecx
je 0x10003469
xor edx, edx
cmp dword [ecx + 0x15e4], edx
jle 0x10003469
nop
mov eax, dword [ecx + 0x15e0]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x10003407
mov dword [eax + 0x308], 0
inc edx
cmp edx, dword [ecx + 0x15e4]
jl 0x100033f0
jmp 0x10003469
cmp eax, 1
jne 0x10003447
test ecx, ecx
je 0x10003469
xor edx, edx
cmp dword [ecx + 0x15e4], edx
jle 0x10003469
mov eax, dword [ecx + 0x15e0]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x1000343c
mov dword [eax + 0x308], 0x3f800000
inc edx
cmp edx, dword [ecx + 0x15e4]
jl 0x10003425
jmp 0x10003469
cmp eax, 2
jne 0x10003469
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x10003469
mov eax, dword [ebx + 0x18]
mov eax, dword [eax + 0x10]
mov dword [eax + 0x138], 1
cmp byte [0x100b35aa], 0
jne 0x10003496
test ebx, ebx
je 0x1000348f
mov eax, dword [ebx + 0x18]
mov eax, dword [eax + 0x10]
movd xmm0, dword [eax + 0x148]
cvtdq2ps xmm0, xmm0
movss dword [0x100da6e8], xmm0
mov byte [0x100b35aa], 1
cmp byte [0x100b35dd], 0
mov eax, dword [ebx + 0x18]
pop esi
pop ebx
mov ecx, dword [eax + 0x10]
je 0x100034b5
mov dword [ecx + 0x148], 0xffffffff
mov esp, ebp
pop ebp
ret
cvttss2si eax, dword [0x100da6e8]
mov dword [ecx + 0x148], eax
mov esp, ebp
pop ebp
ret