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.140007290
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 r15, rdx
mov rdi, rcx
xor r13d, r13d
mov rbx, rcx
mov r12, qword [rcx + 0x18]
cmp r12, 0x10
jb 0x140002113
mov rbx, qword [rcx]
mov rsi, qword [rcx + 0x10]
mov r14, 0xffffffffffffffff
test rsi, rsi
je 0x14000217a
xor edx, edx
mov r8d, pe_nt_image_headers64
lea rcx, [rbp + 0x110]
call sub.VCRUNTIME140.dll_memset
mov byte [rbp + 0x13f], 1
lea rax, [rsi - 1]
mov rcx, r14
cmp rax, rcx
cmovb rcx, rax
add rcx, rbx
movzx eax, byte [rcx]
cmp byte [rbp + rax + 0x110], r13b
jne 0x140002175
nop dword [rax]
cmp rcx, rbx
je 0x14000217a
dec rcx
movzx eax, byte [rcx]
cmp byte [rbp + rax + 0x110], r13b
je 0x140002160
sub rcx, rbx
jmp 0x14000217d
mov rcx, r14
inc rcx
xorps xmm0, xmm0
movups xmmword [rbp + 0xf0], xmm0
mov qword [rbp + 0x100], r13
mov qword [rbp + 0x108], r13
cmp rsi, rcx
jb 0x140002b3d
sub rsi, rcx
cmp rsi, r14
cmovb r14, rsi
mov rax, rdi
cmp r12, 0x10
jb 0x1400021b7
mov rax, qword [rdi]
lea rdx, [rax + rcx]
mov r8, r14
lea rcx, [rbp + 0xf0]
call fcn.140001a90
nop
mov rcx, qword [r15 + 0x10]
movabs r12, 0x7fffffffffffffff
mov rax, r12
sub rax, rcx
cmp rax, 1
jb 0x140002b43
mov r9, r15
cmp qword [r15 + 0x18], 0x10
jb 0x1400021f6
mov r9, qword [r15]
mov qword [rsp + 0x30], 1
lea rax, [0x1400087a8]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x40]
call fcn.1400055a0
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 0x140002282
lea rax, [rcx + rsi]
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 [rbx + rsi], 0
lea rax, [rsp + 0x40]
jmp 0x140002294
mov qword [rsp + 0x20], rsi
mov rdx, rsi
lea rcx, [rsp + 0x40]
call fcn.140005000
xorps xmm0, xmm0
movups xmmword [rbp + 0xd0], xmm0
mov qword [rbp + 0xe0], r13
mov qword [rbp + 0xe8], r13
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xd0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xe0], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x140002310
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000230b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000230b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000647c
movdqa xmm0, xmmword [0x140009580]
movdqu xmmword [rsp + 0x50], xmm0
mov byte [rsp + 0x40], 0
mov dword [rsp + 0x20], r13d
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 0x14000237e
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], r13
mov qword [rbp - 0x68], r13
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 0x140002a3a
cmp qword [rdi + 0x18], 0x10
jb 0x140002388
mov rdi, qword [rdi]
mov qword [rsp + 0x28], r13
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 0x1400023ed
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], r13
mov qword [rbp - 0x68], r13
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 0x140002a3a
mov dword [rbp + 0xc0], r13d
mov dword [rbp + 0xc8], 4
mov qword [rsp + 0x20], r13
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 0x140002454
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x78], r13
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 eax, dword [rbp + 0xc0]
xorps xmm11, xmm11
cvtsi2sd xmm11, rax
movsd xmm9, qword [0x140009558]
mulsd xmm11, xmm9
mov rcx, r15
cmp qword [r15 + 0x18], 0x10
jb 0x14000247e
mov rcx, qword [r15]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x1400024d9
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x1400024d9
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x78], 0
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 0x140002a3a
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.140004860
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 0x14000259d
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x78], 0
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 0x140002a30
mov r14, qword [r15 + 0x10]
mov rax, r12
sub rax, r14
cmp rax, 0x23
jb 0x140002b49
mov r12, r15
cmp qword [r15 + 0x18], 0x10
jb 0x1400025be
mov r12, qword [r15]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xor eax, eax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
lea rsi, [r14 + 0x23]
mov ebx, 0xf
lea rdi, [rsp + 0x40]
movabs rdx, 0x8000000000000000
lea r8d, [rax + 0x16]
cmp rsi, rbx
jbe 0x140002667
mov rbx, rsi
or rbx, 0xf
movabs rcx, 0x7fffffffffffffff
cmp rbx, rcx
jbe 0x14000262b
mov rbx, rcx
lea rax, [rdx + 0x27]
mov rcx, rax
call fcn.140006440
test rax, rax
je 0x14000264e
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140002662
cmp rbx, r8
cmovb rbx, r8
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x140002655
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140002b31
jmp 0x140002610
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x14000265f
call fcn.140006440
mov rdi, rax
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 [0x140008890]
movups xmmword [rdi + 0x10], xmm1
movzx eax, word [0x1400088a0]
mov word [rdi + 0x20], ax
movzx eax, byte [0x1400088a2]
mov byte [rdi + 0x22], al
lea rcx, [rdi + 0x23]
mov r8, r14
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 0x1400028a5
movsd xmm8, qword [0x140009568]
movsd xmm10, qword [0x140009560]
nop
mov eax, dword [rbp + 0xc4]
test eax, eax
je 0x1400028a5
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, [0x140008790]
jl 0x1400027c9
lea rdx, [0x140008794]
call fcn.140001760
inc ebx
cmp ebx, 0x32
jl 0x1400027b0
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, [0x14000879c]
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, [0x140008798]
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, [0x1400087a4]
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, [0x1400087a0]
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 0x140002730
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.1400047a0
test rax, rax
jne 0x1400028e3
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 r14, qword [rbp + 0xe0]
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, r14
cmp rax, 0x21
jb 0x140002b2b
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, [r14 + 0x21]
mov ebx, 0xf
lea rdi, [rsp + 0x40]
cmp rsi, rbx
jbe 0x1400029d9
mov rbx, rsi
or rbx, 0xf
cmp rbx, rcx
jbe 0x140002993
mov rbx, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140006440
test rax, rax
je 0x1400029bc
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x1400029d4
cmp rbx, 0x16
mov eax, 0x16
cmovb rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x1400029c3
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140002b37
jmp 0x140002978
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x1400029d2
call fcn.140006440
mov rdi, rax
jmp 0x1400029d4
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 [0x1400088e0]
movups xmmword [rdi + 0x10], xmm1
movzx eax, byte [0x1400088f0]
mov byte [rdi + 0x20], al
lea rcx, [rdi + 0x21]
mov r8, r14
mov rdx, r12
call sub.VCRUNTIME140.dll_memcpy
mov byte [rdi + rsi], 0
lea rcx, [rsp + 0x40]
call fcn.1400011d0
mov rdx, r15
lea rcx, [rbp + 0xd0]
call fcn.140003770
mov bl, 1
lea rcx, [rbp - 0x50]
call fcn.140002b50
nop
mov rdx, qword [rbp + 0xe8]
cmp rdx, 0x10
jb 0x140002a7e
inc rdx
mov rcx, qword [rbp + 0xd0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002a79
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002a79
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000647c
mov qword [rbp + 0xe0], 0
mov qword [rbp + 0xe8], 0xf
mov byte [rbp + 0xd0], 0
mov rax, qword [rbp + 0x108]
cmp rax, 0x10
jb 0x140002ae0
lea rdx, [rax + 1]
mov rcx, qword [rbp + 0xf0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002adb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002adb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000647c
movzx eax, bl
mov rcx, qword [rbp + 0x1210]
xor rcx, rsp
call fcn.140006300
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.140004ad0
nop
call fcn.1400011b0
nop
call fcn.1400011b0
int3