Function at 0x1003d930
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp byte [0x10100bbb], 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 0x1003da22
test esi, esi
je 0x1003da1b
mov edi, dword [esi + 0x15e4]
xor ecx, ecx
test edi, edi
jle 0x1003da1b
mov ebx, dword [esi + 0x15e0]
mov esi, eax
nop word [eax + eax]
mov edx, dword [ebx + ecx*4]
test edx, edx
je 0x1003da0f
movd xmm0, dword [edx + 0x2bc]
mov eax, dword [edx + 0x328]
cvtdq2ps xmm0, xmm0
mov dword [ecx*4 + 0x10129c00], eax
mov eax, dword [edx + 0x308]
mov dword [ecx*4 + 0x1012f9c0], eax
mov eax, dword [esi + 0x18]
movss dword [ecx*4 + 0x10127cc0], xmm0
movd xmm0, dword [edx + 0x27c]
mov eax, dword [eax + 0x10]
cvtdq2ps xmm0, xmm0
movss dword [ecx*4 + 0x1012bb40], xmm0
movd xmm0, dword [edx + 0x2d0]
cvtdq2ps xmm0, xmm0
movss dword [ecx*4 + 0x1012da80], xmm0
movd xmm0, dword [eax + 0x150]
cvtdq2ps xmm0, xmm0
movss dword [ecx*4 + 0x10131900], xmm0
movd xmm0, dword [eax + 0x1fc]
cvtdq2ps xmm0, xmm0
movss dword [ecx*4 + 0x10133840], xmm0
inc ecx
cmp ecx, edi
jl 0x1003d980
mov esi, dword [ebp - 8]
mov byte [0x10100bbb], 1
cmp byte [0x1014edc5], 0
jne 0x1003db4d
test esi, esi
je 0x1003db46
mov ebx, dword [esi + 0x15e4]
xor ecx, ecx
mov dword [ebp - 0x1c], ebx
cmp ebx, 4
jl 0x1003db0b
mov eax, dword [esi + 0x15e0]
lea edx, [ebx - 3]
mov edi, 0x10100bc0
mov dword [ebp - 0x18], edx
sub edi, eax
mov dword [ebp - 0xc], eax
mov esi, 0x10100bc4
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]
nop word [eax + eax]
mov eax, dword [edx - 8]
lea edi, [ecx*4]
test eax, eax
je 0x1003daa4
movzx eax, byte [eax + 0x258]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x10100bc0], xmm0
mov eax, dword [edx - 4]
test eax, eax
je 0x1003dac1
movzx eax, byte [eax + 0x258]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x10100bc4], xmm0
mov eax, dword [edx]
test eax, eax
je 0x1003dada
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 0x1003daf4
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 0x1003da80
mov ebx, dword [ebp - 0x1c]
mov esi, dword [ebp - 8]
cmp ecx, ebx
jl 0x1003db18
jmp 0x1003db46
test ebx, ebx
jle 0x1003db46
mov eax, dword [esi + 0x15e0]
mov dword [ebp - 0xc], eax
mov esi, dword [ebp - 0xc]
nop dword [eax + eax]
mov eax, dword [esi + ecx*4]
test eax, eax
je 0x1003db3e
movzx eax, byte [eax + 0x258]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx*4 + 0x10100bc0], xmm0
inc ecx
cmp ecx, ebx
jl 0x1003db20
mov esi, dword [ebp - 8]
mov byte [0x1014edc5], 1
test esi, esi
je 0x1003dc60
xor ecx, ecx
cmp byte [0x10100baf], cl
je 0x1003db92
cmp dword [esi + 0x15e4], ecx
jle 0x1003dbc5
nop word [eax + eax]
mov eax, dword [esi + 0x15e0]
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x1003db87
mov dword [eax + 0x2bc], 0
inc ecx
cmp ecx, dword [esi + 0x15e4]
jl 0x1003db70
jmp 0x1003dbc5
cmp dword [esi + 0x15e4], ecx
jle 0x1003dbc5
nop word [eax + eax]
mov eax, dword [esi + 0x15e0]
mov edx, dword [eax + ecx*4]
test edx, edx
je 0x1003dbbc
cvttss2si eax, dword [ecx*4 + 0x10127cc0]
mov dword [edx + 0x2bc], eax
inc ecx
cmp ecx, dword [esi + 0x15e4]
jl 0x1003dba0
xor ecx, ecx
cmp byte [0x10100bb9], cl
je 0x1003dc02
cmp dword [esi + 0x15e4], ecx
jle 0x1003dc33
nop word [eax + eax]
mov eax, dword [esi + 0x15e0]
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x1003dbf7
mov dword [eax + 0x328], 0
inc ecx
cmp ecx, dword [esi + 0x15e4]
jl 0x1003dbe0
jmp 0x1003dc33
cmp dword [esi + 0x15e4], ecx
jle 0x1003dc33
nop word [eax + eax]
mov eax, dword [esi + 0x15e0]
mov edx, dword [eax + ecx*4]
test edx, edx
je 0x1003dc2a
mov eax, dword [ecx*4 + 0x10129c00]
mov dword [edx + 0x328], eax
inc ecx
cmp ecx, dword [esi + 0x15e4]
jl 0x1003dc10
xor ecx, ecx
cmp dword [esi + 0x15e4], ecx
jle 0x1003dc60
nop dword [eax]
mov eax, dword [esi + 0x15e0]
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x1003dc57
mov dword [eax + 0x35c], 0
inc ecx
cmp ecx, dword [esi + 0x15e4]
jl 0x1003dc40
mov eax, dword [0x10100bbc]
test eax, eax
jne 0x1003dca2
test esi, esi
je 0x1003de22
xor ecx, ecx
cmp dword [esi + 0x15e4], ecx
jle 0x1003dd0f
nop
mov eax, dword [esi + 0x15e0]
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x1003dc97
mov dword [eax + 0x308], 0
inc ecx
cmp ecx, dword [esi + 0x15e4]
jl 0x1003dc80
jmp 0x1003dd0f
cmp eax, 1
jne 0x1003dce2
test esi, esi
je 0x1003de22
xor ecx, ecx
cmp dword [esi + 0x15e4], ecx
jle 0x1003dd0f
nop dword [eax]
mov eax, dword [esi + 0x15e0]
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x1003dcd7
mov dword [eax + 0x308], 0x3f800000
inc ecx
cmp ecx, dword [esi + 0x15e4]
jl 0x1003dcc0
jmp 0x1003dd0f
cmp eax, 2
jne 0x1003dd07
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1003dd07
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0x10]
mov dword [eax + 0x138], 1
test esi, esi
je 0x1003de22
xor ecx, ecx
cmp byte [0x1014edc4], cl
je 0x1003dd40
cmp dword [esi + 0x15e4], ecx
jle 0x1003dd75
mov eax, dword [esi + 0x15e0]
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x1003dd35
mov byte [eax + 0x258], 0xa
inc ecx
cmp ecx, dword [esi + 0x15e4]
jl 0x1003dd21
jmp 0x1003dd75
cmp dword [esi + 0x15e4], ecx
jle 0x1003dd75
nop dword [eax + eax]
mov eax, dword [esi + 0x15e0]
mov edx, dword [eax + ecx*4]
test edx, edx
je 0x1003dd6c
cvttss2si eax, dword [ecx*4 + 0x10100bc0]
mov byte [edx + 0x258], al
inc ecx
cmp ecx, dword [esi + 0x15e4]
jl 0x1003dd50
cmp byte [0x10100bb8], 0
je 0x1003ddb1
xor ecx, ecx
cmp dword [esi + 0x15e4], ecx
jle 0x1003ddb1
nop dword [eax + eax]
mov eax, dword [esi + 0x15e0]
mov edx, dword [eax + ecx*4]
test edx, edx
je 0x1003dda8
mov eax, dword [0x1014edc0]
mov dword [edx + 0x4f4], eax
inc ecx
cmp ecx, dword [esi + 0x15e4]
jl 0x1003dd90
cmp byte [0x10100bba], 0
je 0x1003ddf7
xor ecx, ecx
cmp dword [esi + 0x15e4], ecx
jle 0x1003de22
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 0x1003ddc7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor edx, edx
cmp dword [esi + 0x15e4], edx
jle 0x1003de22
mov eax, dword [ebp - 4]
cvttss2si ecx, dword [edx*4 + 0x10131900]
inc edx
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0x10]
mov dword [eax + 0x27c], ecx
cmp edx, dword [esi + 0x15e4]
jl 0x1003de01
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret