Function at 0x10005820
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [0x100b7f30]
mov eax, dword [ecx]
call dword [eax + 0xd0]
cmp byte [0x10090d9d], 0
mov ecx, dword [0x3843fa9c]
mov dword [ebp - 4], eax
mov dword [0x100b7f74], eax
je 0x10005853
movss xmm0, dword [0x1003fc4c]
jmp 0x1000585b
movss xmm0, dword [0x1003fbfc]
push ebx
push esi
movss dword [0x383add04], xmm0
cmp byte [0x10069c97], 0
push edi
jne 0x100059e9
test ecx, ecx
je 0x100059e2
mov edi, dword [ecx + 0x15e4]
xor edx, edx
test edi, edi
jle 0x100059e2
mov ebx, dword [ecx + 0x15e0]
sub ebx, 0x10042b88
nop word [eax + eax]
mov esi, dword [ebx + edx*4 + 0x10042b88]
test esi, esi
je 0x100059d9
movd xmm0, dword [esi + 0x2b8]
cvtdq2ps xmm0, xmm0
mov eax, dword [esi + 0x2a4]
mov dword [edx*4 + 0x10042b88], eax
mov eax, dword [esi + 0x2a8]
mov dword [edx*4 + 0x10044ac8], eax
mov eax, dword [esi + 0x2b0]
movss dword [edx*4 + 0x10048948], xmm0
movd xmm0, dword [esi + 0x2bc]
cvtdq2ps xmm0, xmm0
mov dword [edx*4 + 0x10046a08], eax
mov eax, dword [esi + 0x328]
mov dword [edx*4 + 0x10090da0], eax
mov eax, dword [esi + 0x30c]
mov dword [edx*4 + 0x1006bbd8], eax
movss dword [edx*4 + 0x1004a888], xmm0
movd xmm0, dword [esi + 0x2c0]
cvtdq2ps xmm0, xmm0
mov eax, dword [esi + 0x2b4]
mov dword [edx*4 + 0x1006db18], eax
movss dword [edx*4 + 0x1004c7c8], xmm0
movd xmm0, dword [esi + 0x2c4]
cvtdq2ps xmm0, xmm0
movss dword [edx*4 + 0x1004e708], xmm0
movd xmm0, dword [esi + 0x2c8]
cvtdq2ps xmm0, xmm0
movss dword [edx*4 + 0x10050648], xmm0
movd xmm0, dword [esi + 0x2cc]
cvtdq2ps xmm0, xmm0
movss dword [edx*4 + 0x10052588], xmm0
movd xmm0, dword [esi + 0x364]
cvtdq2ps xmm0, xmm0
movss dword [edx*4 + 0x100544c8], xmm0
movd xmm0, dword [esi + 0x368]
cvtdq2ps xmm0, xmm0
movss dword [edx*4 + 0x10056408], xmm0
movd xmm0, dword [esi + 0x36c]
cvtdq2ps xmm0, xmm0
movss dword [edx*4 + 0x10058348], xmm0
movd xmm0, dword [esi + 0x370]
cvtdq2ps xmm0, xmm0
movss dword [edx*4 + 0x1005a288], xmm0
movd xmm0, dword [esi + 0x258]
cvtdq2ps xmm0, xmm0
movss dword [edx*4 + 0x10069c98], xmm0
inc edx
cmp edx, edi
jl 0x100058a0
mov byte [0x10069c97], 1
cmp byte [0x10042b86], 0
je 0x10005acc
cmp byte [0x10042b85], 0
je 0x10005bc1
test ecx, ecx
je 0x10005ac0
xor edx, edx
cmp dword [ecx + 0x15e4], edx
jle 0x10005ac0
nop dword [eax]
mov eax, dword [ecx + 0x15e0]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x10005ab3
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 0x10005a20
mov byte [0x10042b85], 0
jmp 0x10005bc1
cmp byte [0x10042b85], 0
jne 0x10005bc1
test ecx, ecx
je 0x10005bba
xor edi, edi
cmp dword [ecx + 0x15e4], edi
jle 0x10005bba
nop
mov eax, dword [ecx + 0x15e0]
mov edx, dword [eax + edi*4]
test edx, edx
je 0x10005bad
mov eax, dword [edi*4 + 0x10042b88]
lea esi, [edi*4 + 0x100544c8]
mov dword [edx + 0x2a4], eax
mov ebx, 4
mov eax, dword [edi*4 + 0x10044ac8]
mov dword [edx + 0x2a8], eax
mov eax, dword [edi*4 + 0x10046a08]
mov dword [edx + 0x2b0], eax
cvttss2si eax, dword [edi*4 + 0x10048948]
mov dword [edx + 0x2b8], eax
cvttss2si eax, dword [edi*4 + 0x1004a888]
mov dword [edx + 0x2bc], eax
cvttss2si eax, dword [edi*4 + 0x1004c7c8]
mov dword [edx + 0x2c0], eax
cvttss2si eax, dword [edi*4 + 0x1004e708]
mov dword [edx + 0x2c4], eax
cvttss2si eax, dword [edi*4 + 0x10050648]
mov dword [edx + 0x2c8], eax
cvttss2si eax, dword [edi*4 + 0x10052588]
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 ebx, 1
jne 0x10005b94
inc edi
cmp edi, dword [ecx + 0x15e4]
jl 0x10005af0
mov byte [0x10042b85], 1
cmp byte [0x10042b82], 0
je 0x10005c0a
cmp byte [0x10042b83], 0
je 0x10005c4b
test ecx, ecx
je 0x10005c01
xor edx, edx
cmp dword [ecx + 0x15e4], edx
jle 0x10005c01
mov eax, dword [ecx + 0x15e0]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x10005bf8
mov dword [eax + 0x328], 0
inc edx
cmp edx, dword [ecx + 0x15e4]
jl 0x10005be1
mov byte [0x10042b83], 0
jmp 0x10005c4b
cmp byte [0x10042b83], 0
jne 0x10005c4b
test ecx, ecx
je 0x10005c44
xor edx, edx
cmp dword [ecx + 0x15e4], edx
jle 0x10005c44
mov eax, dword [ecx + 0x15e0]
mov esi, dword [eax + edx*4]
test esi, esi
je 0x10005c3b
mov eax, dword [edx*4 + 0x10090da0]
mov dword [esi + 0x328], eax
inc edx
cmp edx, dword [ecx + 0x15e4]
jl 0x10005c21
mov byte [0x10042b83], 1
cmp byte [0x10069c95], 0
je 0x10005c99
cmp byte [0x10069c96], 0
je 0x10005cdc
test ecx, ecx
je 0x10005c90
xor edx, edx
cmp dword [ecx + 0x15e4], edx
jle 0x10005c90
nop
mov eax, dword [ecx + 0x15e0]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x10005c87
mov dword [eax + 0x258], 1
inc edx
cmp edx, dword [ecx + 0x15e4]
jl 0x10005c70
mov byte [0x10069c96], 0
jmp 0x10005cdc
cmp byte [0x10069c96], 0
jne 0x10005cdc
test ecx, ecx
je 0x10005cd5
xor edx, edx
cmp dword [ecx + 0x15e4], edx
jle 0x10005cd5
mov eax, dword [ecx + 0x15e0]
mov esi, dword [eax + edx*4]
test esi, esi
je 0x10005ccc
cvttss2si eax, dword [edx*4 + 0x10069c98]
mov dword [esi + 0x258], eax
inc edx
cmp edx, dword [ecx + 0x15e4]
jl 0x10005cb0
mov byte [0x10069c96], 1
cmp byte [0x10042b87], 0
je 0x10005d29
cmp byte [0x10090d9c], 0
je 0x10005d6a
test ecx, ecx
je 0x10005d20
xor edx, edx
cmp dword [ecx + 0x15e4], edx
jle 0x10005d20
mov eax, dword [ecx + 0x15e0]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x10005d17
mov dword [eax + 0x2b4], 0
inc edx
cmp edx, dword [ecx + 0x15e4]
jl 0x10005d00
mov byte [0x10090d9c], 0
jmp 0x10005d6a
cmp byte [0x10090d9c], 0
jne 0x10005d6a
test ecx, ecx
je 0x10005d63
xor edx, edx
cmp dword [ecx + 0x15e4], edx
jle 0x10005d63
mov eax, dword [ecx + 0x15e0]
mov esi, dword [eax + edx*4]
test esi, esi
je 0x10005d5a
mov eax, dword [edx*4 + 0x1006db18]
mov dword [esi + 0x2b4], eax
inc edx
cmp edx, dword [ecx + 0x15e4]
jl 0x10005d40
mov byte [0x10090d9c], 1
cmp byte [0x10090d9e], 0
je 0x10005db9
cmp byte [0x10090d9f], 0
je 0x10005dfa
test ecx, ecx
je 0x10005db0
xor edx, edx
cmp dword [ecx + 0x15e4], edx
jle 0x10005db0
nop
mov eax, dword [ecx + 0x15e0]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x10005da7
mov dword [eax + 0x30c], 0
inc edx
cmp edx, dword [ecx + 0x15e4]
jl 0x10005d90
mov byte [0x10090d9f], 0
jmp 0x10005dfa
cmp byte [0x10090d9f], 0
jne 0x10005dfa
test ecx, ecx
je 0x10005df3
xor edx, edx
cmp dword [ecx + 0x15e4], edx
jle 0x10005df3
mov eax, dword [ecx + 0x15e0]
mov esi, dword [eax + edx*4]
test esi, esi
je 0x10005dea
mov eax, dword [edx*4 + 0x1006bbd8]
mov dword [esi + 0x30c], eax
inc edx
cmp edx, dword [ecx + 0x15e4]
jl 0x10005dd0
mov byte [0x10090d9f], 1
pop edi
pop esi
pop ebx
test ecx, ecx
je 0x10005e30
xor edx, edx
cmp dword [ecx + 0x15e4], edx
jle 0x10005e30
nop dword [eax + eax]
mov eax, dword [ecx + 0x15e0]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x10005e27
mov dword [eax + 0x35c], 0
inc edx
cmp edx, dword [ecx + 0x15e4]
jl 0x10005e10
mov eax, dword [0x100b7efc]
test eax, eax
jne 0x10005ec1
test ecx, ecx
je 0x10005e70
xor edx, edx
cmp dword [ecx + 0x15e4], edx
jle 0x10005e70
nop dword [eax + eax]
mov eax, dword [ecx + 0x15e0]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x10005e67
mov dword [eax + 0x308], 0
inc edx
cmp edx, dword [ecx + 0x15e4]
jl 0x10005e50
mov edx, dword [ebp - 4]
cmp byte [0x10042b84], 0
jne 0x10005ea0
test edx, edx
je 0x10005e99
mov eax, dword [edx + 0x18]
mov eax, dword [eax + 0x10]
movd xmm0, dword [eax + 0x148]
cvtdq2ps xmm0, xmm0
movss dword [0x100b7ea4], xmm0
mov byte [0x10042b84], 1
cmp byte [0x10069c94], 0
mov eax, dword [edx + 0x18]
mov eax, dword [eax + 0x10]
je 0x10005f34
mov dword [eax + 0x148], 0xffffffff
mov esp, ebp
pop ebp
ret
cmp eax, 1
jne 0x10005eff
test ecx, ecx
je 0x10005e70
xor edx, edx
cmp dword [ecx + 0x15e4], edx
jle 0x10005e70
mov eax, dword [ecx + 0x15e0]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x10005ef1
movss xmm0, dword [0x10090d98]
movss dword [eax + 0x308], xmm0
inc edx
cmp edx, dword [ecx + 0x15e4]
jl 0x10005ed4
jmp 0x10005e70
cmp eax, 2
jne 0x10005e70
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov edx, dword [0x100b7f74]
test ax, ax
jns 0x10005e73
mov eax, dword [edx + 0x18]
mov eax, dword [eax + 0x10]
mov dword [eax + 0x138], 1
jmp 0x10005e73
cvttss2si ecx, dword [0x100b7ea4]
mov dword [eax + 0x148], ecx
mov esp, ebp
pop ebp
ret