Function at 0x18008ae70
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x80
lea r11d, [r8 + 0x210]
mov eax, r8d
mov dword [rsp + 0x6c], r11d
mov r10, rdx
mov rdi, rcx
cmp r8d, r11d
jae 0x18008b21a
mov edx, dword [reloc.SHLWAPI.dll_ParseURLA]
mov r12d, dword [rsp + 0xd0]
nop dword [rax]
sub eax, 0x4b
je 0x18008b1f3
sub eax, 0x6d
je 0x18008afe5
sub eax, 0x17
je 0x18008aeee
cmp eax, 0x84
jne 0x18008b1fe
mov eax, dword [rsp + 0xd8]
jmp 0x18008b221
test rdi, rdi
je 0x18008b23c
movsxd r8, dword [r10]
test r8d, r8d
jle 0x18008b23c
xor ecx, ecx
cmp r8d, 8
jb 0x18008afa0
cmp edx, 2
jl 0x18008afa0
movd xmm2, dword [rsp + 0xd8]
mov edx, r8d
pshufd xmm2, xmm2, 0
movdqa xmm3, xmm2
and edx, 0x80000007
jge 0x18008af3c
dec edx
or edx, 0xfffffff8
inc edx
mov eax, r8d
sub eax, edx
movsxd rdx, eax
nop dword [rax]
nop dword [rax + rax]
movdqu xmm0, xmmword [rdi + rcx*4]
pabsd xmm1, xmm0
movdqu xmm0, xmmword [rdi + rcx*4 + 0x10]
add rcx, 8
pmaxud xmm2, xmm1
pabsd xmm1, xmm0
pmaxud xmm3, xmm1
cmp rcx, rdx
jl 0x18008af50
pmaxud xmm2, xmm3
movdqa xmm0, xmm2
psrldq xmm0, 8
pmaxud xmm2, xmm0
movdqa xmm0, xmm2
psrldq xmm0, 4
pmaxud xmm2, xmm0
movd r9d, xmm2
jmp 0x18008afa8
mov r9d, dword [rsp + 0xd8]
cmp rcx, r8
jge 0x18008afc7
nop dword [rax]
mov eax, dword [rdi + rcx*4]
cdq
xor eax, edx
sub eax, edx
cmp eax, r9d
cmova r9d, eax
inc rcx
cmp rcx, r8
jl 0x18008afb0
mov edx, dword [reloc.SHLWAPI.dll_ParseURLA]
mov eax, 0x7fffffff
cmp r9d, eax
cmovb eax, r9d
mov dword [rsp + 0xd8], eax
jmp 0x18008b1fe
xor ecx, ecx
mov dword [rsp + 0x60], ecx
cmp dword [rdi + 0xd928], ecx
jle 0x18008b1fe
movsxd r8, dword [rsp + 0x68]
xor edx, edx
xor r9d, r9d
mov qword [rsp + 0x70], r8
mov dword [rsp + 0x64], r9d
mov qword [rsp + 0x78], rdx
mov esi, 0xe3
nop word [rax + rax]
cmp esi, 0xe3
je 0x18008b197
cmp esi, 0x171
jne 0x18008b1b0
add ecx, dword [rdi + 0xd69c]
mov edx, dword [rdi + 0xd928]
cmp ecx, edx
jl 0x18008b04e
imul eax, edx, 0xffffffbf
add r12d, eax
lea rcx, [r8*4 + 0x4b50]
movsxd r15, r12d
lea rax, [r8*4 + 0x4a4c]
mov rbp, r10
sub rbp, rax
lea rbx, [rcx + rdi]
mov r14, r10
sub rbp, rdi
sub r15, r8
sub r14, rcx
sub r14, rdi
mov r13d, 0x41
movss xmm0, dword [rbx + 0x2080]
lea rax, [rsp + 0x48]
movss xmm1, dword [rbx]
lea r9, [rsp + 0x50]
movss dword [rsp + 0x40], xmm0
lea r8, [rsp + 0x58]
movss xmm0, dword [rbx + r15*4 - 0x2080]
lea rcx, [rsp + 0x40]
movss dword [rsp + 0x48], xmm1
mov edx, 0x6c
movss xmm1, dword [rbx + r15*4 - 0x4100]
movss dword [rsp + 0x58], xmm0
movss dword [rsp + 0x50], xmm1
mov qword [rsp + 0x20], rax
call fcn.18006a990
mov qword [rsp + 0x30], 0
lea rdx, [rsp + 0x50]
mov r9d, 0x4d
lea rcx, [rsp + 0x48]
xor r8d, r8d
movd xmm0, eax
lea rax, [rsp + 0x40]
addss xmm0, dword [r14 + rbx]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
movss dword [r14 + rbx], xmm0
movss xmm0, dword [rbx + 0x2080]
movss xmm1, dword [rbx]
movss dword [rsp + 0x58], xmm0
movss xmm0, dword [rbx + r15*4 - 0x2080]
movss dword [rsp + 0x40], xmm1
movss xmm1, dword [rbx + r15*4 - 0x4100]
movss dword [rsp + 0x50], xmm0
movss dword [rsp + 0x48], xmm1
call fcn.180076fc0
mov dword [rsp + 0x40], eax
movss xmm0, dword [rsp + 0x40]
addss xmm0, dword [rbx + rbp]
movss dword [rbx + rbp], xmm0
add rbx, 4
sub r13, 1
jne 0x18008b080
mov r8, qword [rsp + 0x70]
mov ecx, dword [rsp + 0x60]
mov rdx, qword [rsp + 0x78]
mov r9d, dword [rsp + 0x64]
mov r10, qword [rsp + 0xc8]
jmp 0x18008b1b0
mov eax, dword [rdi + 0xd69c]
mov r8, rdx
add eax, ecx
mov dword [rsp + 0x68], r9d
imul r12d, eax, 0x41
mov qword [rsp + 0x70], rdx
add esi, 0x8e
cmp esi, 0x1ff
jb 0x18008b020
inc ecx
add r9d, 0x41
add rdx, 0x41
mov dword [rsp + 0x60], ecx
mov dword [rsp + 0x64], r9d
mov qword [rsp + 0x78], rdx
cmp ecx, dword [rdi + 0xd928]
jl 0x18008b010
mov r11d, dword [rsp + 0x6c]
mov edx, dword [reloc.SHLWAPI.dll_ParseURLA]
jmp 0x18008b1fe
mov dword [rsp + 0xd8], 0
mov eax, dword [rsp + 0xd0]
add eax, 0x84
mov dword [rsp + 0xd0], eax
cmp eax, r11d
jb 0x18008aec0
mov eax, dword [rsp + 0xd0]
mov rbx, qword [rsp + 0xc0]
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov eax, 0xffffffff
jmp 0x18008b221