Function at 0x18000cb90
Capabilities:
Connect to http server
Create http request
Read data from internet
Receive data
Send data
Send http request

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x8d0
mov rax, qword [0x180030010]
xor rax, rsp
mov qword [rsp + 0x8c0], rax
mov dword [rsp + 0x40], 0
lea rdx, [0x1800279c0]
lea rcx, [rsp + 0xa0]
call fcn.1800114b0
nop
lea rcx, [0x1800279c0]
call fcn.18017d243
nop
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 1
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetOpenA]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
jne 0x18000cc4f
lea rdx, [rsp + 0xa0]
mov rcx, qword [rsp + 0x8e0]
call fcn.1800113b0
mov eax, dword [rsp + 0x40]
or eax, 1
mov dword [rsp + 0x40], eax
lea rcx, [rsp + 0xa0]
call fcn.180011320
nop
mov rcx, qword [rsp + 0x8e8]
call fcn.180011320
mov rax, qword [rsp + 0x8e0]
jmp 0x18000cf7e
lea rcx, [0x1800283f0]
call fcn.18017d243
nop
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8w, 0x50
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.WININET.dll_InternetConnectA]
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x70]
call fcn.1800a3ec0
nop
cmp qword [rsp + 0x58], 0
jne 0x18000ccfb
lea rdx, [rsp + 0xa0]
mov rcx, qword [rsp + 0x8e0]
call fcn.1800113b0
mov eax, dword [rsp + 0x40]
or eax, 1
mov dword [rsp + 0x40], eax
lea rcx, [rsp + 0xa0]
call fcn.180011320
nop
mov rcx, qword [rsp + 0x8e8]
call fcn.180011320
mov rax, qword [rsp + 0x8e0]
jmp 0x18000cf7e
mov rcx, qword [rsp + 0x8e8]
call fcn.180010e00
mov qword [rsp + 0x80], rax
lea rcx, [0x180028400]
call fcn.18017d243
nop
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0x80000000
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov rcx, qword [rsp + 0x80]
mov r8, rcx
mov rdx, rax
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.WININET.dll_HttpOpenRequestA]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x58], 0
jne 0x18000cdb1
lea rdx, [rsp + 0xa0]
mov rcx, qword [rsp + 0x8e0]
call fcn.1800113b0
mov eax, dword [rsp + 0x40]
or eax, 1
mov dword [rsp + 0x40], eax
lea rcx, [rsp + 0xa0]
call fcn.180011320
nop
mov rcx, qword [rsp + 0x8e8]
call fcn.180011320
mov rax, qword [rsp + 0x8e0]
jmp 0x18000cf7e
lea rcx, [0x180028410]
call fcn.18017d243
nop
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0xc0]
mov rdi, rax
xor eax, eax
mov ecx, 0x400
rep stosb byte [rdi], al
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x48], 0xffffffffffffffff
inc qword [rsp + 0x48]
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x48]
cmp byte [rax + rcx], 0
jne 0x18000cdf0
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x78]
mov qword [rsp + 0x90], rcx
mov qword [rsp + 0x50], 0xffffffffffffffff
inc qword [rsp + 0x50]
mov rcx, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x50]
cmp byte [rcx + rdx], 0
jne 0x18000ce23
mov rcx, qword [rsp + 0x50]
mov dword [rsp + 0x20], eax
lea r9, [rsp + 0xc0]
mov r8d, ecx
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x18000ceab
lea rdx, [rsp + 0xa0]
mov rcx, qword [rsp + 0x8e0]
call fcn.1800113b0
mov eax, dword [rsp + 0x40]
or eax, 1
mov dword [rsp + 0x40], eax
lea rcx, [rsp + 0xa0]
call fcn.180011320
nop
mov rcx, qword [rsp + 0x8e8]
call fcn.180011320
mov rax, qword [rsp + 0x8e0]
jmp 0x18000cf7e
lea rax, [rsp + 0x4c0]
mov rdi, rax
xor eax, eax
mov ecx, 0x400
rep stosb byte [rdi], al
mov dword [rsp + 0x98], 0
lea r9, [rsp + 0x98]
mov r8d, 0x3ff
lea rdx, [rsp + 0x4c0]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x18000cf1a
cmp dword [rsp + 0x98], 0
je 0x18000cf1a
mov eax, dword [rsp + 0x98]
mov r8d, eax
lea rdx, [rsp + 0x4c0]
lea rcx, [rsp + 0xa0]
call fcn.1800110d0
jmp 0x18000ceca
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
lea rdx, [rsp + 0xa0]
mov rcx, qword [rsp + 0x8e0]
call fcn.1800113b0
mov eax, dword [rsp + 0x40]
or eax, 1
mov dword [rsp + 0x40], eax
lea rcx, [rsp + 0xa0]
call fcn.180011320
nop
mov rcx, qword [rsp + 0x8e8]
call fcn.180011320
mov rax, qword [rsp + 0x8e0]
mov rcx, qword [rsp + 0x8c0]
xor rcx, rsp
call fcn.180024410
add rsp, 0x8d0
pop rdi
ret