Function at 0x140043ad0
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 0x140043b73
cmp qword [rbx + 0x18], 0xf
jbe 0x140043b3f
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 0x140043b7a
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor eax, eax
jmp 0x140044252
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 0x140043c3e
mov eax, dword [rbp - 0x10]
test eax, eax
je 0x140043c3e
mov edi, eax
mov rax, r15
sub rax, r14
cmp rdi, rax
ja 0x140043bfc
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 0x140043c14
mov qword [rsp + 0x20], rdi
lea r9, [rbp + 0x110]
mov rdx, rdi
lea rcx, [rbp - 8]
call fcn.14004a650
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 0x140043bb8
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, [0x14006e740]
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.14004a110
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.14004ac10
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 0x140044062
movabs rdi, 0x7fffffffffffffff
lea r14, [0x14006df04]
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, [0x14006df00]
mov rdx, qword [rbp - 0x20]
call fcn.14004a590
test rax, rax
je 0x140044022
mov rcx, qword [rsi + 0x10]
mov rax, rdi
sub rax, rcx
cmp rax, 1
jb 0x14004427c
mov r9, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x140043dc1
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.14004aaf0
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.14004a590
test rax, rax
je 0x140043ef5
mov rcx, qword [rsi + 0x10]
mov rax, rdi
sub rax, rcx
cmp rax, 1
jb 0x140044282
mov rax, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x140043e44
mov rax, qword [rsi]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 1
lea r9, [0x14006df0c]
lea rcx, [rsp + 0x60]
call fcn.14004aaf0
or ebx, 0x10
or ebx, 2
mov dword [rbp - 0x38], ebx
mov r8d, 1
lea rdx, [0x14006df08]
lea rcx, [rsp + 0x60]
call fcn.140049cb0
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.14004a590
cmp rax, 0xffffffffffffffff
jne 0x140043efd
xor r12b, r12b
jmp 0x140043f00
mov r15, qword [rbp - 0x48]
mov rdi, qword [rbp - 0x60]
mov r12b, 1
test bl, 4
je 0x140043f40
and ebx, 0xfffffffb
cmp r15, 0xf
jbe 0x140043f40
lea rdx, [r15 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140043f37
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400440a9
mov rcx, rdi
call fcn.14004c32c
nop
test bl, 2
je 0x140043f9c
and ebx, 0xfffffffd
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x140043f85
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140043f80
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400440b0
call fcn.14004c32c
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x78], 0xf
mov byte [rsp + 0x60], 0
test bl, 1
je 0x140043fdb
and ebx, 0xfffffffe
cmp r13, 0xf
jbe 0x140043fdb
lea rdx, [r13 + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x140043fd3
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400440b7
mov rcx, r14
call fcn.14004c32c
test r12b, r12b
je 0x140044011
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], 0xf
cmova rcx, qword [rbp - 0x30]
mov qword [rsp + 0x20], 1
lea r9, [0x14006df10]
mov rdx, qword [rbp - 0x20]
call fcn.14004a590
cmp rax, 0xffffffffffffffff
jne 0x1400440be
lea r14, [0x14006df04]
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.14004ac10
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 0x140043d70
xor edi, edi
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x1400441b6
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400441b1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400441b1
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 0x140044288
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.14004a7e0
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 0x140044155
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 0x140044168
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 0x140044064
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400441a7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400441a7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004c32c
jmp 0x140044064
call fcn.14004c32c
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.140049bf0
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 0x14004424f
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004424a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004424a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004c32c
mov rax, rdi
mov rcx, qword [rbp + 0x310]
xor rcx, rsp
call fcn.14004c190
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.1400439b0
nop
call fcn.1400439b0
nop
call fcn.14004a250
int3