Function at 0x100d1830
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102c9748
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x88
mov eax, dword [0x1066bbc0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 4], 0
call fcn.1018cee0
mov edi, eax
xorps xmm0, xmm0
test edi, edi
jne 0x100d18fc
push 4
movups xmmword [esi], xmm0
push str.null
mov ecx, esi
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
call fcn.10053700
mov ecx, dword [ebx + 0x1c]
cmp ecx, 0xf
jbe 0x100d18dc
mov edx, dword [ebx + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100d18d2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d1cb7
push ecx
push edx
call fcn.102c1b57
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.102c15f2
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov byte [ebp - 4], 1
xor ecx, ecx
cmp dword [0x106d5adc], 2
movups xmm0, xmmword [0x106503b4]
mov al, byte [0x106503e4]
mov byte [ebp - 0x68], al
movups xmmword [ebp - 0x98], xmm0
movups xmm0, xmmword [0x106503c4]
movups xmmword [ebp - 0x88], xmm0
movups xmm0, xmmword [0x106503d4]
movups xmmword [ebp - 0x78], xmm0
jl 0x100d1a90
movaps xmm0, xmmword [0x10654620]
lea esi, [ebp - 0x94]
movaps xmm4, xmmword [0x106544f0]
movaps xmm3, xmmword [0x10654a40]
movaps xmm5, xmmword [0x10654530]
movaps xmmword [ebp - 0x60], xmm0
mov edx, dword [ebp - 0x60]
nop dword [eax]
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 [0x106545f0]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [ebp + ecx - 0x98]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + ecx - 0x98], 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 [0x106545f0]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [ecx + esi]
xorps xmm1, xmm0
movd dword [ecx + esi], xmm1
add ecx, 8
cmp ecx, 0x30
jl 0x100d1980
mov esi, dword [ebp - 0x30]
cmp ecx, 0x31
jge 0x100d1abd
nop dword [eax + eax]
mov eax, 0xa0a0a0a1
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, 0x33
sub dl, al
add dl, 0x30
xor byte [ebp + ecx - 0x98], dl
inc ecx
cmp ecx, 0x31
jl 0x100d1a90
xorps xmm0, xmm0
mov dword [ebp - 0x3c], 0
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x38], 0
movups xmmword [ebp - 0x4c], xmm0
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100d1ae0
sub ecx, edx
lea eax, [ebp - 0x98]
push ecx
push eax
lea ecx, [ebp - 0x4c]
call fcn.10053700
cmp dword [ebp - 0x38], 0xf
lea eax, [ebp - 0x4c]
cmova eax, dword [ebp - 0x4c]
push eax
push 0x2712
push edi
call fcn.10190ca0
mov ecx, dword [ebp - 0x38]
add esp, 0xc
cmp ecx, 0xf
jbe 0x100d1b49
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100d1b3f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100d1b3f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.102c1b57
add esp, 8
mov ax, word [0x1065077c]
movq xmm0, qword [str.BPW_X_RA9]
movq qword [ebp - 0x5c], xmm0
mov word [ebp - 0x54], ax
test ah, ah
je 0x100d1b97
xor edx, edx
mov dword [ebp - 0x30], edx
nop dword [eax]
mov eax, 0xa0a0a0a1
mul edx
shr edx, 5
movsx eax, dl
mov edx, dword [ebp - 0x30]
mov cl, dl
imul eax, eax, 0x33
sub cl, al
add cl, 0x30
xor byte [ebp + edx - 0x5c], cl
inc edx
mov dword [ebp - 0x30], edx
cmp edx, 0xa
jl 0x100d1b70
xorps xmm0, xmm0
mov dword [ebp - 0x3c], 0
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x38], 0
movups xmmword [ebp - 0x4c], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100d1bb2
sub ecx, edx
lea eax, [ebp - 0x5c]
push ecx
push eax
lea ecx, [ebp - 0x4c]
call fcn.10053700
cmp dword [ebp - 0x38], 0xf
lea eax, [ebp - 0x4c]
cmova eax, dword [ebp - 0x4c]
push eax
push 0x2722
push edi
call fcn.10190ca0
mov ecx, dword [ebp - 0x38]
add esp, 0xc
cmp ecx, 0xf
jbe 0x100d1c18
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100d1c0e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100d1c0e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.102c1b57
add esp, 8
cmp dword [ebx + 0x1c], 0xf
lea eax, [ebx + 8]
cmova eax, dword [ebx + 8]
push eax
push 0x271f
push edi
call fcn.10190ca0
push 0x100c5d20
push 0x4e2b
push edi
call fcn.10190ca0
lea eax, [ebp - 0x2c]
push eax
push 0x2711
push edi
call fcn.10190ca0
push edi
call fcn.1018cf80
add esp, 0x28
test eax, eax
jne 0x100d1cbd
mov ecx, dword [ebx + 0x1c]
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
movups xmm0, xmmword [ebp - 0x2c]
mov byte [ebp - 0x2c], al
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x1c]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0xf
cmp ecx, 0xf
jbe 0x100d18dc
mov edx, dword [ebx + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100d18d2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100d18d2
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
sub esp, 0x18
mov esi, esp
push eax
call fcn.1018d940
add esp, 4
mov ecx, esi
push eax
call fcn.10052420
call fcn.100c4740
int3