Function at 0x1015f0f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x94
mov eax, dword [0x102230c0]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
push esi
push edi
push str.CreateInterface
push ecx
mov edi, edx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1015f136
push 0
push edi
call eax
add esp, 8
test eax, eax
jne 0x1015f311
lea eax, [esp + 0x38]
push eax
call fcn.1015f3a0
mov dword [esp + 0x18], eax
cmp byte [eax + 0xa], 0
je 0x1015f17e
xor ecx, ecx
nop dword [eax]
lea esi, [ecx + eax]
mov eax, 0x1f7047dd
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
mov dl, cl
shr eax, 5
inc ecx
movsx eax, al
imul eax, eax, 0x39
sub dl, al
mov eax, dword [esp + 0x18]
add dl, 0x32
xor byte [esi], dl
cmp ecx, 0xb
jl 0x1015f150
push edi
lea ecx, [esp + 0x78]
call fcn.10020a10
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x8c]
push eax
call fcn.1015f380
mov edi, eax
cmp byte [edi + 0xf], 0
je 0x1015f326
xor ebx, ebx
cmp dword [0x10241d90], 2
jl 0x1015f2e4
movaps xmm0, xmmword [0x102158e0]
mov edx, 4
movaps xmm4, xmmword [0x10215760]
xor esi, esi
movaps xmm3, xmmword [0x10215c00]
mov ecx, edi
movaps xmm5, xmmword [0x10215810]
sub edx, edi
movaps xmmword [esp + 0x20], xmm0
mov ebx, dword [esp + 0x20]
movd xmm0, esi
lea eax, [edx + ecx]
pshufd xmm2, xmm0, 0
lea ecx, [ecx + 8]
paddd xmm2, xmm4
add esi, 8
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x102158a0]
packuswb xmm1, xmm1
movd xmm0, ebx
paddb xmm1, xmm0
movd xmm0, dword [ecx - 8]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ecx - 8], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x102158a0]
packuswb xmm1, xmm1
movd xmm0, ebx
paddb xmm1, xmm0
movd xmm0, dword [ecx - 4]
xorps xmm1, xmm0
movd dword [ecx - 4], xmm1
cmp esi, 0x10
jl 0x1015f1e4
jmp 0x1015f326
mov eax, 0x8fb823ef
lea esi, [ebx + edi]
imul ebx
mov cl, bl
add edx, ebx
inc ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx eax, al
imul eax, eax, 0x39
sub cl, al
add cl, 0x32
xor byte [esi], cl
cmp ebx, 0x10
jge 0x1015f326
jmp 0x1015f2e4
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.101b5daa
mov esp, ebp
pop ebp
ret
push edi
lea ecx, [esp + 0x60]
call fcn.10020a10
mov ecx, eax
call fcn.10006570
push dword [esp + 0x1c]
mov edx, eax
lea ecx, [esp + 0x48]
call fcn.100245f0
mov ecx, eax
call fcn.10006570
push 0x10
push dword [esp + 0x1c]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [esp + 0x44]
call fcn.10002110
lea ecx, [esp + 0x5c]
call fcn.10002110
lea ecx, [esp + 0x74]
call fcn.10002110
push 1
call fcn.101c6e91
int3