Function at 0x10005d50
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp byte [0x1008cc09], 0
mov eax, dword [0x38452e7c]
mov ecx, dword [0x384841ac]
mov dword [ebp - 4], eax
je 0x10005d75
movss xmm0, dword [0x1005ec08]
jmp 0x10005d7d
movss xmm0, dword [0x1005ebb8]
push ebx
push esi
movss dword [0x384a4b94], xmm0
cmp byte [0x1008cc08], 0
push edi
jne 0x10005f09
test ecx, ecx
je 0x10005f02
mov ebx, dword [ecx + 0x15e4]
xor edx, edx
test ebx, ebx
jle 0x10005f02
mov edi, dword [ecx + 0x15e0]
sub edi, 0x10065ad8
nop dword [eax]
mov esi, dword [edi + edx*4 + 0x10065ad8]
test esi, esi
je 0x10005ef9
movd xmm0, dword [esi + 0x2b8]
cvtdq2ps xmm0, xmm0
mov eax, dword [esi + 0x2a4]
mov dword [edx*4 + 0x10065ad8], eax
mov eax, dword [esi + 0x2a8]
mov dword [edx*4 + 0x10067a18], eax
mov eax, dword [esi + 0x2b0]
movss dword [edx*4 + 0x1006b898], xmm0
movd xmm0, dword [esi + 0x2bc]
cvtdq2ps xmm0, xmm0
mov dword [edx*4 + 0x10069958], eax
mov eax, dword [esi + 0x328]
mov dword [edx*4 + 0x100b3d10], eax
mov eax, dword [esi + 0x30c]
mov dword [edx*4 + 0x1008eb50], eax
movss dword [edx*4 + 0x1006d7d8], xmm0
movd xmm0, dword [esi + 0x2c0]
cvtdq2ps xmm0, xmm0
mov eax, dword [esi + 0x2b4]
mov dword [edx*4 + 0x10090a90], eax
movss dword [edx*4 + 0x1006f718], xmm0
movd xmm0, dword [esi + 0x2c4]
cvtdq2ps xmm0, xmm0
movss dword [edx*4 + 0x10071658], xmm0
movd xmm0, dword [esi + 0x2c8]
cvtdq2ps xmm0, xmm0
movss dword [edx*4 + 0x10073598], xmm0
movd xmm0, dword [esi + 0x2cc]
cvtdq2ps xmm0, xmm0
movss dword [edx*4 + 0x100754d8], xmm0
movd xmm0, dword [esi + 0x364]
cvtdq2ps xmm0, xmm0
movss dword [edx*4 + 0x10077418], xmm0
movd xmm0, dword [esi + 0x368]
cvtdq2ps xmm0, xmm0
movss dword [edx*4 + 0x10079358], xmm0
movd xmm0, dword [esi + 0x36c]
cvtdq2ps xmm0, xmm0
movss dword [edx*4 + 0x1007b298], xmm0
movd xmm0, dword [esi + 0x370]
cvtdq2ps xmm0, xmm0
movss dword [edx*4 + 0x1007d1d8], xmm0
movd xmm0, dword [esi + 0x258]
cvtdq2ps xmm0, xmm0
movss dword [edx*4 + 0x1008cc10], xmm0
inc edx
cmp edx, ebx
jl 0x10005dc0
mov byte [0x1008cc08], 1
cmp byte [0x1008cc05], 0
je 0x10005fec
cmp byte [0x10065ad4], 0
je 0x100060e1
test ecx, ecx
je 0x10005fe0
xor edx, edx
cmp dword [ecx + 0x15e4], edx
jle 0x10005fe0
nop dword [eax]
mov eax, dword [ecx + 0x15e0]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x10005fd3
mov dword [eax + 0x2a4], 0
mov dword [eax + 0x2a8], 0
mov dword [eax + 0x2b0], 0
mov dword [eax + 0x2b8], 0
mov dword [eax + 0x2bc], 0
mov dword [eax + 0x2c0], 0
mov dword [eax + 0x2c4], 0
mov dword [eax + 0x2c8], 0
mov dword [eax + 0x2cc], 0
mov dword [eax + 0x364], 0
mov dword [eax + 0x368], 0
mov dword [eax + 0x36c], 0
mov dword [eax + 0x370], 0
inc edx
cmp edx, dword [ecx + 0x15e4]
jl 0x10005f40
mov byte [0x10065ad4], 0
jmp 0x100060e1
cmp byte [0x10065ad4], 0
jne 0x100060e1
test ecx, ecx
je 0x100060da
xor ebx, ebx
cmp dword [ecx + 0x15e4], ebx
jle 0x100060da
nop
mov eax, dword [ecx + 0x15e0]
mov edx, dword [eax + ebx*4]
test edx, edx
je 0x100060cd
mov eax, dword [ebx*4 + 0x10065ad8]
lea esi, [ebx*4 + 0x10077418]
mov dword [edx + 0x2a4], eax
mov edi, 4
mov eax, dword [ebx*4 + 0x10067a18]
mov dword [edx + 0x2a8], eax
mov eax, dword [ebx*4 + 0x10069958]
mov dword [edx + 0x2b0], eax
cvttss2si eax, dword [ebx*4 + 0x1006b898]
mov dword [edx + 0x2b8], eax
cvttss2si eax, dword [ebx*4 + 0x1006d7d8]
mov dword [edx + 0x2bc], eax
cvttss2si eax, dword [ebx*4 + 0x1006f718]
mov dword [edx + 0x2c0], eax
cvttss2si eax, dword [ebx*4 + 0x10071658]
mov dword [edx + 0x2c4], eax
cvttss2si eax, dword [ebx*4 + 0x10073598]
mov dword [edx + 0x2c8], eax
cvttss2si eax, dword [ebx*4 + 0x100754d8]
mov dword [edx + 0x2cc], eax
add edx, 0x364
lea edx, [edx + 4]
lea esi, [esi + 0x1f40]
cvttss2si eax, dword [esi - 0x1f40]
mov dword [edx - 4], eax
sub edi, 1
jne 0x100060b4
inc ebx
cmp ebx, dword [ecx + 0x15e4]
jl 0x10006010
mov byte [0x10065ad4], 1
cmp byte [0x10065ad1], 0
je 0x1000612a
cmp byte [0x10065ad2], 0
je 0x1000616b
test ecx, ecx
je 0x10006121
xor edx, edx
cmp dword [ecx + 0x15e4], edx
jle 0x10006121
mov eax, dword [ecx + 0x15e0]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x10006118
mov dword [eax + 0x328], 0
inc edx
cmp edx, dword [ecx + 0x15e4]
jl 0x10006101
mov byte [0x10065ad2], 0
jmp 0x1000616b
cmp byte [0x10065ad2], 0
jne 0x1000616b
test ecx, ecx
je 0x10006164
xor edx, edx
cmp dword [ecx + 0x15e4], edx
jle 0x10006164
mov eax, dword [ecx + 0x15e0]
mov esi, dword [eax + edx*4]
test esi, esi
je 0x1000615b
mov eax, dword [edx*4 + 0x100b3d10]
mov dword [esi + 0x328], eax
inc edx
cmp edx, dword [ecx + 0x15e4]
jl 0x10006141
mov byte [0x10065ad2], 1
cmp byte [0x1008cc0a], 0
je 0x100061b9
cmp byte [0x1008cc0b], 0
je 0x100061fc
test ecx, ecx
je 0x100061b0
xor edx, edx
cmp dword [ecx + 0x15e4], edx
jle 0x100061b0
nop
mov eax, dword [ecx + 0x15e0]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x100061a7
mov dword [eax + 0x258], 1
inc edx
cmp edx, dword [ecx + 0x15e4]
jl 0x10006190
mov byte [0x1008cc0b], 0
jmp 0x100061fc
cmp byte [0x1008cc0b], 0
jne 0x100061fc
test ecx, ecx
je 0x100061f5
xor edx, edx
cmp dword [ecx + 0x15e4], edx
jle 0x100061f5
mov eax, dword [ecx + 0x15e0]
mov esi, dword [eax + edx*4]
test esi, esi
je 0x100061ec
cvttss2si eax, dword [edx*4 + 0x1008cc10]
mov dword [esi + 0x258], eax
inc edx
cmp edx, dword [ecx + 0x15e4]
jl 0x100061d0
mov byte [0x1008cc0b], 1
cmp byte [0x1008cc06], 0
je 0x10006249
cmp byte [0x1008cc0c], 0
je 0x1000628a
test ecx, ecx
je 0x10006240
xor edx, edx
cmp dword [ecx + 0x15e4], edx
jle 0x10006240
mov eax, dword [ecx + 0x15e0]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x10006237
mov dword [eax + 0x2b4], 0
inc edx
cmp edx, dword [ecx + 0x15e4]
jl 0x10006220
mov byte [0x1008cc0c], 0
jmp 0x1000628a
cmp byte [0x1008cc0c], 0
jne 0x1000628a
test ecx, ecx
je 0x10006283
xor edx, edx
cmp dword [ecx + 0x15e4], edx
jle 0x10006283
mov eax, dword [ecx + 0x15e0]
mov esi, dword [eax + edx*4]
test esi, esi
je 0x1000627a
mov eax, dword [edx*4 + 0x10090a90]
mov dword [esi + 0x2b4], eax
inc edx
cmp edx, dword [ecx + 0x15e4]
jl 0x10006260
mov byte [0x1008cc0c], 1
cmp byte [0x1008cc0d], 0
je 0x100062d9
cmp byte [0x1008cc0e], 0
je 0x1000631a
test ecx, ecx
je 0x100062d0
xor edx, edx
cmp dword [ecx + 0x15e4], edx
jle 0x100062d0
nop
mov eax, dword [ecx + 0x15e0]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x100062c7
mov dword [eax + 0x30c], 0
inc edx
cmp edx, dword [ecx + 0x15e4]
jl 0x100062b0
mov byte [0x1008cc0e], 0
jmp 0x1000631a
cmp byte [0x1008cc0e], 0
jne 0x1000631a
test ecx, ecx
je 0x10006313
xor edx, edx
cmp dword [ecx + 0x15e4], edx
jle 0x10006313
mov eax, dword [ecx + 0x15e0]
mov esi, dword [eax + edx*4]
test esi, esi
je 0x1000630a
mov eax, dword [edx*4 + 0x1008eb50]
mov dword [esi + 0x30c], eax
inc edx
cmp edx, dword [ecx + 0x15e4]
jl 0x100062f0
mov byte [0x1008cc0e], 1
pop edi
pop esi
pop ebx
test ecx, ecx
je 0x10006350
xor edx, edx
cmp dword [ecx + 0x15e4], edx
jle 0x10006350
nop dword [eax + eax]
mov eax, dword [ecx + 0x15e0]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x10006347
mov dword [eax + 0x35c], 0
inc edx
cmp edx, dword [ecx + 0x15e4]
jl 0x10006330
mov eax, dword [0x100dae60]
test eax, eax
jne 0x100063e1
test ecx, ecx
je 0x10006390
xor edx, edx
cmp dword [ecx + 0x15e4], edx
jle 0x10006390
nop dword [eax + eax]
mov eax, dword [ecx + 0x15e0]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x10006387
mov dword [eax + 0x308], 0
inc edx
cmp edx, dword [ecx + 0x15e4]
jl 0x10006370
mov ecx, dword [ebp - 4]
cmp byte [0x10065ad3], 0
jne 0x100063c0
test ecx, ecx
je 0x100063b9
mov eax, dword [ecx + 0x18]
mov eax, dword [eax + 0x10]
movd xmm0, dword [eax + 0x148]
cvtdq2ps xmm0, xmm0
movss dword [0x100dae14], xmm0
mov byte [0x10065ad3], 1
cmp byte [0x1008cc07], 0
mov eax, dword [ecx + 0x18]
mov ecx, dword [eax + 0x10]
je 0x1000644b
mov dword [ecx + 0x148], 0xffffffff
mov esp, ebp
pop ebp
ret
cmp eax, 1
jne 0x10006419
test ecx, ecx
je 0x10006390
xor edx, edx
cmp dword [ecx + 0x15e4], edx
jle 0x10006390
mov eax, dword [ecx + 0x15e0]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x1000640b
mov dword [eax + 0x308], 0x3f800000
inc edx
cmp edx, dword [ecx + 0x15e4]
jl 0x100063f4
jmp 0x10006390
cmp eax, 2
jne 0x10006390
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, dword [ebp - 4]
test ax, ax
jns 0x10006393
mov eax, dword [ecx + 0x18]
mov eax, dword [eax + 0x10]
mov dword [eax + 0x138], 1
jmp 0x10006393
cvttss2si eax, dword [0x100dae14]
mov dword [ecx + 0x148], eax
mov esp, ebp
pop ebp
ret