Function at 0x140002090
Capabilities:
Create directory
Create http request
Get http content length
Read data from internet
Receive data

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1280]
mov eax, 0x1380
call fcn.1400075e0
sub rsp, rax
movaps xmmword [rsp + 0x1370], xmm6
movaps xmmword [rsp + 0x1360], xmm7
movaps xmmword [rsp + 0x1350], xmm8
movaps xmmword [rsp + 0x1340], xmm9
movaps xmmword [rsp + 0x1330], xmm10
movaps xmmword [rsp + 0x1320], xmm11
mov rax, qword [0x14000d010]
xor rax, rsp
mov qword [rbp + 0x1210], rax
mov r14, rdx
mov rdi, rcx
xor r15d, r15d
mov rbx, rcx
cmp qword [rcx + 0x18], 0x10
jb 0x140002110
mov rbx, qword [rcx]
mov rsi, qword [rcx + 0x10]
test rsi, rsi
je 0x140002172
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp + 0x110]
call sub.VCRUNTIME140.dll_memset
mov byte [rbp + 0x13f], 1
lea rax, [rsi - 1]
mov r8, 0xffffffffffffffff
cmp rax, r8
cmovb r8, rax
add r8, rbx
movzx eax, byte [r8]
cmp byte [rbp + rax + 0x110], r15b
jne 0x14000216d
cmp r8, rbx
je 0x140002172
dec r8
movzx eax, byte [r8]
cmp byte [rbp + rax + 0x110], r15b
je 0x140002157
sub r8, rbx
jmp 0x140002179
mov r8, 0xffffffffffffffff
inc r8
mov rdx, rdi
lea rcx, [rbp + 0xf0]
call fcn.140004cd0
nop
mov rcx, qword [r14 + 0x10]
movabs r12, 0x7fffffffffffffff
mov rax, r12
sub rax, rcx
cmp rax, 1
jb 0x140002afc
mov r9, r14
cmp qword [r14 + 0x18], 0x10
jb 0x1400021b7
mov r9, qword [r14]
mov qword [rsp + 0x30], 1
lea rax, [0x1400087d8]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x40]
call fcn.1400058f0
nop
lea r9, [rbp + 0xf0]
cmp qword [rbp + 0x108], 0x10
cmovae r9, qword [rbp + 0xf0]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x58]
mov rax, rdx
sub rax, rcx
mov rsi, qword [rbp + 0x100]
cmp rsi, rax
ja 0x140002243
lea rax, [rsi + rcx]
mov qword [rsp + 0x50], rax
lea rbx, [rsp + 0x40]
cmp rdx, 0x10
cmovae rbx, qword [rsp + 0x40]
add rbx, rcx
mov r8, rsi
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rsi + rbx], 0
lea rax, [rsp + 0x40]
jmp 0x140002255
mov qword [rsp + 0x20], rsi
mov rdx, rsi
lea rcx, [rsp + 0x40]
call fcn.140005350
xorps xmm0, xmm0
movups xmmword [rbp + 0xd0], xmm0
mov qword [rbp + 0xe0], r15
mov qword [rbp + 0xe8], r15
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xd0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xe0], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x1400022d1
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400022cc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400022cc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400067cc
movdqa xmm0, xmmword [0x140009610]
movdqu xmmword [rsp + 0x50], xmm0
mov byte [rsp + 0x40], 0
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
lea rcx, str.DownloadFileToCDrive
call qword [sym.imp.WININET.dll_InternetOpenW]
mov rsi, rax
mov qword [rbp - 0x60], rax
test rax, rax
jne 0x14000233f
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], r15
lea r8d, [rax + 0x18]
lea rdx, str.Failed_to_Download_File
lea rcx, [rbp - 0x80]
call fcn.140001a90
lea rcx, [rbp - 0x80]
call fcn.1400012d0
xor bl, bl
jmp 0x1400029fd
cmp qword [rdi + 0x18], 0x10
jb 0x140002349
mov rdi, qword [rdi]
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov rbx, rax
mov qword [rbp - 0x58], rax
test rax, rax
jne 0x1400023ae
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], r15
lea r8d, [rax + 0x18]
lea rdx, str.Failed_to_Download_File
lea rcx, [rbp - 0x80]
call fcn.140001a90
lea rcx, [rbp - 0x80]
call fcn.1400012d0
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x1400029fd
mov dword [rbp + 0xc0], r15d
mov dword [rbp + 0xc8], 4
mov qword [rsp + 0x20], r15
lea r9, [rbp + 0xc8]
lea r8, [rbp + 0xc0]
mov edx, 0x20000005
mov rcx, rbx
call qword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
jne 0x140002415
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], r15
lea r8d, [rax + 0x18]
lea rdx, str.Failed_to_get_file_size.
lea rcx, [rsp + 0x60]
call fcn.140001a90
lea rcx, [rsp + 0x60]
call fcn.1400012d0
mov r13d, r15d
mov eax, dword [rbp + 0xc0]
xorps xmm11, xmm11
cvtsi2sd xmm11, rax
movsd xmm9, qword [0x1400095d8]
mulsd xmm11, xmm9
mov rcx, r14
cmp qword [r14 + 0x18], 0x10
jb 0x140002442
mov rcx, qword [r14]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x140002495
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x140002495
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], r15
mov r8d, 0x2c
lea rdx, str.Failed_to_create_the_installation_directory
lea rcx, [rsp + 0x60]
call fcn.140001a90
lea rcx, [rsp + 0x60]
call fcn.1400012d0
xor bl, bl
jmp 0x1400029fd
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp - 0x50]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp + 0xd0]
cmp qword [rbp + 0xe8], 0x10
cmovae rdx, qword [rbp + 0xd0]
lea rcx, [rbp - 0x50]
call fcn.140004a60
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x50], rax
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x54], edx
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x50]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator__void_const___ptr64]
test al, al
je 0x140002551
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], r15
mov r8d, 0x2e
lea rdx, str.Failed_to_create_or_open_the_destination_file.
lea rcx, [rsp + 0x60]
call fcn.140001a90
lea rcx, [rsp + 0x60]
call fcn.1400012d0
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor bl, bl
jmp 0x1400029f3
mov r15, qword [r14 + 0x10]
mov rax, r12
sub rax, r15
cmp rax, 0x23
jb 0x140002b02
mov r12, r14
cmp qword [r14 + 0x18], 0x10
jb 0x140002572
mov r12, qword [r14]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0
lea rsi, [r15 + 0x23]
mov ebx, 0xf
lea rdi, [rsp + 0x40]
movabs rcx, 0x8000000000000000
lea edx, [rbx + 7]
cmp rsi, rbx
jbe 0x140002624
mov rbx, rsi
or rbx, 0xf
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
jbe 0x1400025e4
mov rbx, rax
lea rax, [rcx + 0x27]
mov rcx, rax
call fcn.140006790
test rax, rax
je 0x140002607
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x14000261f
cmp rbx, rdx
cmovb rbx, rdx
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x14000260e
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140002af0
jmp 0x1400025c9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x14000261d
call fcn.140006790
mov rdi, rax
jmp 0x14000261f
xor edi, edi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rbx
movups xmm0, xmmword [str.Created_Fluster_installation_path:]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [0x1400088c0]
movups xmmword [rdi + 0x10], xmm1
movzx eax, word [0x1400088d0]
mov word [rdi + 0x20], ax
movzx eax, byte [0x1400088d2]
mov byte [rdi + 0x22], al
lea rcx, [rdi + 0x23]
mov r8, r15
mov rdx, r12
call sub.VCRUNTIME140.dll_memcpy
mov byte [rdi + rsi], 0
lea rcx, [rsp + 0x40]
call fcn.1400011d0
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x78], 0
mov r8d, 0x27
lea rdx, str.Starting_to_Download_Fluster_Binary...
lea rcx, [rsp + 0x60]
call fcn.140001a90
lea rcx, [rsp + 0x60]
call fcn.1400011d0
lea r9, [rbp + 0xc4]
mov r8d, 0x1000
lea rdx, [rbp + 0x210]
mov rsi, qword [rbp - 0x58]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x140002865
movsd xmm8, qword [0x1400095e8]
movsd xmm10, qword [0x1400095e0]
nop dword [rax + rax]
mov eax, dword [rbp + 0xc4]
test eax, eax
je 0x140002865
mov r8d, eax
lea rdx, [rbp + 0x210]
lea rcx, [rbp - 0x50]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::write_char_const____ptr64__long_long___int64_____ptr64]
add r13d, dword [rbp + 0xc4]
mov eax, r13d
xorps xmm7, xmm7
cvtsi2sd xmm7, rax
mov eax, dword [rbp + 0xc0]
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
movaps xmm6, xmm7
divsd xmm6, xmm0
mulsd xmm6, xmm8
mulsd xmm7, xmm9
lea rdx, str.__
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001760
xor ebx, ebx
movaps xmm0, xmm6
mulsd xmm0, xmm10
divsd xmm0, xmm8
cvttsd2si edi, xmm0
nop dword [rax]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
cmp ebx, edi
lea rdx, [0x1400087c0]
jl 0x140002789
lea rdx, [0x1400087c4]
call fcn.140001760
inc ebx
cmp ebx, 0x32
jl 0x140002770
mov edx, 2
lea rcx, [rbp - 0x80]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setprecision_long_long___int64__]
mov rdi, rax
lea rdx, [0x1400087cc]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001760
mov rcx, rax
lea rdx, [0x140002070]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov rdx, qword [rdi + 8]
call qword [rdi]
movaps xmm1, xmm6
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___double____ptr64]
mov rcx, rax
lea rdx, [0x1400087c8]
call fcn.140001760
movaps xmm1, xmm7
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___double____ptr64]
mov rcx, rax
lea rdx, [0x1400087d4]
call fcn.140001760
mov rcx, rax
movaps xmm1, xmm11
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___double____ptr64]
mov rcx, rax
lea rdx, [0x1400087d0]
call fcn.140001760
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::flush_void____ptr64]
lea r9, [rbp + 0xc4]
mov r8d, 0x1000
lea rdx, [rbp + 0x210]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x1400026f0
lea rdx, [0x140001990]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rcx, [rbp - 0x48]
call fcn.1400049a0
test rax, rax
jne 0x1400028a3
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x50]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov r15, qword [rbp + 0xe0]
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, r15
cmp rax, 0x21
jb 0x140002aea
lea r12, [rbp + 0xd0]
cmp qword [rbp + 0xe8], 0x10
cmovae r12, qword [rbp + 0xd0]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0
lea rsi, [r15 + 0x21]
mov ebx, 0xf
lea rdi, [rsp + 0x40]
cmp rsi, rbx
jbe 0x140002999
mov rbx, rsi
or rbx, 0xf
cmp rbx, rcx
jbe 0x140002953
mov rbx, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140006790
test rax, rax
je 0x14000297c
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140002994
cmp rbx, 0x16
mov eax, 0x16
cmovb rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x140002983
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140002af6
jmp 0x140002938
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x140002992
call fcn.140006790
mov rdi, rax
jmp 0x140002994
xor edi, edi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rbx
movups xmm0, xmmword [str.Downloaded_the_Fluster_Binary_in]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [0x140008910]
movups xmmword [rdi + 0x10], xmm1
movzx eax, byte [0x140008920]
mov byte [rdi + 0x20], al
lea rcx, [rdi + 0x21]
mov r8, r15
mov rdx, r12
call sub.VCRUNTIME140.dll_memcpy
mov byte [rdi + rsi], 0
lea rcx, [rsp + 0x40]
call fcn.1400011d0
mov rdx, r14
lea rcx, [rbp + 0xd0]
call fcn.140003970
mov bl, 1
xor r15d, r15d
lea rcx, [rbp - 0x50]
call fcn.140002b10
nop
mov rdx, qword [rbp + 0xe8]
cmp rdx, 0x10
jb 0x140002a41
inc rdx
mov rcx, qword [rbp + 0xd0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002a3c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002a3c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400067cc
mov qword [rbp + 0xe0], r15
mov qword [rbp + 0xe8], 0xf
mov byte [rbp + 0xd0], 0
mov rax, qword [rbp + 0x108]
cmp rax, 0x10
jb 0x140002a9f
lea rdx, [rax + 1]
mov rcx, qword [rbp + 0xf0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002a9a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002a9a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400067cc
movzx eax, bl
mov rcx, qword [rbp + 0x1210]
xor rcx, rsp
call fcn.140006650
lea r11, [rsp + 0x1380]
mov rbx, qword [r11 + 0x50]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1400011b0
nop
call fcn.140001110
int3
call fcn.140001110
nop
call fcn.1400011b0
nop
call fcn.1400011b0
int3