Function at 0x100101c0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x30
mov eax, dword [0x1006c040]
xor eax, esp
mov dword [esp + 0x2c], eax
mov ecx, dword [0x10126b68]
push esi
push edi
mov eax, dword [ecx]
mov eax, dword [eax + 0xd0]
call eax
cmp byte [0x101269ca], 0
mov ecx, eax
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov dword [0x10126bac], ecx
je 0x1001021b
push 0x20
call edi
mov ecx, dword [0x10126bac]
test ax, ax
je 0x1001021b
mov eax, dword [ecx + 0x10]
mov dword [eax + 0xb8], 0x44898000
jmp 0x10010228
mov eax, dword [ecx + 0x10]
mov dword [eax + 0xb8], 0xc4898000
cmp byte [0x101269cb], 0
je 0x10010265
mov eax, dword [ecx + 0x10]
mov dword [eax + 0x394], 0
mov eax, dword [ecx + 0x10]
mov dword [eax + 0x3a8], 0
mov eax, dword [ecx + 0x10]
mov dword [eax + 0x4f4], 0
mov eax, dword [ecx + 0x10]
mov dword [eax + 0x398], 0
cmp byte [0x101269c9], 0
je 0x1001028c
push 0x20
call edi
mov ecx, dword [0x10126bac]
test ax, ax
je 0x1001028c
mov eax, dword [ecx + 0x10]
mov dword [eax + 0x8c], 1
jmp 0x10010299
mov eax, dword [ecx + 0x10]
mov dword [eax + 0x8c], 0
movss xmm0, dword [0x101269d0]
mov eax, dword [ecx + 4]
movss xmm1, dword [0x100674fc]
movss dword [eax], xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, dword [0x101269c4]
addss xmm0, dword [0x10067540]
movss dword [0x38399a3c], xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, dword [0x101269c4]
addss xmm0, dword [0x1006751c]
movss dword [0x38399a60], xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, dword [0x101269c4]
addss xmm0, dword [0x10067540]
movss dword [0x38399a84], xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, dword [0x101269c4]
addss xmm0, dword [0x10067544]
movss dword [0x38399aa8], xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, dword [0x101269c4]
addss xmm0, dword [0x100674c0]
movss dword [0x38399acc], xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, dword [0x101269c4]
addss xmm0, xmm1
movss dword [0x38399af0], xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, dword [0x101269c4]
addss xmm0, xmm1
movss dword [0x38399b14], xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, dword [0x101269c4]
addss xmm0, xmm1
movss dword [0x38399b38], xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, dword [0x101269c4]
addss xmm0, dword [0x100674ac]
movss dword [0x38399b80], xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, dword [0x101269cc]
addss xmm0, dword [0x10067504]
movss dword [0x38399b5c], xmm0
cmp byte [0x101269c8], 0
je 0x100103d0
cmp dword [0x383dfedc], 1
jne 0x100103e3
mov dword [0x383dfedc], 0xfffffffb
jmp 0x100103e3
cmp dword [0x383dfedc], 0xfffffffb
jne 0x100103e3
mov dword [0x383dfedc], 1
cmp dword [0x101269c0], 0
je 0x100106dc
mov ecx, 0xa2
xor edx, edx
mov al, byte [edx + 0x1005fc18]
xor al, cl
inc ecx
mov byte [esp + edx + 0x24], al
and ecx, 0x800000ff
jns 0x10010414
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0xc
jl 0x100103f7
lea eax, [esp + 0x24]
mov byte [esp + 0x30], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xorps xmm0, xmm0
mov esi, dword [eax + 0x6bf34]
movq qword [esp + 0x24], xmm0
mov dword [esp + 0x2c], 0
mov byte [esp + 0x30], 0
test esi, esi
je 0x100106dc
mov ecx, dword [0x10126b68]
mov eax, dword [ecx]
mov eax, dword [eax + 0xd0]
call eax
mov dword [0x10126bac], eax
test eax, eax
je 0x100106dc
movss xmm0, dword [eax + 0x54]
movss dword [esp + 0x18], xmm0
movss xmm0, dword [eax + 0x58]
push 0x26
movss dword [esp + 0xc], xmm0
call edi
shr eax, 0xf
and eax, 0xffffff01
push 0x28
mov dword [esp + 0x10], eax
call edi
shr eax, 0xf
and eax, 0xffffff01
push 0x25
mov dword [esp + 0x18], eax
call edi
shr eax, 0xf
and eax, 0xffffff01
push 0x27
mov dword [esp + 0x14], eax
call edi
shr eax, 0xf
and eax, 0xffffff01
cmp byte [esp + 0xc], 0
mov dword [esp + 0x20], eax
jne 0x100104eb
cmp byte [esp + 0x14], 0
jne 0x100104e1
cmp byte [esp + 0x10], 0
jne 0x100105ba
test al, al
jmp 0x10010649
movss xmm0, dword [0x10067584]
jmp 0x100104f3
movss xmm0, dword [0x100673d4]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [esp + 8]
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, dword [0x10073544]
mulss xmm0, dword [esp + 0xc]
mulss xmm1, xmm0
movss xmm0, dword [esp + 0x18]
xorps xmm0, xmmword [0x100679d0]
addss xmm1, dword [esi + 0xc8]
cvtss2sd xmm0, xmm0
movss dword [esi + 0xc8], xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
xorps xmm1, xmm1
xorps xmm2, xmm2
cvtsi2ss xmm1, dword [0x10073544]
cvtsd2ss xmm2, xmm0
mulss xmm1, dword [esp + 0xc]
mulss xmm2, xmm1
movss xmm1, dword [esp + 8]
cvtps2pd xmm0, xmm1
addss xmm2, dword [esi + 0xcc]
movss dword [esi + 0xcc], xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
cmp byte [esp + 0x10], 0
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, dword [0x10073544]
mulss xmm0, dword [esp + 0xc]
mulss xmm1, xmm0
addss xmm1, dword [esi + 0xd0]
movss dword [esi + 0xd0], xmm1
je 0x10010644
movss xmm0, dword [esp + 8]
subss xmm0, dword [0x100673ec]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x18], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
xorps xmm1, xmm1
xorps xmm2, xmm2
cvtsi2ss xmm1, dword [0x10073544]
cvtsd2ss xmm2, xmm0
xorps xmm0, xmm0
mulss xmm2, xmm1
movss xmm1, dword [esi + 0xcc]
addss xmm1, xmm0
movsd xmm0, qword [esp + 0x18]
addss xmm2, dword [esi + 0xc8]
movss dword [esi + 0xcc], xmm1
movss dword [esi + 0xc8], xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, dword [0x10073544]
mulss xmm1, xmm0
addss xmm1, dword [esi + 0xd0]
movss dword [esi + 0xd0], xmm1
cmp byte [esp + 0x20], 0
je 0x100106dc
movss xmm0, dword [esp + 8]
addss xmm0, dword [0x100673ec]
movss dword [esp + 8], xmm0
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
xorps xmm1, xmm1
xorps xmm2, xmm2
cvtsi2ss xmm1, dword [0x10073544]
cvtsd2ss xmm2, xmm0
xorps xmm0, xmm0
mulss xmm2, xmm1
movss xmm1, dword [esi + 0xcc]
addss xmm1, xmm0
addss xmm2, dword [esi + 0xc8]
movss dword [esi + 0xcc], xmm1
movss xmm1, dword [esp + 8]
cvtps2pd xmm0, xmm1
movss dword [esi + 0xc8], xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, dword [0x10073544]
mulss xmm1, xmm0
addss xmm1, dword [esi + 0xd0]
movss dword [esi + 0xd0], xmm1
mov ecx, dword [esp + 0x34]
pop edi
pop esi
xor ecx, esp
call fcn.1005b824
mov esp, ebp
pop ebp
ret