Function at 0x14007405c
Capabilities:
Connect to http server
Create http request

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x150
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
mov rax, qword [0x1406ca7c8]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rbx, rdx
mov rdi, rcx
mov byte [rsp + 0x30], 0
and dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x211
lea r9, str.NGIOStack::CIOSecureT_class_NGIOStack::CIONetwork_::Open
lea r8, [0x1406e8c40]
mov rdx, qword [0x1406e8c68]
lea rcx, [r11 - 0xb8]
call fcn.14000a0b4
nop
lea rbp, [rdi + 0x90]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor esi, esi
lea r8d, [rsi + 3]
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.14001eba4
nop
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x40]
test al, al
jne 0x1400742a4
mov ebx, dword [rdi + 0x24]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + pe_nt_image_headers64]
mov dword [rdi + 0x24], ebx
mov rcx, qword [rdi + 0xf0]
test rcx, rcx
je 0x14007413d
mov rax, qword [rcx]
call qword [rax + 0x118]
test al, al
je 0x14007413d
mov rax, qword [rdi]
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [rax + 0x140]
mov esi, eax
jmp 0x14007416b
mov rcx, qword [rdi + 0xf0]
test rcx, rcx
je 0x140074173
mov rax, qword [rcx]
call qword [rax + LoadRegTypeLib]
mov rdx, rax
cmp qword [rax + 0x18], 8
jb 0x14007415f
mov rdx, qword [rax]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x130]
test esi, esi
jne 0x140074296
cmp qword [rdi + 0x120], 0
jne 0x140074187
mov esi, 0x83e8f4ff
jmp 0x140074296
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.14001ee44
test al, al
je 0x140074291
and dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
lea rcx, [0x140597734]
call qword [sym.imp.WININET.dll_InternetOpenW]
mov qword [rdi + 0x188], rax
test rax, rax
jne 0x1400741ee
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.InternetOpen_failed__last_error___d
mov r8d, 0x248
mov edx, 0x80
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0xa0]
call fcn.14000a4e0
jmp 0x14007417d
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.14001ee44
test al, al
je 0x140074291
lea rcx, [rdi + 0x130]
cmp qword [rcx + 0x18], 8
jb 0x140074213
mov rcx, qword [rcx]
call fcn.14025c2d8
mov byte [rdi + 0x190], 1
lea rdx, [rdi + 0x110]
cmp qword [rdx + 0x18], 8
jb 0x140074230
mov rdx, qword [rdx]
and qword [rsp + 0x38], 0
and dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 3
and qword [rsp + 0x20], 0
xor r9d, r9d
movzx r8d, ax
mov rcx, qword [rdi + 0x188]
call qword [sym.imp.WININET.dll_InternetConnectW]
mov qword [rdi + 0x180], rax
test rax, rax
jne 0x140074281
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.InternetConnect_failed__last_error___d
mov r8d, 0x261
jmp 0x1400741d6
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.14001ee44
test al, al
jne 0x1400742a4
mov esi, 0x83e8f4fd
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + pe_nt_image_headers64]
jmp 0x1400742a7
inc dword [rdi + 0x24]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
lea rcx, [rsp + 0x50]
call fcn.14001eeb0
nop
lea rcx, [rsp + 0xa0]
call fcn.14000a1fc
mov eax, esi
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.14024cd60
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret