Function at 0x18010f150
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x38]
sub rsp, 0x158
mov rax, qword [0x18017d2b8]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov esi, dword [rbp + 0xa8]
mov r12, rdx
mov r15, qword [rbp + 0xa0]
mov qword [rbp - 0x60], r9
mov qword [rbp - 0x68], r8
lea eax, [rsi + 0xd]
mov qword [rbp - 0x58], rcx
mov dword [rbp - 0x78], eax
mov edi, dword [rbp - 0x78]
cmp esi, eax
jae case.0x18010f1d2.187
mov r13d, dword [rbp - 0x78]
mov ebx, dword [rbp - 0x78]
mov r14, qword [rbp - 0x58]
xor edx, edx
lea eax, [rsi - 0xb4]
lea r8, [0x180000000]
cmp eax, 0x1b
ja case.0x18010f1d2.188
mov ecx, dword [r8 + rax*4 + 0x10f578]
add rcx, r8
jmp rcx
dec r13d
mov edi, r13d
jmp case.0x18010f1d2.188
movzx edx, byte [r12]
xor cl, cl
mov byte [r15], 0
nop word [rax + rax]
movzx eax, dl
shr al, cl
inc cl
and al, 1
xor byte [r15], al
cmp cl, 8
jle 0x18010f1f0
jmp case.0x18010f1d2.188
mov r13d, edx
jmp case.0x18010f1d2.188
mov eax, dword [r15]
lea r9, [rbp + 0x10]
mov ebx, edx
mov dword [rbp - 0x80], eax
lea rdx, [0x18017d5f0]
mov ecx, SHRegGetIntW
lea r8, [rbp - 0x80]
call fcn.180021950
lea r14, [rbp + 0x10]
mov esi, 0xb5
jmp case.0x18010f1d2.188
movzx eax, byte [r14]
test al, al
je 0x18010f263
movzx ecx, al
movzx eax, cl
cmp cl, 0x20
jne 0x18010f25f
movzx eax, byte [r14 + 1]
inc r14
movzx ecx, al
test al, al
jne 0x18010f248
test al, al
jne 0x18010f272
mov esi, 0xb9
mov byte [r12], 0
jmp case.0x18010f1d2.188
cmp al, 0x4e
je 0x18010f3d1
cmp al, 0x50
je 0x18010f2b8
cmp al, 0x54
je 0x18010f323
cmp al, 0x56
jne case.0x18010f1d2.188
mov eax, dword [r15]
lea r8, [rbp - 0x80]
mov rdx, r12
mov dword [rbp - 0x80], eax
mov ecx, 0x102
call fcn.18007ae90
mov rbx, rax
mov esi, 0xb7
movsxd rax, ebx
add r12, rax
jmp case.0x18010f1d2.188
mov esi, 0xb8
nop dword [rax]
mov eax, esi
sub eax, 0xb7
je 0x18010f379
cmp eax, 1
jne 0x18010f319
mov eax, dword [r15]
lea r8, [rbp - 0x80]
mov r9, r12
mov dword [rbp - 0x80], eax
lea rdx, [0x18017d560]
mov ecx, SHRegGetIntW
call fcn.180021950
movsxd rcx, eax
mov rbx, 0xffffffffffffffff
mov rax, qword [0x18017d568]
add rcx, rcx
mov rdx, qword [rax + rcx*8 + 8]
nop dword [rax]
inc rbx
cmp byte [rdx + rbx], 0
jne 0x18010f310
dec esi
cmp esi, 0xb6
ja 0x18010f2c0
mov eax, dword [r15]
lea r8, [rbp - 0x80]
dec r12
mov dword [rbp - 0x80], eax
mov r9, r12
lea rdx, [0x18017d590]
mov ecx, SHRegGetIntW
call fcn.180021950
movsxd rcx, eax
mov rbx, 0xffffffffffffffff
mov rax, qword [0x18017d598]
add rcx, rcx
mov rdx, qword [rax + rcx*8 + 8]
nop dword [rax]
inc rbx
cmp byte [rdx + rbx], 0
jne 0x18010f360
movsxd rax, ebx
mov esi, 0xb7
add r12, rax
jmp case.0x18010f1d2.188
mov eax, dword [str._the]
lea r8, [rbp - 0x80]
movsxd rcx, ebx
xor edx, edx
mov qword [rsp + 0x28], rdx
add ebx, 5
mov qword [rsp + 0x20], rdx
xor r9d, r9d
mov edx, reloc.SHLWAPI.dll_SHUnicodeToAnsi
mov dword [rcx + r12], eax
movzx eax, word [0x1801591b0]
mov word [rcx + r12 + 4], ax
mov eax, dword [r15]
movsxd rcx, ebx
add rcx, r12
mov dword [rbp - 0x80], eax
call fcn.18007b650
add ebx, eax
mov esi, 0xb7
movsxd rax, ebx
add r12, rax
jmp case.0x18010f1d2.188
mov eax, dword [r15]
lea r8, [rbp - 0x80]
mov qword [rsp + 0x28], rdx
xor r9d, r9d
mov qword [rsp + 0x20], rdx
mov rcx, r12
mov edx, reloc.SHLWAPI.dll_SHUnicodeToAnsi
mov dword [rbp - 0x80], eax
call fcn.18007b650
mov ebx, eax
movsxd rax, ebx
mov esi, 0xb7
add r12, rax
jmp case.0x18010f1d2.188
movsx eax, byte [r15]
cmp al, 1
ja 0x18010f56f
mov edi, eax
jmp case.0x18010f1d2.188
movzx eax, byte [r14 + 1]
inc r14
add r13d, ebx
test al, 0xdf
je case.0x18010f1d2.188
inc r12
inc r13d
mov byte [r12], al
jmp case.0x18010f1d2.188
movsd xmm0, qword [r15]
lea rax, [rbp - 0x80]
movsd xmm1, qword [r12]
lea r8, [rbp - 0x40]
mov qword [rsp + 0x90], rdx
xor r9d, r9d
mov dword [rsp + 0x88], 0x2a
xor ecx, ecx
mov qword [rsp + 0x80], rdx
mov qword [rsp + 0x78], rdx
mov qword [rsp + 0x70], rdx
mov qword [rsp + 0x68], rdx
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rdx
lea rdx, [rbp - 0x70]
movsd qword [rbp - 0x80], xmm0
movsd qword [rbp - 0x70], xmm1
call fcn.1800c41e0
mov rax, qword [rbp - 0x68]
xor edx, edx
mov r9, qword [rbp - 0x60]
xor r8d, r8d
mov qword [rsp + 0x38], rdx
xor ecx, ecx
mov dword [rsp + 0x30], 0x28
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
lea rdx, [rbp - 0x40]
call fcn.1800da520
mov rax, qword [rbp - 0x68]
lea r9, [rbp - 0x80]
lea r8, [rbp - 0x50]
mov edx, 0xc0
lea rcx, [rbp - 0x48]
movsd xmm0, qword [rax]
mov rax, qword [rbp - 0x60]
movsd qword [rbp - 0x48], xmm0
movsd xmm0, qword [r15]
movsd qword [rbp - 0x80], xmm0
movsd xmm1, qword [rax]
lea rax, [rbp - 0x70]
movsd qword [rbp - 0x70], xmm1
movsd xmm1, qword [r12]
movsd qword [rbp - 0x50], xmm1
mov qword [rsp + 0x20], rax
call fcn.1800d3940
mov rcx, qword [rbp - 0x58]
mov qword [rcx], rax
inc esi
cmp esi, dword [rbp - 0x78]
jb 0x18010f1af
mov eax, edi
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.180110960
add rsp, 0x158
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov eax, 0xfffffff1
jmp 0x18010f54f