Function at 0x140043a60
Capabilities:
Create http request
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 - 0x320]
sub rsp, 0x420
mov rax, qword [0x140077040]
xor rax, rsp
mov qword [rbp + 0x310], rax
mov rsi, rdx
mov rbx, rcx
mov dword [rbp - 0x38], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, [0x14004eac7]
call qword [sym.imp.WININET.dll_InternetOpenA]
mov r13, rax
test rax, rax
je 0x140043b03
cmp qword [rbx + 0x18], 0xf
jbe 0x140043acf
mov rbx, qword [rbx]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov r12, rax
test rax, rax
jne 0x140043b0a
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor eax, eax
jmp 0x1400441e2
xorps xmm0, xmm0
movups xmmword [rbp - 8], xmm0
xor r14d, r14d
mov qword [rbp + 8], r14
mov r15d, 0xf
mov qword [rbp + 0x10], r15
mov byte [rbp - 8], r14b
lea r9, [rbp - 0x10]
mov r8d, 0x200
lea rdx, [rbp + 0x110]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x140043bce
mov eax, dword [rbp - 0x10]
test eax, eax
je 0x140043bce
mov edi, eax
mov rax, r15
sub rax, r14
cmp rdi, rax
ja 0x140043b8c
lea rax, [r14 + rdi]
mov qword [rbp + 8], rax
lea rbx, [rbp - 8]
cmp r15, 0xf
cmova rbx, qword [rbp - 8]
add rbx, r14
mov r8d, edi
lea rdx, [rbp + 0x110]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi], 0
jmp 0x140043ba4
mov qword [rsp + 0x20], rdi
lea r9, [rbp + 0x110]
mov rdx, rdi
lea rcx, [rbp - 8]
call fcn.14004a5e0
lea r9, [rbp - 0x10]
mov r8d, 0x200
lea rdx, [rbp + 0x110]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetReadFile]
mov r15, qword [rbp + 0x10]
mov r14, qword [rbp + 8]
test eax, eax
jne 0x140043b48
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor edx, edx
mov r8d, pe_nt_image_headers64
lea rcx, [rbp + 0x20]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x14006ec40]
mov qword [rbp + 0x20], rax
lea rcx, [rbp + 0xb0]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov ebx, 0x40
mov dword [rbp - 0x38], ebx
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x20]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
nop
mov rax, qword [rbp + 0x20]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_istringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx + 0x20], rax
mov rax, qword [rbp + 0x20]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x90]
mov dword [rbp + rcx + 0x1c], edx
lea rax, [rbp + 0x30]
mov qword [rbp - 0x40], rax
lea rcx, [rbp + 0x30]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + 0x30], rax
lea rdx, [rbp - 8]
cmp r15, 0xf
cmova rdx, qword [rbp - 8]
mov r9d, 2
mov r8, r14
lea rcx, [rbp + 0x30]
call fcn.14004a0a0
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], 0
mov qword [rbp - 0x18], 0xf
mov byte [rbp - 0x30], 0
mov rax, qword [rbp + 0x20]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x20]
add rcx, rax
mov dl, 0xa
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const___ptr64]
movzx r8d, al
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0x20]
call fcn.14004aba0
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator_bool_void_const___ptr64]
test al, al
je 0x140043ff2
movabs rdi, 0x7fffffffffffffff
lea r14, [0x14006e404]
nop word [rax + rax]
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], 0xf
cmova rcx, qword [rbp - 0x30]
mov qword [rsp + 0x20], 2
lea r9, [0x14006e400]
mov rdx, qword [rbp - 0x20]
call fcn.14004a520
test rax, rax
je 0x140043fb2
mov rcx, qword [rsi + 0x10]
mov rax, rdi
sub rax, rcx
cmp rax, 1
jb 0x14004420c
mov r9, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x140043d51
mov r9, qword [rsi]
mov qword [rsp + 0x30], 1
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 0x80]
call fcn.14004aa80
or ebx, 8
or ebx, 1
mov dword [rbp - 0x38], ebx
lea r9, [rbp - 0x80]
mov r14, qword [rbp - 0x80]
mov r13, qword [rbp - 0x68]
cmp r13, 0xf
cmova r9, r14
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], 0xf
cmova rcx, qword [rbp - 0x30]
mov rax, qword [rbp - 0x70]
mov qword [rsp + 0x20], rax
mov rdx, qword [rbp - 0x20]
call fcn.14004a520
test rax, rax
je 0x140043e85
mov rcx, qword [rsi + 0x10]
mov rax, rdi
sub rax, rcx
cmp rax, 1
jb 0x140044212
mov rax, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x140043dd4
mov rax, qword [rsi]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 1
lea r9, [0x14006e40c]
lea rcx, [rsp + 0x60]
call fcn.14004aa80
or ebx, 0x10
or ebx, 2
mov dword [rbp - 0x38], ebx
mov r8d, 1
lea rdx, [0x14006e408]
lea rcx, [rsp + 0x60]
call fcn.140049c40
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x50], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
or ebx, 0x24
lea r9, [rbp - 0x60]
movq rdi, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq r15, xmm0
cmp r15, 0xf
cmova r9, rdi
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], 0xf
cmova rcx, qword [rbp - 0x30]
movq qword [rsp + 0x20], xmm1
mov rdx, qword [rbp - 0x20]
call fcn.14004a520
cmp rax, 0xffffffffffffffff
jne 0x140043e8d
xor r12b, r12b
jmp 0x140043e90
mov r15, qword [rbp - 0x48]
mov rdi, qword [rbp - 0x60]
mov r12b, 1
test bl, 4
je 0x140043ed0
and ebx, 0xfffffffb
cmp r15, 0xf
jbe 0x140043ed0
lea rdx, [r15 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140043ec7
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140044039
mov rcx, rdi
call fcn.14004c2bc
nop
test bl, 2
je 0x140043f2c
and ebx, 0xfffffffd
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x140043f15
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140043f10
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140044040
call fcn.14004c2bc
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x78], 0xf
mov byte [rsp + 0x60], 0
test bl, 1
je 0x140043f6b
and ebx, 0xfffffffe
cmp r13, 0xf
jbe 0x140043f6b
lea rdx, [r13 + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x140043f63
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140044047
mov rcx, r14
call fcn.14004c2bc
test r12b, r12b
je 0x140043fa1
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], 0xf
cmova rcx, qword [rbp - 0x30]
mov qword [rsp + 0x20], 1
lea r9, [0x14006e410]
mov rdx, qword [rbp - 0x20]
call fcn.14004a520
cmp rax, 0xffffffffffffffff
jne 0x14004404e
lea r14, [0x14006e404]
movabs rdi, 0x7fffffffffffffff
mov rax, qword [rbp + 0x20]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x20]
add rcx, rax
mov dl, 0xa
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const___ptr64]
movzx r8d, al
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0x20]
call fcn.14004aba0
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator_bool_void_const___ptr64]
test al, al
jne 0x140043d00
xor edi, edi
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x140044146
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140044141
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140044141
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]
nop
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 rcx, [rax + 1]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
cmp qword [rbp - 0x20], rcx
jb 0x140044218
mov rax, qword [rbp - 0x20]
sub rax, rcx
mov r8, 0xffffffffffffffff
cmp rax, r8
cmovb r8, rax
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 0xf
cmova rdx, qword [rbp - 0x30]
add rdx, rcx
lea rcx, [rsp + 0x40]
call fcn.14004a770
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov rsi, rax
lea rbx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmova rbx, qword [rsp + 0x40]
mov dword [rax], 0
xor r8d, r8d
lea rdx, [rbp - 0x38]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtoull]
mov rdi, rax
cmp rbx, qword [rbp - 0x38]
jne 0x1400440e5
lea rcx, str.invalid_stoull_argument
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const____ptr64_]
int3
cmp dword [rsi], 0x22
jne 0x1400440f8
lea rcx, str.stoull_argument_out_of_range
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x140043ff4
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140044137
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140044137
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004c2bc
jmp 0x140043ff4
call fcn.14004c2bc
mov qword [rbp - 0x20], 0
mov qword [rbp - 0x18], 0xf
mov byte [rbp - 0x30], 0
mov rax, qword [rbp + 0x20]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_istringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx + 0x20], rax
mov rax, qword [rbp + 0x20]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x90]
mov dword [rbp + rcx + 0x1c], edx
lea rcx, [rbp + 0x30]
call fcn.140049b80
lea rcx, [rbp + 0x38]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0xb0]
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 + 0x10]
cmp rdx, 0xf
jbe 0x1400441df
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400441da
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400441da
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004c2bc
mov rax, rdi
mov rcx, qword [rbp + 0x310]
xor rcx, rsp
call fcn.14004c120
mov rbx, qword [rsp + 0x470]
add rsp, 0x420
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140043940
nop
call fcn.140043940
nop
call fcn.14004a1e0
int3