Function at 0x140001000
Capabilities:
Download url
Receive data

Disassembly:
sub rsp, 0xb8
mov rax, qword [0x140006040]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0x48], r8
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x58], 0
mov rdx, qword [rsp + 0x38]
xor eax, eax
mov ecx, eax
lea r8, [rsp + 0x58]
xor r9d, r9d
mov qword [rsp + 0x20], 0
call sub.urlmon.dll_URLOpenBlockingStreamA
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jge 0x14000108c
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, [0x1400044aa]
call fcn.1400011b0
mov rcx, rax
lea rdx, [0x140001520]
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]
mov byte [rsp + 0x53], 0
jmp 0x140001182
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
lea rdx, [rsp + 0x60]
mov r8d, 1
call qword [rax + 0x60]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jge 0x1400010de
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, [0x14000446e]
call fcn.1400011b0
mov rcx, rax
lea rdx, [0x140001520]
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]
mov byte [rsp + 0x53], 0
jmp 0x140001182
mov rax, qword [rsp + 0x70]
mov ecx, eax
mov rax, qword [rsp + 0x48]
mov dword [rax], ecx
mov rax, qword [rsp + 0x48]
mov eax, dword [rax]
mov ecx, eax
call fcn.140001ee4
mov rcx, rax
mov rax, qword [rsp + 0x40]
mov qword [rax], rcx
mov rcx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x48]
mov r8d, dword [rax]
mov rax, qword [rsp + 0x40]
mov rdx, qword [rax]
mov rax, qword [rcx]
lea r9, [rsp + 0x54]
call qword [rax + 0x18]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jl 0x140001145
mov eax, dword [rsp + 0x54]
mov rcx, qword [rsp + 0x48]
cmp eax, dword [rcx]
je 0x140001172
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, [0x1400044e6]
call fcn.1400011b0
mov rcx, rax
lea rdx, [0x140001520]
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]
mov byte [rsp + 0x53], 0
jmp 0x140001182
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov byte [rsp + 0x53], 1
mov al, byte [rsp + 0x53]
and al, 1
movzx eax, al
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140001f10
mov eax, dword [rsp + 0x30]
add rsp, 0xb8
ret