Function at 0x14000d690
Capabilities:
Check if file exists
Create directory
Download url
Get file attributes
Receive data

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0xbf0
lea rbp, [rsp + 0x90]
and rbp, 0xffffffffffffffe0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0xb50], rax
mov dword [rbp], 0
lea rax, [rbp + 4]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 5]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 6]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 4]
movzx r8d, byte [rbp + 5]
movzx edx, byte [rbp + 6]
lea rcx, [rbp + 0x120]
call fcn.14000f6b0
mov rcx, rax
call fcn.14000dcb0
mov rcx, rax
call fcn.1400015e0
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rbp + 0xc0], rax
mov rdx, qword [rbp + 0xc0]
mov rcx, qword [rsp + 0xc10]
call fcn.14000d590
mov qword [rbp + 0x58], rax
cmp qword [rbp + 0x58], 0
jne 0x14000d791
lea rdx, [0x140031e44]
mov rcx, qword [rsp + 0xc18]
call fcn.14000f2c0
mov eax, dword [rbp]
or eax, 1
mov dword [rbp], eax
mov rcx, qword [rsp + 0xc20]
call fcn.14000bad0
mov rax, qword [rsp + 0xc18]
jmp 0x14000dc89
lea rax, [rbp + 0x20]
mov rcx, qword [rbp + 0x58]
mov rdi, rax
lea rsi, [rcx + 4]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rbp + 0x58]
mov eax, dword [rax + 0x14]
mov dword [rbp + 0x60], eax
mov eax, 1
imul rax, rax, 7
movzx eax, byte [rbp + rax + 0x28]
mov dword [rbp + 0x30], eax
mov eax, 1
imul rax, rax, 6
movzx eax, byte [rbp + rax + 0x28]
mov dword [rbp + 0x34], eax
mov eax, 1
imul rax, rax, 5
movzx eax, byte [rbp + rax + 0x28]
mov dword [rbp + 0x38], eax
mov eax, 1
imul rax, rax, 4
movzx eax, byte [rbp + rax + 0x28]
mov dword [rbp + 0x3c], eax
mov eax, 1
imul rax, rax, 3
movzx eax, byte [rbp + rax + 0x28]
mov dword [rbp + 0x40], eax
mov eax, 1
imul rax, rax, 2
movzx eax, byte [rbp + rax + 0x28]
mov dword [rbp + 0x44], eax
mov eax, 1
imul rax, rax, 1
movzx eax, byte [rbp + rax + 0x28]
mov dword [rbp + 0x48], eax
mov eax, 1
imul rax, rax, 0
movzx eax, byte [rbp + rax + 0x28]
mov dword [rbp + 0x4c], eax
lea rax, [rbp + 7]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 8]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 9]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 7]
movzx r8d, byte [rbp + 8]
movzx edx, byte [rbp + 9]
lea rcx, [rbp + 0x180]
call fcn.14000f730
mov rcx, rax
call fcn.14000eb90
mov qword [rbp + 0x68], rax
movzx eax, word [rbp + 0x26]
movzx ecx, word [rbp + 0x24]
mov edx, dword [rbp + 0x60]
mov dword [rsp + 0x68], edx
mov edx, dword [rbp + 0x30]
mov dword [rsp + 0x60], edx
mov edx, dword [rbp + 0x34]
mov dword [rsp + 0x58], edx
mov edx, dword [rbp + 0x38]
mov dword [rsp + 0x50], edx
mov edx, dword [rbp + 0x3c]
mov dword [rsp + 0x48], edx
mov edx, dword [rbp + 0x40]
mov dword [rsp + 0x40], edx
mov edx, dword [rbp + 0x44]
mov dword [rsp + 0x38], edx
mov edx, dword [rbp + 0x48]
mov dword [rsp + 0x30], edx
mov edx, dword [rbp + 0x4c]
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x20], eax
mov r9d, ecx
mov r8d, dword [rbp + 0x20]
mov rdx, qword [rbp + 0x68]
lea rcx, [rbp + 0x280]
call fcn.14000d1c0
lea rax, [rbp + 0xa]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0xb]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0xc]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 0xa]
movzx r8d, byte [rbp + 0xb]
movzx edx, byte [rbp + 0xc]
lea rcx, [rbp + 0x1e0]
call fcn.14000f870
mov rcx, rax
call fcn.14000e240
lea r8, [rbp + 0x280]
mov rdx, rax
lea rcx, [rbp + 0x350]
call fcn.14000d1c0
lea rax, [rbp + 0xd]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0xe]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0xf]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 0xd]
movzx r8d, byte [rbp + 0xe]
movzx edx, byte [rbp + 0xf]
lea rcx, [rbp + 0x140]
call fcn.14000fa50
mov rcx, rax
call fcn.14000e030
mov rdx, rax
lea rcx, [rbp + 0x100]
call fcn.14000f2c0
mov qword [rbp + 0x70], rax
mov rax, qword [rbp + 0x70]
mov qword [rbp + 0x78], rax
mov rax, qword [rbp + 0x78]
mov qword [rbp + 0x80], rax
mov rax, qword [rsp + 0xc20]
mov qword [rbp + 0x88], rax
mov r8, qword [rbp + 0x80]
mov rdx, qword [rbp + 0x88]
lea rcx, [rbp + 0xe0]
call fcn.14000fad0
mov qword [rbp + 0x90], rax
mov rax, qword [rbp + 0x90]
mov qword [rbp + 0x98], rax
mov rdx, qword [rbp + 0x98]
mov rcx, qword [rsp + 0xc20]
call fcn.14000f1c0
lea rcx, [rbp + 0xe0]
call fcn.14000bad0
nop
lea rcx, [rbp + 0x100]
call fcn.14000bad0
mov rcx, qword [rsp + 0xc20]
call fcn.14000ba80
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea r8, [rbp + 0x280]
lea rdx, str._ws.pdb
lea rcx, [rbp + 0x280]
call fcn.14000d1c0
lea rdx, [rbp + 0x280]
mov rcx, qword [rsp + 0xc20]
call fcn.14000f190
mov rcx, qword [rsp + 0xc20]
call fcn.14000ba80
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [rbp + 0x18], eax
cmp dword [rbp + 0x18], 0xffffffff
je 0x14000db6b
mov eax, dword [rbp + 0x18]
and eax, 0x10
test eax, eax
jne 0x14000db6b
mov rcx, qword [rsp + 0xc20]
call fcn.14000ba80
mov qword [rbp + 0xa0], rax
lea rax, [rbp + 0x10]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x11]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x12]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 0x10]
movzx r8d, byte [rbp + 0x11]
movzx edx, byte [rbp + 0x12]
lea rcx, [rbp + 0xd0]
call fcn.14000fb30
mov rcx, rax
call fcn.14000dec0
mov qword [rbp + 0xa8], rax
mov rdx, qword [rbp + 0xa0]
mov rcx, qword [rbp + 0xa8]
call fcn.140001430
mov rdx, qword [rsp + 0xc20]
mov rcx, qword [rsp + 0xc18]
call fcn.14000f240
mov eax, dword [rbp]
or eax, 1
mov dword [rbp], eax
mov rcx, qword [rsp + 0xc20]
call fcn.14000bad0
mov rax, qword [rsp + 0xc18]
jmp 0x14000dc89
mov rcx, qword [rsp + 0xc20]
call fcn.14000ba80
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, rax
lea rdx, [rbp + 0x350]
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileW]
mov dword [rbp + 0x50], eax
cmp dword [rbp + 0x50], 0
jge 0x14000dbd6
lea rdx, [0x140031e5c]
mov rcx, qword [rsp + 0xc18]
call fcn.14000f2c0
mov eax, dword [rbp]
or eax, 1
mov dword [rbp], eax
mov rcx, qword [rsp + 0xc20]
call fcn.14000bad0
mov rax, qword [rsp + 0xc18]
jmp 0x14000dc89
mov rcx, qword [rsp + 0xc20]
call fcn.14000ba80
mov qword [rbp + 0xb0], rax
lea rax, [rbp + 0x13]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x14]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x15]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 0x13]
movzx r8d, byte [rbp + 0x14]
movzx edx, byte [rbp + 0x15]
lea rcx, [rbp + 0x160]
call fcn.14000fb80
mov rcx, rax
call fcn.14000dcb0
mov qword [rbp + 0xb8], rax
mov rdx, qword [rbp + 0xb0]
mov rcx, qword [rbp + 0xb8]
call fcn.140001430
mov rdx, qword [rsp + 0xc20]
mov rcx, qword [rsp + 0xc18]
call fcn.14000f240
mov eax, dword [rbp]
or eax, 1
mov dword [rbp], eax
mov rcx, qword [rsp + 0xc20]
call fcn.14000bad0
mov rax, qword [rsp + 0xc18]
mov rcx, qword [rbp + 0xb50]
xor rcx, rsp
call fcn.1400105d0
add rsp, 0xbf0
pop rdi
pop rsi
pop rbp
ret