Function at 0x140074408
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 [0x14017a140]
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, [0x140183498]
mov rdx, qword [0x1401834c0]
lea rcx, [r11 - 0xb8]
call fcn.140003374
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.14000ed58
nop
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x40]
test al, al
jne 0x140074650
mov ebx, dword [rdi + 0x24]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x138]
mov dword [rdi + 0x24], ebx
mov rcx, qword [rdi + 0xf0]
test rcx, rcx
je 0x1400744e9
mov rax, qword [rcx]
call qword [rax + 0x118]
test al, al
je 0x1400744e9
mov rax, qword [rdi]
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [rax + pe_nt_image_headers64]
mov esi, eax
jmp 0x140074517
mov rcx, qword [rdi + 0xf0]
test rcx, rcx
je 0x14007451f
mov rax, qword [rcx]
call qword [rax + RegisterTypeLib]
mov rdx, rax
cmp qword [rax + 0x18], 8
jb 0x14007450b
mov rdx, qword [rax]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x130]
test esi, esi
jne 0x140074642
cmp qword [rdi + 0x120], 0
jne 0x140074533
mov esi, 0x83e8f4ff
jmp 0x140074642
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.14000eff8
test al, al
je 0x14007463d
and dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
lea rcx, [0x14011b864]
call qword [sym.imp.WININET.dll_InternetOpenW]
mov qword [rdi + 0x188], rax
test rax, rax
jne 0x14007459a
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.1400037a4
jmp 0x140074529
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.14000eff8
test al, al
je 0x14007463d
lea rcx, [rdi + 0x130]
cmp qword [rcx + 0x18], 8
jb 0x1400745bf
mov rcx, qword [rcx]
call fcn.1400d03f0
mov byte [rdi + 0x190], 1
lea rdx, [rdi + 0x110]
cmp qword [rdx + 0x18], 8
jb 0x1400745dc
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 0x14007462d
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.InternetConnect_failed__last_error___d
mov r8d, 0x261
jmp 0x140074582
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.14000eff8
test al, al
jne 0x140074650
mov esi, 0x83e8f4fd
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x138]
jmp 0x140074653
inc dword [rdi + 0x24]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
lea rcx, [rsp + 0x50]
call fcn.14000f064
nop
lea rcx, [rsp + 0xa0]
call fcn.1400034bc
mov eax, esi
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1400b9f80
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