Function at 0x1000872e
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, esp
push ecx
push ecx
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x10050040]
xor eax, ebp
mov dword [ebp - 4], eax
movd xmm0, dword [0x100c6838]
cvtdq2ps xmm0, xmm0
push esi
push edi
movss xmm1, dword [0x1004c71c]
addss xmm0, dword [0x1004c748]
movss dword [0x383926bc], xmm0
movd xmm0, dword [0x100c6838]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [0x1004c738]
movss dword [0x383926e0], xmm0
movd xmm0, dword [0x100c6838]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [0x1004c748]
movss dword [0x38392704], xmm0
movd xmm0, dword [0x100c6838]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [0x1004c74c]
movss dword [0x38392728], xmm0
movd xmm0, dword [0x100c6838]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [0x1004c6ec]
movss dword [0x3839274c], xmm0
movd xmm0, dword [0x100c6838]
cvtdq2ps xmm0, xmm0
addss xmm0, xmm1
movss dword [0x38392770], xmm0
movd xmm0, dword [0x100c6838]
cvtdq2ps xmm0, xmm0
addss xmm0, xmm1
movss dword [0x38392794], xmm0
movd xmm0, dword [0x100c6838]
cvtdq2ps xmm0, xmm0
addss xmm0, xmm1
movss dword [0x383927b8], xmm0
movd xmm0, dword [0x100c6838]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [0x1004c6e0]
movss dword [0x38392800], xmm0
movd xmm0, dword [0x100c683c]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [0x1004c720]
movss dword [0x383927dc], xmm0
cmp byte [0x100c6835], 0
je 0x1000887a
cmp dword [0x383d8b74], 1
jne 0x1000888d
mov dword [0x383d8b74], 0xfffffffb
jmp 0x1000888d
cmp dword [0x383d8b74], 0xfffffffb
jne 0x1000888d
mov dword [0x383d8b74], 1
cmp byte [0x100c6834], 0
je 0x10008b62
mov ecx, 0xa2
xor edx, edx
mov al, byte [edx + 0x100479d8]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x14], al
and ecx, 0x800000ff
jns 0x100088be
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0xc
jl 0x100088a1
lea eax, [ebp - 0x14]
mov byte [ebp - 8], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea edi, [ebp - 0x14]
mov eax, dword [eax + 0x6bf34]
mov dword [ebp - 0x20], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosb byte es:[edi], al
mov edi, dword [ebp - 0x20]
test edi, edi
je 0x10008b62
mov eax, dword [0x384035dc]
mov dword [0x100c68dc], eax
test eax, eax
je 0x10008b62
movss xmm0, dword [eax + 0x54]
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
movss dword [ebp - 0x2c], xmm0
movss xmm0, dword [eax + 0x58]
push 0x26
movss dword [ebp - 0x18], xmm0
call esi
shr eax, 0xf
and eax, 0xffffff01
push 0x28
mov dword [ebp - 0x1c], eax
call esi
shr eax, 0xf
and eax, 0xffffff01
push 0x25
mov dword [ebp - 0x24], eax
call esi
shr eax, 0xf
and eax, 0xffffff01
push 0x27
mov dword [ebp - 0x20], eax
call esi
shr eax, 0xf
and eax, 0xffffff01
cmp byte [ebp - 0x1c], 0
mov dword [ebp - 0x34], eax
jne 0x1000897e
cmp byte [ebp - 0x24], 0
jne 0x10008974
cmp byte [ebp - 0x20], 0
jne 0x10008a45
test al, al
jmp 0x10008ad1
movss xmm0, dword [0x1004c78c]
jmp 0x10008986
movss xmm0, dword [0x1004c600]
movss dword [ebp - 0x1c], xmm0
movss xmm0, dword [ebp - 0x18]
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 [0x100500c4]
mulss xmm0, dword [ebp - 0x1c]
mulss xmm1, xmm0
movss xmm0, dword [ebp - 0x2c]
xorps xmm0, xmmword [0x1004cc30]
addss xmm1, dword [edi + 0xc8]
cvtss2sd xmm0, xmm0
movss dword [edi + 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 [0x100500c4]
cvtsd2ss xmm2, xmm0
mulss xmm1, dword [ebp - 0x1c]
mulss xmm2, xmm1
movss xmm1, dword [ebp - 0x18]
cvtps2pd xmm0, xmm1
addss xmm2, dword [edi + 0xcc]
movss dword [edi + 0xcc], xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
cmp byte [ebp - 0x20], 0
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, dword [0x100500c4]
mulss xmm0, dword [ebp - 0x1c]
mulss xmm1, xmm0
addss xmm1, dword [edi + 0xd0]
movss dword [edi + 0xd0], xmm1
je 0x10008acd
movss xmm0, dword [ebp - 0x18]
subss xmm0, dword [0x1004c610]
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x30], 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 [0x100500c4]
cvtsd2ss xmm2, xmm0
movsd xmm0, qword [ebp - 0x30]
mulss xmm2, xmm1
movss xmm1, dword [edi + 0xcc]
addss xmm1, dword [0x1004c560]
addss xmm2, dword [edi + 0xc8]
movss dword [edi + 0xcc], xmm1
movss dword [edi + 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 [0x100500c4]
mulss xmm1, xmm0
addss xmm1, dword [edi + 0xd0]
movss dword [edi + 0xd0], xmm1
cmp byte [ebp - 0x34], 0
je 0x10008b62
movss xmm0, dword [ebp - 0x18]
addss xmm0, dword [0x1004c610]
movss dword [ebp - 0x18], 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 [0x100500c4]
cvtsd2ss xmm2, xmm0
mulss xmm2, xmm1
movss xmm1, dword [edi + 0xcc]
addss xmm1, dword [0x1004c560]
addss xmm2, dword [edi + 0xc8]
movss dword [edi + 0xcc], xmm1
movss xmm1, dword [ebp - 0x18]
cvtps2pd xmm0, xmm1
movss dword [edi + 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 [0x100500c4]
mulss xmm1, xmm0
addss xmm1, dword [edi + 0xd0]
movss dword [edi + 0xd0], xmm1
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.100415f4
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret