Function at 0x1400d5ce0
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
push r13
mov r13, rdx
mov edx, 0x298
push r12
push rdi
push rsi
mov rsi, r8
push rbx
mov rbx, rcx
mov ecx, 1
sub rsp, 0x30
and rsp, 0xfffffffffffffff0
sub rsp, 0x30
movaps xmmword [rsp + 0x30], xmm6
movq xmm6, qword [rbp + 0x48]
movaps xmmword [rsp + 0x40], xmm7
movq xmm7, qword [rbp + 0x38]
movaps xmmword [rsp + 0x50], xmm8
movq xmm8, r9
movhps xmm6, qword [rbp + 0x50]
movhps xmm8, qword [rbp + 0x30]
movhps xmm7, qword [rbp + 0x40]
call sub.msvcrt.dll_calloc
mov r12, rax
test rax, rax
je 0x1400d6349
mov r8d, 0x1ff
mov rdx, r13
mov rcx, rax
call sub.msvcrt.dll_strncpy
mov rax, qword [rbp + 0x58]
xor edx, edx
lea rcx, [r12 + 0x210]
mov qword [r12 + 0x258], rsi
mov qword [r12 + 0x248], rax
movups xmmword [r12 + 0x218], xmm8
movups xmmword [r12 + 0x228], xmm7
movups xmmword [r12 + 0x238], xmm6
call fcn.1400308e0
mov rcx, r12
call sub.msvcrt.dll_strlen
mov r8, r12
mov r10, rax
cmp eax, 0xb
jbe 0x1400d6329
mov r9d, eax
mov esi, 0x9e3779b9
mov r11d, 0x9e3779b9
mov ecx, 0xfeedbeef
movzx edx, byte [r8 + 5]
movzx eax, byte [r8 + 6]
shl edx, 8
shl eax, 0x10
add edx, eax
movzx eax, byte [r8 + 4]
add edx, eax
movzx eax, byte [r8 + 7]
shl eax, 0x18
add edx, eax
movzx eax, byte [r8 + 9]
add edx, esi
movzx esi, byte [r8 + 0xa]
shl eax, 8
shl esi, 0x10
add eax, esi
movzx esi, byte [r8 + 8]
add eax, esi
movzx esi, byte [r8 + 0xb]
shl esi, 0x18
add eax, esi
movzx esi, byte [r8 + 2]
add eax, ecx
movzx ecx, byte [r8 + 1]
shl esi, 0x10
shl ecx, 8
add ecx, esi
movzx esi, byte [r8]
add ecx, esi
movzx esi, byte [r8 + 3]
shl esi, 0x18
add ecx, esi
sub ecx, edx
sub edx, eax
sub ecx, eax
add ecx, r11d
mov r11d, eax
shr r11d, 0xd
xor ecx, r11d
sub edx, ecx
sub eax, ecx
mov r11d, edx
mov edx, ecx
shl edx, 8
xor edx, r11d
sub eax, edx
mov r11d, eax
mov eax, edx
shr eax, 0xd
xor eax, r11d
sub ecx, edx
sub r9d, 0xc
add r8, 0xc
sub ecx, eax
sub edx, eax
mov r11d, ecx
mov ecx, eax
shr ecx, 0xc
xor ecx, r11d
sub edx, ecx
sub eax, ecx
mov r11d, edx
mov edx, ecx
shl edx, 0x10
xor edx, r11d
sub eax, edx
sub ecx, edx
mov r11d, eax
mov eax, edx
shr eax, 5
xor eax, r11d
mov r11d, eax
sub ecx, eax
sub edx, eax
shr r11d, 3
xor r11d, ecx
mov esi, r11d
sub edx, r11d
sub eax, r11d
shl esi, 0xa
xor esi, edx
mov ecx, esi
sub eax, esi
shr ecx, 0xf
xor ecx, eax
cmp r9d, 0xb
ja 0x1400d5dc0
add ecx, r10d
cmp r9d, 0xb
ja case.0x1400d5ed8.0
lea rdx, [0x1402bb12c]
movsxd rax, dword [rdx + r9*4]
add rax, rdx
jmp rax
movzx eax, byte [r8 + 0xa]
shl eax, 0x18
add ecx, eax
movzx eax, byte [r8 + 9]
shl eax, 0x10
add ecx, eax
movzx eax, byte [r8 + 8]
shl eax, 8
add ecx, eax
movzx eax, byte [r8 + 7]
shl eax, 0x18
add esi, eax
movzx eax, byte [r8 + 6]
shl eax, 0x10
add esi, eax
movzx eax, byte [r8 + 5]
shl eax, 8
add esi, eax
movzx eax, byte [r8 + 4]
add esi, eax
movzx eax, byte [r8 + 3]
shl eax, 0x18
add r11d, eax
movzx eax, byte [r8 + 2]
shl eax, 0x10
add r11d, eax
movzx eax, byte [r8 + 1]
shl eax, 8
add r11d, eax
movzx eax, byte [r8]
add r11d, eax
lea eax, [rcx + rsi]
mov r8d, ecx
sub esi, ecx
mov qword [r12 + 0x288], r12
sub r11d, eax
shr r8d, 0xd
movd xmm0, r10d
xor r8d, r11d
mov edx, r8d
sub esi, r8d
sub ecx, r8d
shl edx, 8
xor edx, esi
mov eax, edx
sub ecx, edx
sub r8d, edx
shr eax, 0xd
xor eax, ecx
mov ecx, eax
sub r8d, eax
sub edx, eax
shr ecx, 0xc
xor ecx, r8d
sub edx, ecx
sub eax, ecx
mov r8d, edx
mov edx, ecx
shl edx, 0x10
xor edx, r8d
sub eax, edx
sub ecx, edx
mov r8d, eax
mov eax, edx
shr eax, 5
xor eax, r8d
mov r8d, eax
sub ecx, eax
sub edx, eax
shr r8d, 3
xor ecx, r8d
mov esi, ecx
sub edx, ecx
sub eax, ecx
shl esi, 0xa
xor esi, edx
sub eax, esi
shr esi, 0xf
xor esi, eax
mov rax, qword [rbx + 0x108]
movd xmm1, esi
punpckldq xmm0, xmm1
movq qword [r12 + 0x290], xmm0
test rax, rax
je 0x1400d6290
mov rdx, qword [rax + 0x260]
lea r13, [r12 + 0x260]
mov qword [r12 + 0x270], 0
mov qword [r12 + 0x260], rdx
mov rcx, qword [rax + 0x260]
mov rdx, qword [rcx + 0x18]
sub rdx, qword [rcx + 0x20]
mov qword [r12 + 0x268], rdx
mov rax, qword [rax + 0x260]
mov rax, qword [rax + 0x18]
mov qword [rax + 0x10], r12
mov rax, qword [rbx + 0x108]
mov rax, qword [rax + 0x260]
mov qword [rax + 0x18], r13
mov rax, qword [rbx + 0x108]
mov rdi, qword [rax + 0x260]
mov eax, dword [rdi + 0x10]
add eax, 1
mov dword [rdi + 0x10], eax
mov rax, qword [rbx + 0x108]
mov rdx, qword [rax + 0x260]
mov eax, dword [rdx + 8]
sub eax, 1
and eax, esi
shl rax, 4
add rax, qword [rdx]
mov rdx, qword [rax]
add dword [rax + 8], 1
mov qword [r12 + 0x278], 0
mov qword [r12 + 0x280], rdx
mov rdx, qword [rax]
test rdx, rdx
je 0x1400d60a1
mov qword [rdx + 0x18], r13
mov edx, dword [rax + 0xc]
mov qword [rax], r13
lea edx, [rdx + rdx*4 + 5]
add edx, edx
cmp dword [rax + 8], edx
jb 0x1400d60c1
mov rdi, qword [r12 + 0x260]
mov ebx, dword [rdi + 0x34]
test ebx, ebx
je 0x1400d6108
lea rax, str.Added_URL_processor_for__s_path
mov qword [rsp + 0x28], r12
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, str.http
call fcn.14005a150
movaps xmm6, xmmword [rsp + 0x30]
movaps xmm7, xmmword [rsp + 0x40]
mov rax, r12
movaps xmm8, xmmword [rsp + 0x50]
lea rsp, [rbp - 0x28]
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop rbp
ret
mov ecx, dword [rdi + 8]
mov edx, 1
shl rcx, 5
call sub.msvcrt.dll_calloc
mov rsi, rax
test rax, rax
je 0x1400d6341
mov edx, dword [rdi + 8]
mov eax, dword [rdi + 0x10]
mov ecx, dword [rdi + 0xc]
lea edx, [rdx + rdx - 1]
test edx, eax
setne dl
add ecx, 1
shr eax, cl
movzx edx, dl
add edx, eax
mov dword [rdi + 0x28], edx
mov rax, qword [r12 + 0x260]
mov dword [rax + 0x2c], 0
mov r8, qword [r12 + 0x260]
mov eax, dword [r8 + 8]
test eax, eax
je 0x1400d6223
xor r10d, r10d
nop word [rax + rax]
mov edx, r10d
shl rdx, 4
add rdx, qword [r8]
mov rdx, qword [rdx]
test rdx, rdx
jne 0x1400d61ab
jmp 0x1400d6216
mov qword [rcx + 0x18], rdx
mov r8, qword [r12 + 0x260]
mov qword [rax], rdx
test r9, r9
je 0x1400d6212
mov eax, dword [r8 + 8]
mov rdx, r9
lea eax, [rax + rax - 1]
and eax, dword [rdx + 0x34]
mov r9, qword [rdx + 0x20]
shl rax, 4
add rax, rsi
mov edi, dword [rax + 8]
lea ecx, [rdi + 1]
mov dword [rax + 8], ecx
cmp ecx, dword [r8 + 0x28]
jbe 0x1400d61ee
add dword [r8 + 0x2c], 1
mov r8, qword [r12 + 0x260]
mov ecx, dword [rax + 0xc]
mov edi, dword [r8 + 0x28]
imul edi, ecx
cmp dword [rax + 8], edi
jbe 0x1400d61ee
add ecx, 1
mov dword [rax + 0xc], ecx
mov qword [rdx + 0x18], 0
mov rcx, qword [rax]
mov qword [rdx + 0x20], rcx
test rcx, rcx
jne 0x1400d6190
mov qword [rax], rdx
mov r8, qword [r12 + 0x260]
test r9, r9
jne 0x1400d61a4
mov eax, dword [r8 + 8]
add r10d, 1
cmp r10d, eax
jb 0x1400d6170
mov rcx, qword [r8]
call sub.msvcrt.dll_free
mov rax, qword [r12 + 0x260]
shl dword [rax + 8], 1
mov rax, qword [r12 + 0x260]
add dword [rax + 0xc], 1
mov rax, qword [r12 + 0x260]
mov qword [rax], rsi
mov rax, qword [r12 + 0x260]
mov edx, dword [rax + 0x10]
shr edx, 1
cmp dword [rax + 0x2c], edx
jbe 0x1400d6265
mov ebx, dword [rax + 0x30]
add ebx, 1
mov dword [rax + 0x30], ebx
mov rax, qword [r12 + 0x260]
cmp dword [rax + 0x30], 1
jbe 0x1400d60c1
mov dword [rax + 0x34], 1
jmp 0x1400d60c1
pxor xmm0, xmm0
mov ecx, 0x40
movups xmmword [r12 + 0x268], xmm0
call sub.msvcrt.dll_malloc
mov qword [r12 + 0x260], rax
mov rdi, rax
test rax, rax
je 0x1400d6341
lea r13, [r12 + 0x260]
mov qword [rax + 0x10], 0
mov edx, 1
mov ecx, 0x200
mov qword [rax + 0x28], 0
mov qword [rax + 0x30], 0
mov qword [rax + 0x38], 0
mov qword [rax + 0x18], r13
mov rax, qword [0x1402bb188]
mov qword [rdi + 0x20], 0x260
mov qword [rdi + 8], rax
call sub.msvcrt.dll_calloc
mov dword [rdi + 0x38], 0xa0111fe1
mov qword [rdi], rax
test rax, rax
je 0x1400d6341
mov qword [rbx + 0x108], r12
mov eax, 1
jmp 0x1400d605a
mov r9d, eax
mov esi, 0x9e3779b9
mov r11d, 0x9e3779b9
mov ecx, 0xfeedbeef
jmp 0x1400d5ec1
or ecx, 0xffffffff
call sub.msvcrt.dll_exit
lea rax, [0x1402bb0ef]
mov r9d, 8
lea r8, str.http
mov edx, 0xab
mov qword [rsp + 0x20], rax
lea rcx, str.dap_http_add_proc
call fcn.14005a150
jmp 0x1400d60e5