Function at 0x1003d2a0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp byte [0x100ffbbb], 0
mov eax, dword [0x384035dc]
push ebx
push esi
mov esi, dword [0x38433d1c]
push edi
mov dword [ebp - 8], esi
mov dword [ebp - 4], eax
jne 0x1003d36d
test esi, esi
je 0x1003d366
mov edi, dword [esi + 0x15e4]
xor ecx, ecx
test edi, edi
jle 0x1003d366
mov ebx, dword [esi + 0x15e0]
mov esi, eax
mov edx, dword [ebx + ecx*4]
test edx, edx
je 0x1003d35e
movd xmm0, dword [edx + 0x2bc]
mov eax, dword [edx + 0x328]
cvtdq2ps xmm0, xmm0
mov dword [ecx*4 + 0x10128c00], eax
mov eax, dword [edx + 0x308]
mov dword [ecx*4 + 0x1012e9c0], eax
mov eax, dword [esi + 0x18]
movss dword [ecx*4 + 0x10126cc0], xmm0
movd xmm0, dword [edx + 0x27c]
mov eax, dword [eax + 0x10]
cvtdq2ps xmm0, xmm0
movss dword [ecx*4 + 0x1012ab40], xmm0
movd xmm0, dword [edx + 0x2d0]
cvtdq2ps xmm0, xmm0
movss dword [ecx*4 + 0x1012ca80], xmm0
movd xmm0, dword [eax + 0x150]
cvtdq2ps xmm0, xmm0
movss dword [ecx*4 + 0x10130900], xmm0
inc ecx
cmp ecx, edi
jl 0x1003d2e7
mov esi, dword [ebp - 8]
mov byte [0x100ffbbb], 1
cmp byte [0x1014ddc5], 0
jne 0x1003d48d
test esi, esi
je 0x1003d486
mov ebx, dword [esi + 0x15e4]
xor ecx, ecx
mov dword [ebp - 0x1c], ebx
cmp ebx, 4
jl 0x1003d44c
mov eax, dword [esi + 0x15e0]
lea edx, [ebx - 3]
mov edi, 0x100ffbc0
mov dword [ebp - 0x18], edx
sub edi, eax
mov dword [ebp - 0xc], eax
mov esi, 0x100ffbc4
mov dword [ebp - 0x10], edi
sub esi, eax
lea edx, [eax + 8]
mov dword [ebp - 0x14], esi
mov esi, edi
mov ebx, dword [ebp - 0x14]
mov eax, dword [edx - 8]
lea edi, [ecx*4]
test eax, eax
je 0x1003d3e5
movzx eax, byte [eax + 0x258]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x100ffbc0], xmm0
mov eax, dword [edx - 4]
test eax, eax
je 0x1003d402
movzx eax, byte [eax + 0x258]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x100ffbc4], xmm0
mov eax, dword [edx]
test eax, eax
je 0x1003d41b
movzx eax, byte [eax + 0x258]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esi + edx], xmm0
mov eax, dword [edx + 4]
test eax, eax
je 0x1003d435
movzx eax, byte [eax + 0x258]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ebx + edx], xmm0
add ecx, 4
add edx, 0x10
cmp ecx, dword [ebp - 0x18]
jl 0x1003d3c1
mov ebx, dword [ebp - 0x1c]
mov esi, dword [ebp - 8]
cmp ecx, ebx
jl 0x1003d459
jmp 0x1003d486
test ebx, ebx
jle 0x1003d486
mov eax, dword [esi + 0x15e0]
mov dword [ebp - 0xc], eax
mov esi, dword [ebp - 0xc]
nop dword [eax]
mov eax, dword [esi + ecx*4]
test eax, eax
je 0x1003d47e
movzx eax, byte [eax + 0x258]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx*4 + 0x100ffbc0], xmm0
inc ecx
cmp ecx, ebx
jl 0x1003d460
mov esi, dword [ebp - 8]
mov byte [0x1014ddc5], 1
test esi, esi
je 0x1003d5a0
xor ecx, ecx
cmp byte [0x100ffbaf], cl
je 0x1003d4d2
cmp dword [esi + 0x15e4], ecx
jle 0x1003d505
nop word [eax + eax]
mov eax, dword [esi + 0x15e0]
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x1003d4c7
mov dword [eax + 0x2bc], 0
inc ecx
cmp ecx, dword [esi + 0x15e4]
jl 0x1003d4b0
jmp 0x1003d505
cmp dword [esi + 0x15e4], ecx
jle 0x1003d505
nop word [eax + eax]
mov eax, dword [esi + 0x15e0]
mov edx, dword [eax + ecx*4]
test edx, edx
je 0x1003d4fc
cvttss2si eax, dword [ecx*4 + 0x10126cc0]
mov dword [edx + 0x2bc], eax
inc ecx
cmp ecx, dword [esi + 0x15e4]
jl 0x1003d4e0
xor ecx, ecx
cmp byte [0x100ffbb9], cl
je 0x1003d542
cmp dword [esi + 0x15e4], ecx
jle 0x1003d573
nop word [eax + eax]
mov eax, dword [esi + 0x15e0]
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x1003d537
mov dword [eax + 0x328], 0
inc ecx
cmp ecx, dword [esi + 0x15e4]
jl 0x1003d520
jmp 0x1003d573
cmp dword [esi + 0x15e4], ecx
jle 0x1003d573
nop word [eax + eax]
mov eax, dword [esi + 0x15e0]
mov edx, dword [eax + ecx*4]
test edx, edx
je 0x1003d56a
mov eax, dword [ecx*4 + 0x10128c00]
mov dword [edx + 0x328], eax
inc ecx
cmp ecx, dword [esi + 0x15e4]
jl 0x1003d550
xor ecx, ecx
cmp dword [esi + 0x15e4], ecx
jle 0x1003d5a0
nop dword [eax]
mov eax, dword [esi + 0x15e0]
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x1003d597
mov dword [eax + 0x35c], 0
inc ecx
cmp ecx, dword [esi + 0x15e4]
jl 0x1003d580
mov eax, dword [0x100ffbbc]
test eax, eax
jne 0x1003d5e2
test esi, esi
je 0x1003d76a
xor ecx, ecx
cmp dword [esi + 0x15e4], ecx
jle 0x1003d64f
nop
mov eax, dword [esi + 0x15e0]
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x1003d5d7
mov dword [eax + 0x308], 0
inc ecx
cmp ecx, dword [esi + 0x15e4]
jl 0x1003d5c0
jmp 0x1003d64f
cmp eax, 1
jne 0x1003d622
test esi, esi
je 0x1003d76a
xor ecx, ecx
cmp dword [esi + 0x15e4], ecx
jle 0x1003d64f
nop dword [eax]
mov eax, dword [esi + 0x15e0]
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x1003d617
mov dword [eax + 0x308], 0x3f800000
inc ecx
cmp ecx, dword [esi + 0x15e4]
jl 0x1003d600
jmp 0x1003d64f
cmp eax, 2
jne 0x1003d647
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1003d647
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0x10]
mov dword [eax + 0x138], 1
test esi, esi
je 0x1003d76a
xor ecx, ecx
cmp byte [0x1014ddc4], cl
je 0x1003d680
cmp dword [esi + 0x15e4], ecx
jle 0x1003d6b5
mov eax, dword [esi + 0x15e0]
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x1003d675
mov byte [eax + 0x258], 0xa
inc ecx
cmp ecx, dword [esi + 0x15e4]
jl 0x1003d661
jmp 0x1003d6b5
cmp dword [esi + 0x15e4], ecx
jle 0x1003d6b5
nop dword [eax + eax]
mov eax, dword [esi + 0x15e0]
mov edx, dword [eax + ecx*4]
test edx, edx
je 0x1003d6ac
cvttss2si eax, dword [ecx*4 + 0x100ffbc0]
mov byte [edx + 0x258], al
inc ecx
cmp ecx, dword [esi + 0x15e4]
jl 0x1003d690
cmp byte [0x100ffbb8], 0
je 0x1003d6f1
xor ecx, ecx
cmp dword [esi + 0x15e4], ecx
jle 0x1003d6f1
nop dword [eax + eax]
mov eax, dword [esi + 0x15e0]
mov edx, dword [eax + ecx*4]
test edx, edx
je 0x1003d6e8
mov eax, dword [0x1014ddc0]
mov dword [edx + 0x4f4], eax
inc ecx
cmp ecx, dword [esi + 0x15e4]
jl 0x1003d6d0
xor ecx, ecx
cmp byte [0x100ffbba], cl
je 0x1003d736
cmp dword [esi + 0x15e4], ecx
jle 0x1003d76a
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x18]
inc ecx
mov eax, dword [eax + 0x10]
mov dword [eax + 0x27c], 0xa
mov eax, dword [edx + 0x18]
mov eax, dword [eax + 0x10]
mov dword [eax + 0x150], 0xa
cmp ecx, dword [esi + 0x15e4]
jl 0x1003d706
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x15e4], ecx
jle 0x1003d76a
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x18]
inc ecx
mov eax, dword [eax + 0x10]
mov dword [eax + 0x27c], 1
mov eax, dword [edx + 0x18]
mov eax, dword [eax + 0x10]
mov dword [eax + 0x27c], 1
cmp ecx, dword [esi + 0x15e4]
jl 0x1003d741
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret