Function at 0x100dd530
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10147333
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x140
push esi
push edi
push str.V_UCS2ToUTF8
push str.vstdlib.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
movaps xmm0, xmmword [0x1017fd90]
movaps xmm1, xmmword [0x1017f9b0]
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x14], eax
xor eax, eax
movaps xmm0, xmmword [0x1017fb00]
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x24], 0x84bcc1a4
nop dword [eax]
nop dword [eax + eax]
movups xmm0, xmmword [ebp + eax - 0x44]
xorps xmm0, xmm1
movups xmmword [ebp + eax - 0x44], xmm0
add eax, 0x10
cmp eax, 0x20
jb 0x100dd5b0
cmp eax, 0x24
jae 0x100dd5db
nop word [eax + eax]
xor byte [ebp + eax - 0x44], 0x84
inc eax
cmp eax, 0x24
jb 0x100dd5d0
mov dword [ebp - 0x1f], 0xe1ede8e7
xor eax, eax
mov dword [ebp - 0x1b], 0xe0aaf0ea
mov word [ebp - 0x17], 0xe8e8
mov byte [ebp - 0x15], 0x84
xor byte [ebp + eax - 0x1f], 0x84
inc eax
cmp eax, 0xb
jb 0x100dd5f5
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x1f]
call fcn.100c53f0
mov esi, eax
mov ecx, dword [esi + 1]
add ecx, 5
add ecx, esi
call ecx
mov ecx, dword [esi + 0xc]
add eax, 0xfffffff8
mov dword [ebp - 0x48], 0
add eax, dword [ecx + esi + 0x1a]
mov dword [ebp - 0x4c], eax
cmp dword [eax + 0x18], 0
jl 0x100dd7c9
xor edi, edi
nop word [eax + eax]
mov eax, dword [eax]
mov esi, dword [edi + eax + 0x14]
cmp dword [esi], 0x2329
je 0x100dd7aa
mov ecx, dword [0x101edf30]
mov edx, dword [esi + 0x24]
inc edx
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
push 0x100
lea ecx, [ebp - 0x150]
push ecx
push eax
call dword [ebp - 0x14]
mov edx, dword [esi]
lea eax, [ebp - 0x150]
add esp, 0xc
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100dd682
sub eax, esi
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x28], 0
xorps xmm0, xmm0
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x38]
push eax
lea eax, [ebp - 0x150]
movups xmmword [ebp - 0x38], xmm0
push eax
cmp edx, 0x2710
jge 0x100dd713
call fcn.10003450
mov dword [ebp - 4], 0
mov ecx, dword [0x101e880c]
cmp ecx, dword [0x101e8810]
je 0x100dd707
movups xmm0, xmmword [ebp - 0x38]
mov eax, dword [ebp - 0x3c]
mov dword [ecx], eax
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x18], 0
movups xmmword [ecx + 4], xmm0
mov byte [ebp - 0x38], 0
movq xmm0, qword [ebp - 0x28]
movq qword [ecx + 0x14], xmm0
mov ecx, 0xf
add dword [0x101e880c], 0x1c
jmp 0x100dd776
lea eax, [ebp - 0x3c]
push eax
push ecx
mov ecx, 0x101e8808
jmp 0x100dd76e
call fcn.10003450
mov dword [ebp - 4], 1
mov ecx, dword [0x101e87e8]
cmp ecx, dword [0x101e87ec]
je 0x100dd764
movups xmm0, xmmword [ebp - 0x38]
mov eax, dword [ebp - 0x3c]
mov dword [ecx], eax
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x18], 0
movups xmmword [ecx + 4], xmm0
mov byte [ebp - 0x38], 0
movq xmm0, qword [ebp - 0x28]
movq qword [ecx + 0x14], xmm0
mov ecx, 0xf
add dword [0x101e87e8], 0x1c
jmp 0x100dd776
lea eax, [ebp - 0x3c]
push eax
push ecx
mov ecx, 0x101e87e4
call fcn.10011fd0
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
cmp ecx, 0xf
jbe 0x100dd7aa
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100dd7a0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100dd7c3
push ecx
push edx
call fcn.1006cb2f
add esp, 8
mov eax, dword [ebp - 0x48]
add edi, 0x18
mov ecx, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x48], eax
cmp eax, dword [ecx + 0x18]
jg 0x100dd7c9
mov eax, ecx
jmp 0x100dd640
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov edx, dword [0x101e880c]
mov eax, edx
mov ecx, dword [0x101e8808]
sub eax, ecx
sar eax, 2
imul eax, eax, 0xb6db6db7
mov byte [ebp - 0x14], 0
push dword [ebp - 0x14]
push eax
call fcn.10012440
mov edx, dword [0x101e87e8]
mov eax, edx
mov ecx, dword [0x101e87e4]
sub eax, ecx
sar eax, 2
imul eax, eax, 0xb6db6db7
mov byte [ebp - 0x14], 0
push dword [ebp - 0x14]
push eax
call fcn.10012440
add esp, 0x10
call fcn.100dbb50
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret