Function at 0x10003070
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp byte [0x100bcd6e], 0
mov ecx, dword [0x384841ac]
push ebx
mov ebx, dword [0x38452e7c]
push esi
mov dword [ebp - 4], ebx
jne 0x100030ea
test ecx, ecx
je 0x100030e3
push edi
mov edi, dword [ecx + 0x15e4]
xor edx, edx
test edi, edi
jle 0x100030e2
mov ebx, dword [ecx + 0x15e0]
mov esi, dword [ebx + edx*4]
test esi, esi
je 0x100030da
movd xmm0, dword [esi + 0x258]
mov eax, dword [esi + 0x2bc]
cvtdq2ps xmm0, xmm0
mov dword [edx*4 + 0x100bcd78], eax
mov eax, dword [esi + 0x328]
mov dword [edx*4 + 0x100becb8], eax
movss dword [edx*4 + 0x100c0bf8], xmm0
inc edx
cmp edx, edi
jl 0x100030a5
mov ebx, dword [ebp - 4]
pop edi
mov byte [0x100bcd6e], 1
cmp byte [0x100bcd6c], 0
je 0x10003139
cmp byte [0x100bcd3b], 0
je 0x1000317a
test ecx, ecx
je 0x10003130
xor edx, edx
cmp dword [ecx + 0x15e4], edx
jle 0x10003130
nop word [eax + eax]
mov eax, dword [ecx + 0x15e0]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x10003127
mov dword [eax + 0x2bc], 0
inc edx
cmp edx, dword [ecx + 0x15e4]
jl 0x10003110
mov byte [0x100bcd3b], 0
jmp 0x1000317a
cmp byte [0x100bcd3b], 0
jne 0x1000317a
test ecx, ecx
je 0x10003173
xor edx, edx
cmp dword [ecx + 0x15e4], edx
jle 0x10003173
mov eax, dword [ecx + 0x15e0]
mov esi, dword [eax + edx*4]
test esi, esi
je 0x1000316a
mov eax, dword [edx*4 + 0x100bcd78]
mov dword [esi + 0x2bc], eax
inc edx
cmp edx, dword [ecx + 0x15e4]
jl 0x10003150
mov byte [0x100bcd3b], 1
cmp byte [0x100bcd38], 0
je 0x100031c9
cmp byte [0x100bcd39], 0
je 0x1000320a
test ecx, ecx
je 0x100031c0
xor edx, edx
cmp dword [ecx + 0x15e4], edx
jle 0x100031c0
nop word [eax + eax]
mov eax, dword [ecx + 0x15e0]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x100031b7
mov dword [eax + 0x328], 0
inc edx
cmp edx, dword [ecx + 0x15e4]
jl 0x100031a0
mov byte [0x100bcd39], 0
jmp 0x1000320a
cmp byte [0x100bcd39], 0
jne 0x1000320a
test ecx, ecx
je 0x10003203
xor edx, edx
cmp dword [ecx + 0x15e4], edx
jle 0x10003203
mov eax, dword [ecx + 0x15e0]
mov esi, dword [eax + edx*4]
test esi, esi
je 0x100031fa
mov eax, dword [edx*4 + 0x100becb8]
mov dword [esi + 0x328], eax
inc edx
cmp edx, dword [ecx + 0x15e4]
jl 0x100031e0
mov byte [0x100bcd39], 1
cmp byte [0x100bcd6f], 0
je 0x10003259
cmp byte [0x100bcd70], 0
je 0x1000329c
test ecx, ecx
je 0x10003250
xor edx, edx
cmp dword [ecx + 0x15e4], edx
jle 0x10003250
nop
mov eax, dword [ecx + 0x15e0]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x10003247
mov dword [eax + 0x258], 1
inc edx
cmp edx, dword [ecx + 0x15e4]
jl 0x10003230
mov byte [0x100bcd70], 0
jmp 0x1000329c
cmp byte [0x100bcd70], 0
jne 0x1000329c
test ecx, ecx
je 0x10003295
xor edx, edx
cmp dword [ecx + 0x15e4], edx
jle 0x10003295
mov eax, dword [ecx + 0x15e0]
mov esi, dword [eax + edx*4]
test esi, esi
je 0x1000328c
cvttss2si eax, dword [edx*4 + 0x100c0bf8]
mov dword [esi + 0x258], eax
inc edx
cmp edx, dword [ecx + 0x15e4]
jl 0x10003270
mov byte [0x100bcd70], 1
test ecx, ecx
je 0x100032d0
xor edx, edx
cmp dword [ecx + 0x15e4], edx
jle 0x100032d0
nop word [eax + eax]
mov eax, dword [ecx + 0x15e0]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x100032c7
mov dword [eax + 0x35c], 0
inc edx
cmp edx, dword [ecx + 0x15e4]
jl 0x100032b0
mov eax, dword [0x100e3ec8]
test eax, eax
jne 0x10003312
test ecx, ecx
je 0x10003369
xor edx, edx
cmp dword [ecx + 0x15e4], edx
jle 0x10003369
nop
mov eax, dword [ecx + 0x15e0]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x10003307
mov dword [eax + 0x308], 0
inc edx
cmp edx, dword [ecx + 0x15e4]
jl 0x100032f0
jmp 0x10003369
cmp eax, 1
jne 0x10003347
test ecx, ecx
je 0x10003369
xor edx, edx
cmp dword [ecx + 0x15e4], edx
jle 0x10003369
mov eax, dword [ecx + 0x15e0]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x1000333c
mov dword [eax + 0x308], 0x3f800000
inc edx
cmp edx, dword [ecx + 0x15e4]
jl 0x10003325
jmp 0x10003369
cmp eax, 2
jne 0x10003369
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x10003369
mov eax, dword [ebx + 0x18]
mov eax, dword [eax + 0x10]
mov dword [eax + 0x138], 1
cmp byte [0x100bcd3a], 0
jne 0x100033a9
test ebx, ebx
je 0x100033a2
mov eax, dword [ebx + 0x18]
mov eax, dword [eax + 0x10]
movd xmm0, dword [eax + 0x150]
cvtdq2ps xmm0, xmm0
movss dword [0x100e3e78], xmm0
movd xmm0, dword [eax + 0x148]
cvtdq2ps xmm0, xmm0
movss dword [0x100e3e7c], xmm0
mov byte [0x100bcd3a], 1
cmp byte [0x100bcd6d], 0
mov eax, dword [ebx + 0x18]
pop esi
pop ebx
mov ecx, dword [eax + 0x10]
je 0x100033c8
mov dword [ecx + 0x148], 0xffffffff
mov esp, ebp
pop ebp
ret
cvttss2si eax, dword [0x100e3e7c]
mov dword [ecx + 0x148], eax
mov esp, ebp
pop ebp
ret