Function at 0x10152aa4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x48
mov eax, dword [0x10081240]
xor eax, esp
mov dword [esp + 0x44], eax
mov ecx, dword [0x100841e4]
xor edx, edx
push esi
push edi
push dword [0x10084108]
call dword [0x100848b8]
mov dword [0x10084120], eax
test eax, eax
je 0x10152e8e
cmp dword [0x1008409c], 0
jne 0x10152af3
mov eax, dword [0x100841e0]
mov eax, dword [eax]
mov eax, dword [eax + 0x3c]
mov dword [0x1008409c], eax
push dword [0x10084108]
mov eax, dword [0x100848c8]
xor edx, edx
push dword [0x1008411c]
mov ecx, dword [0x100841e4]
call eax
push dword [0x10084108]
mov ecx, dword [0x100841e4]
xor edx, edx
push dword [0x1008411c]
mov dword [0x10084118], eax
mov eax, dword [0x100848b4]
call eax
movups xmm0, xmmword [str.bfvuxwghjerrim]
mov esi, dword [0x1008409c]
xor ecx, ecx
cmp dword [0x10083f18], 2
mov dword [0x1008410c], eax
mov eax, dword [0x1007b390]
mov dword [esp + 0x28], eax
mov ax, word [0x1007b394]
movups xmmword [esp + 0x10], xmm0
mov word [esp + 0x2c], ax
movq xmm0, qword [0x1007b388]
mov al, byte [0x1007b396]
movq qword [esp + 0x20], xmm0
mov byte [esp + 0x2e], al
jl 0x10152ca8
movaps xmm0, xmmword [str.111111111111111122222222222222225555555555555555]
movaps xmm4, xmmword [0x1007be10]
movaps xmm3, xmmword [0x1007bef0]
movaps xmm5, xmmword [0x1007be60]
movaps xmmword [esp + 0x30], xmm0
mov edx, dword [esp + 0x30]
movd xmm0, ecx
lea eax, [ecx + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
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 [0x1007be70]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [esp + ecx + 0x10]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [esp + ecx + 0x10], 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 [0x1007be70]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [esp + ecx + 0x14]
xorps xmm1, xmm0
movd dword [esp + ecx + 0x14], xmm1
add ecx, 8
cmp ecx, 0x18
jl 0x10152ba4
cmp ecx, 0x1f
jge 0x10152cd2
mov eax, 0x8fb823ef
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dl, cl
movsx eax, al
imul eax, eax, 0x39
sub dl, al
add dl, 0x31
xor byte [esp + ecx + 0x10], dl
inc ecx
cmp ecx, 0x1f
jl 0x10152ca8
mov ecx, dword [0x100841e0]
lea eax, [esp + 0x10]
push eax
push dword [0x10084108]
xor edx, edx
push dword [0x1008411c]
call esi
mov ecx, dword [0x10084118]
mov edx, eax
mov dword [0x10084114], edx
test ecx, ecx
je 0x10152e6d
mov eax, dword [0x1008410c]
test eax, eax
je 0x10152e6d
test edx, edx
je 0x10152e6d
cmp dword [0x100849ac], 0
jne 0x10152d2b
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [0x100849ac], eax
mov esi, dword [0x100848c0]
test esi, esi
jne 0x10152d40
mov eax, dword [ecx]
mov esi, dword [eax + 8]
mov dword [0x100848c0], esi
cmp dword [0x100840b8], 0
jne 0x10152d53
mov eax, dword [edx]
mov eax, dword [eax + 0x18]
mov dword [0x100840b8], eax
cmp dword [0x100840fc], 0
jne 0x10152d66
mov eax, dword [edx]
mov eax, dword [eax + 0x74]
mov dword [0x100840fc], eax
cmp dword [0x10083fd0], 0
jne 0x10152d79
mov eax, dword [edx]
mov eax, dword [eax + 0x4c]
mov dword [0x10083fd0], eax
cmp dword [0x10084030], 0
jne 0x10152d8c
mov eax, dword [edx]
mov eax, dword [eax + 0x1c]
mov dword [0x10084030], eax
push dword [0x10084204]
xor edx, edx
call esi
test al, al
jne 0x10152eaf
mov eax, dword [0x100848c4]
xor edx, edx
mov ecx, dword [0x10084120]
push 1
push dword [0x10084204]
call eax
cmp eax, dword [0x10084204]
je 0x10152e57
mov eax, dword [0x100849ac]
xor edx, edx
mov ecx, dword [0x1008410c]
push 1
push 0x10084204
call eax
mov esi, dword [0x100848bc]
lea ecx, [esp + 0x4b]
mov edi, eax
mov eax, edx
push ecx
mov ecx, dword [0x10084120]
xor edx, edx
push eax
push edi
mov dword [esp + 0x18], eax
call esi
test al, al
jne 0x10152e29
mov esi, dword [esp + 0xc]
nop word [eax + eax]
push 0xc8
call dword [0x1007201c]
mov eax, dword [0x100848bc]
lea ecx, [esp + 0x4b]
push ecx
mov ecx, dword [0x10084120]
xor edx, edx
push esi
push edi
call eax
test al, al
je 0x10152e04
cmp byte [esp + 0x4b], 0
jne 0x10152ed0
mov eax, dword [0x100848c4]
xor edx, edx
mov ecx, dword [0x10084120]
push 1
push dword [0x10084204]
call eax
cmp eax, dword [0x10084204]
jne 0x10152ef1
call fcn.10163d84
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
xor ecx, esp
call fcn.101927e4
mov esp, ebp
pop ebp
ret
push dword [0x10084144]
call fcn.101533f4
add esp, 4
mov byte [esp + 0xb], al
lea eax, [esp + 0xb]
push 0x1007f540
push eax
call fcn.10193814
push dword [0x10084144]
call fcn.101533f4
add esp, 4
mov byte [esp + 0xb], al
lea eax, [esp + 0xb]
push 0x1007f540
push eax
call fcn.10193814
push dword [0x1008413c]
call fcn.101533f4
add esp, 4
mov byte [esp + 0xb], al
lea eax, [esp + 0xb]
push 0x1007f540
push eax
call fcn.10193814
push dword [0x10084140]
call fcn.101533f4
add esp, 4
mov byte [esp + 0xb], al
lea eax, [esp + 0xb]
push 0x1007f540
push eax
call fcn.10193814
push dword [0x10084140]
call fcn.101533f4
add esp, 4
mov byte [esp + 0xb], al
lea eax, [esp + 0xb]
push 0x1007f540
push eax
call fcn.10193814
int3