Function at 0x1003de30
Capabilities:
Encode data using xor
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x30
mov eax, dword [0x10053040]
xor eax, esp
mov dword [esp + 0x2c], eax
movd xmm0, dword [0x10100bb4]
cvtdq2ps xmm0, xmm0
push esi
push edi
mov edi, dword [0x384035dc]
movss xmm1, dword [0x10050250]
addss xmm0, dword [0x10050258]
movss dword [0x383927dc], xmm0
movd xmm0, dword [0x10100bb0]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [0x10050214]
movss dword [0x3839274c], xmm0
movd xmm0, dword [0x10100bb0]
cvtdq2ps xmm0, xmm0
addss xmm0, xmm1
movss dword [0x38392770], xmm0
movd xmm0, dword [0x10100bb0]
cvtdq2ps xmm0, xmm0
addss xmm0, xmm1
movss dword [0x38392794], xmm0
movd xmm0, dword [0x10100bb0]
cvtdq2ps xmm0, xmm0
addss xmm0, xmm1
movss dword [0x383927b8], xmm0
movd xmm0, dword [0x10100bb0]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [0x10050208]
movss dword [0x38392800], xmm0
cmp byte [0x10100bae], 0
je 0x1003df0f
push 0x20
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1003df0f
mov eax, dword [edi + 0x10]
mov dword [eax + 0xb8], 0x44898000
jmp 0x1003df1c
mov eax, dword [edi + 0x10]
mov dword [eax + 0xb8], 0xc4898000
cmp byte [0x10100bad], 0
je 0x1003df3a
cmp dword [0x383d8b74], 1
jne 0x1003df4d
mov dword [0x383d8b74], 0xfffffffb
jmp 0x1003df4d
cmp dword [0x383d8b74], 0xfffffffb
jne 0x1003df4d
mov dword [0x383d8b74], 1
cmp byte [0x10100bac], 0
je 0x1003e1cd
mov dword [esp + 0x24], 0xaea3a58b
xor ecx, ecx
mov dword [esp + 0x28], 0xb788b9a2
mov dword [esp + 0x2c], 0xb7aab7fe
mov word [esp + 0x30], pe_nt_image_headers32
nop dword [eax + eax]
lea eax, [ecx - 0x38]
xor byte [esp + ecx + 0x24], al
inc ecx
cmp ecx, 0xc
jb 0x1003df80
lea eax, [esp + 0x24]
mov byte [esp + 0x31], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, dword [eax + 0x6bf34]
test esi, esi
je 0x1003e1cd
movss xmm0, dword [edi + 0x54]
movss dword [esp + 0x18], xmm0
movss xmm0, dword [edi + 0x58]
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
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 0x1003e031
cmp byte [esp + 0x14], 0
jne 0x1003e027
cmp byte [esp + 0x10], 0
jne 0x1003e0d1
test al, al
jmp 0x1003e14f
movss xmm1, dword [0x10050290]
jmp 0x1003e039
movss xmm1, dword [0x1005016c]
movss xmm0, dword [esp + 8]
mulss xmm1, dword [0x100501ac]
cvtps2pd xmm0, xmm0
movss dword [esp + 0xc], xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0xc]
addss xmm0, dword [esi + 0xc8]
movss dword [esi + 0xc8], xmm0
movss xmm0, dword [esp + 0x18]
xorps xmm0, xmmword [0x10050570]
cvtss2sd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
mulss xmm1, dword [esp + 0xc]
addss xmm1, dword [esi + 0xcc]
movss dword [esi + 0xcc], xmm1
movss xmm1, dword [esp + 8]
cvtps2pd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
cmp byte [esp + 0x10], 0
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0xc]
addss xmm0, dword [esi + 0xd0]
movss dword [esi + 0xd0], xmm0
je 0x1003e14a
movss xmm0, dword [esp + 8]
subss xmm0, dword [0x10050184]
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
cvtsd2ss xmm1, xmm0
xorps xmm0, xmm0
mulss xmm1, dword [0x100501ac]
addss xmm1, dword [esi + 0xc8]
movss dword [esi + 0xc8], xmm1
movss xmm1, dword [esi + 0xcc]
addss xmm1, xmm0
movsd xmm0, qword [esp + 0x18]
movss dword [esi + 0xcc], xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [0x100501ac]
addss xmm0, dword [esi + 0xd0]
movss dword [esi + 0xd0], xmm0
cmp byte [esp + 0x20], 0
je 0x1003e1cd
movss xmm0, dword [esp + 8]
addss xmm0, dword [0x10050184]
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
cvtsd2ss xmm1, xmm0
xorps xmm0, xmm0
mulss xmm1, dword [0x100501ac]
addss xmm1, dword [esi + 0xc8]
movss dword [esi + 0xc8], xmm1
movss xmm1, dword [esi + 0xcc]
addss xmm1, xmm0
movss dword [esi + 0xcc], xmm1
movss xmm1, dword [esp + 8]
cvtps2pd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [0x100501ac]
addss xmm0, dword [esi + 0xd0]
movss dword [esi + 0xd0], xmm0
mov ecx, dword [esp + 0x34]
pop edi
pop esi
xor ecx, esp
call fcn.10047730
mov esp, ebp
pop ebp
ret