Function at 0x180036f80
Capabilities:
Download url
Receive data

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x168]
sub rsp, 0x240
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x180066240]
xor rax, rsp
mov qword [rbp + 0x120], rax
mov rsi, rdx
mov rbx, rcx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x58], rdx
xor r15d, r15d
mov dword [rsp + 0x30], r15d
mov r8, rdx
cmp qword [rdx + 0x18], 0xf
jbe 0x180036fdb
mov r8, qword [rdx]
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
mov r9d, dword [rdx + 0x10]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd rdi, eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x78], xmm1
mov r8, rdi
xor edx, edx
lea rcx, [rsp + 0x68]
call fcn.18002f7a0
nop
lea rax, [rsp + 0x68]
cmp qword [rbp - 0x80], 7
cmova rax, qword [rsp + 0x68]
mov r8, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x180037037
mov r8, qword [rsi]
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rax
mov r9d, dword [rsi + 0x10]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea rdx, [rsp + 0x68]
cmp qword [rbp - 0x80], 7
cmova rdx, qword [rsp + 0x68]
mov qword [rsp + 0x20], r15
xor r9d, r9d
lea r8, [rsp + 0x50]
xor ecx, ecx
call sub.urlmon.dll_URLOpenBlockingStreamW
test eax, eax
je 0x180037131
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], r15
mov r8d, 2
lea rdx, [0x180057c48]
mov rcx, rbx
call fcn.18002f6a0
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 7
jbe 0x1800370e2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800370dd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18003738b
call fcn.18004eea4
movdqa xmm0, xmmword [0x1800582f0]
movdqu xmmword [rsp + 0x78], xmm0
mov word [rsp + 0x68], r15w
mov rcx, rsi
call fcn.180030000
mov rax, rbx
mov rcx, qword [rbp + 0x120]
xor rcx, rsp
call fcn.18004efc0
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp - 0x50]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x180057c38]
mov qword [rbp - 0x50], rax
lea rax, [0x180057c40]
mov qword [rbp - 0x40], rax
lea rcx, [rbp + 0x48]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov dword [rsp + 0x30], 2
xor r8d, r8d
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x50]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64____ptr64]
nop
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea r12, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx - 0x50], r12
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx - 0x54], edx
lea rcx, [rbp - 0x38]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp - 0x38], rax
mov qword [rbp + 0x30], r15
mov dword [rbp + 0x38], r15d
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
lea r9, [rsp + 0x60]
mov r8d, 0x64
lea rdx, [rbp + 0xb0]
call qword [rax + 0x18]
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x180037229
nop word [rax + rax]
mov r8d, eax
lea rdx, [rbp + 0xb0]
lea rcx, [rbp - 0x40]
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]
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
lea r9, [rsp + 0x60]
mov r8d, 0x64
lea rdx, [rbp + 0xb0]
call qword [rax + 0x18]
mov eax, dword [rsp + 0x60]
test eax, eax
jne 0x1800371f0
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
movdqa xmm6, xmmword [0x180058300]
movdqu xmmword [rbp - 0x68], xmm6
mov byte [rbp - 0x78], 0
mov dword [rsp + 0x30], 0xa
movups xmmword [rsp + 0x38], xmm0
mov ecx, dword [rbp + 0x38]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x1800372a9
lea rcx, [rbp - 0x38]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
test rax, rax
je 0x1800372a6
lea rcx, [rbp - 0x38]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbase_void_const___ptr64]
mov r14, rax
lea rcx, [rbp - 0x38]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov rdi, rax
cmp rax, qword [rbp + 0x30]
cmovb rdi, qword [rbp + 0x30]
sub rdi, r14
lea rcx, [rbp - 0x38]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::epptr_void_const___ptr64]
jmp 0x1800372e6
mov ecx, dword [rbp + 0x38]
test cl, 4
jne 0x1800372dc
lea rcx, [rbp - 0x38]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gptr_void_const___ptr64]
test rax, rax
je 0x1800372dc
lea rcx, [rbp - 0x38]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::eback_void_const___ptr64]
mov r14, rax
lea rcx, [rbp - 0x38]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::egptr_void_const___ptr64]
mov rdi, rax
sub rdi, r14
jmp 0x1800372e6
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x38]
test r14, r14
je 0x1800372ff
mov r8, rdi
mov rdx, r14
lea rcx, [rbp - 0x78]
call fcn.180032c10
movdqu xmm6, xmmword [rbp - 0x68]
movups xmm0, xmmword [rbp - 0x78]
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm6
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x50], r12
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx - 0x54], edx
lea rcx, [rbp - 0x38]
call fcn.180030070
lea rcx, [rbp - 0x30]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x48]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 7
jbe 0x1800370e2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800370dd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800370dd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3