Function at 0x1400027f0
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push rbp
push r12
push r13
lea rbp, [rsp - 0x1170]
mov eax, 0x1270
call fcn.14001e630
sub rsp, rax
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0x1290], rbx
mov qword [rsp + 0x1298], rsi
mov qword [rsp + 0x12a0], rdi
mov r12, r8
mov rsi, rdx
mov rbx, rcx
xor r13d, r13d
mov dword [rbp + 0x11a8], r13d
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [0x140032030]
call qword [sym.imp.WININET.dll_InternetOpenW]
mov rdi, rax
test rax, rax
je 0x140002ba2
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], 0x4000000
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov rbx, rax
test rax, rax
jne 0x14000289a
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x140002ba2
lea rcx, [rbp + 0x60]
call fcn.140004b10
nop
mov rcx, rbx
cmp qword [rbp + 0x100], 0
jne 0x1400028d9
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
lea rcx, [rbp + 0x108]
call fcn.140004bc0
lea rbx, vtable.std::ios_base.0
jmp 0x140002b8f
lea r9, [rbp + 0x11a8]
mov r8d, 0x1000
lea rdx, [rbp + 0x170]
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x14000293e
nop word [rax + rax]
mov eax, dword [rbp + 0x11a8]
test eax, eax
je 0x14000293e
mov r8d, eax
lea rdx, [rbp + 0x170]
lea rcx, [rbp + 0x60]
call fcn.140003e80
lea r9, [rbp + 0x11a8]
mov r8d, 0x1000
lea rdx, [rbp + 0x170]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x140002900
lea rcx, [rbp + 0x68]
call fcn.140006ce0
test rax, rax
jne 0x140002971
mov rax, qword [rbp + 0x60]
movsxd rcx, dword [rax + 4]
lea rcx, [rbp + rcx + 0x60]
mov edx, dword [rcx + 0x10]
or edx, 2
cmp qword [rcx + 0x48], 0
jne 0x140002969
or edx, 4
xor r8d, r8d
call fcn.140001e70
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
lea rcx, [rsp + 0x50]
call fcn.1400057b0
nop
cmp qword [rbp - 8], 0
jne 0x1400029b8
lea rcx, [rbp]
call fcn.140005860
lea rbx, vtable.std::ios_base.0
mov qword [rbp], rbx
lea rcx, [rbp]
call fcn.140009b58
nop
jmp 0x140002b83
mov rcx, qword [rsp + 0x50]
movsxd rax, dword [rcx + 4]
test byte [rsp + rax + 0x60], 6
jne 0x1400029fa
mov rcx, qword [rbp + rax - 0x68]
mov rax, qword [rcx]
mov dword [rsp + 0x20], 1
mov r9d, 1
xor r8d, r8d
lea rdx, [rsp + 0x30]
call qword [rax + 0x50]
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x30]
jmp 0x140002a04
mov rdx, qword [0x14002daf0]
mov rax, r13
movsxd rbx, eax
add rbx, rdx
movsxd rax, dword [rcx + 4]
test byte [rsp + rax + 0x60], 6
jne 0x140002a70
movsxd rax, dword [rcx + 4]
mov rcx, qword [rbp + rax - 0x68]
mov rax, qword [rcx]
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x30]
call qword [rax + 0x50]
movsxd r11, dword [rsp + 0x38]
add r11, qword [rsp + 0x30]
cmp r11, qword [0x14002daf0]
jne 0x140002a70
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rcx, [rsp + rcx + 0x50]
mov edx, dword [rcx + 0x10]
or edx, 2
cmp qword [rcx + 0x48], 0
jne 0x140002a68
or edx, 4
xor r8d, r8d
call fcn.140001e70
mov rcx, rbx
call fcn.14000cdd4
mov qword [rsi], rax
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.1400042a0
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
add rdx, rax
test byte [rdx + 0x10], 6
cmovne rdx, r13
test rdx, rdx
je 0x140002b20
mov dword [r12], ebx
lea rcx, [rsp + 0x60]
call fcn.140006ce0
test rax, rax
jne 0x140002adc
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rcx, [rsp + rcx + 0x50]
mov edx, dword [rcx + 0x10]
or edx, 2
cmp qword [rcx + 0x48], 0
jne 0x140002ad3
or edx, 4
xor r8d, r8d
call fcn.140001e70
nop
lea rcx, [rbp]
call fcn.140005860
lea rbx, vtable.std::ios_base.0
mov qword [rbp], rbx
lea rcx, [rbp]
call fcn.140009b58
nop
lea rcx, [rbp + 0x108]
call fcn.140004bc0
mov qword [rbp + 0x108], rbx
lea rcx, [rbp + 0x108]
call fcn.140009b58
mov al, 1
jmp 0x140002ba4
mov rcx, qword [rsi]
call fcn.14000f09c
mov qword [rsi], r13
mov dword [r12], r13d
lea rcx, [rsp + 0x60]
call fcn.140006ce0
test rax, rax
jne 0x140002b65
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rcx, [rsp + rcx + 0x50]
mov edx, dword [rcx + 0x10]
or edx, 2
cmp qword [rcx + 0x48], 0
jne 0x140002b5c
or edx, 4
xor r8d, r8d
call fcn.140001e70
nop
lea rcx, [rbp]
call fcn.140005860
lea rbx, vtable.std::ios_base.0
mov qword [rbp], rbx
lea rcx, [rbp]
call fcn.140009b58
nop
lea rcx, [rbp + 0x108]
call fcn.140004bc0
mov qword [rbp + 0x108], rbx
lea rcx, [rbp + 0x108]
call fcn.140009b58
xor al, al
lea r11, [rsp + 0x1270]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r13
pop r12
pop rbp
ret