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

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
mov eax, 0x1150
call fcn.180061240
sub rsp, rax
mov qword [rsp + 0x1138], 0xfffffffffffffffe
mov rax, qword [0x180084090]
xor rax, rsp
mov qword [rsp + 0x1148], rax
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x40], 0
lea rcx, [rsp + 0x58]
call fcn.180001700
nop
mov dword [rsp + 0x48], 0
cmp qword [rsp + 0x1160], 0
je 0x18000a099
xor eax, eax
mov rcx, 0xffffffffffffffff
mov rdi, qword [rsp + 0x1160]
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
test rcx, rcx
jne 0x18000a09e
jmp 0x18000a5a6
lea rcx, [rsp + 0x1118]
call fcn.180001700
nop
lea rcx, [rsp + 0x1128]
call fcn.180001700
nop
mov eax, 0x50
mov word [rsp + 0x1124], ax
lea rdi, [rsp + 0x70]
xor eax, eax
mov ecx, 0x68
rep stosb byte [rdi], al
mov dword [rsp + 0x70], 0x68
mov edx, 0x104
lea rcx, [rsp + 0x1118]
call fcn.180001df0
mov qword [rsp + 0x88], rax
mov dword [rsp + 0x90], 0x104
mov edx, 0x1388
lea rcx, [rsp + 0x1128]
call fcn.180001df0
mov qword [rsp + 0xb8], rax
mov dword [rsp + 0xc0], 0x1388
xor eax, eax
mov rcx, 0xffffffffffffffff
mov rdi, qword [rsp + 0x1160]
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
lea r9, [rsp + 0x70]
xor r8d, r8d
mov edx, ecx
mov rcx, qword [rsp + 0x1160]
call qword [sym.imp.WININET.dll_InternetCrackUrlW]
mov dword [rsp + 0x1110], eax
movzx eax, word [rsp + 0x94]
mov word [rsp + 0x1124], ax
mov edx, 0xffffffff
lea rcx, [rsp + 0x1118]
call fcn.1800037a0
mov edx, 0xffffffff
lea rcx, [rsp + 0x1128]
call fcn.1800037a0
cmp dword [rsp + 0x1110], 0
jne 0x18000a1bf
lea rcx, [rsp + 0x1128]
call fcn.1800017c0
nop
lea rcx, [rsp + 0x1118]
call fcn.1800017c0
jmp 0x18000a5a6
cmp dword [rsp + 0x84], 4
je 0x18000a1f3
cmp dword [rsp + 0x84], 3
je 0x18000a1f3
lea rcx, [rsp + 0x1128]
call fcn.1800017c0
nop
lea rcx, [rsp + 0x1118]
call fcn.1800017c0
jmp 0x18000a5a6
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 1
xor ecx, ecx
call qword [sym.imp.WININET.dll_InternetOpenW]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x18000a23b
lea rcx, [rsp + 0x1128]
call fcn.1800017c0
nop
lea rcx, [rsp + 0x1118]
call fcn.1800017c0
jmp 0x18000a5a6
lea rcx, [rsp + 0x1118]
call fcn.18000b4f0
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], 0
xor r9d, r9d
movzx r8d, word [rsp + 0x1124]
mov rdx, rax
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.WININET.dll_InternetConnectW]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x18000a2b1
lea rcx, [rsp + 0x1128]
call fcn.1800017c0
nop
lea rcx, [rsp + 0x1118]
call fcn.1800017c0
jmp 0x18000a5a6
mov qword [rsp + 0x1108], 0
cmp qword [rsp + 0x1170], 0
je 0x18000a2d2
cmp dword [rsp + 0x1178], 0
jne 0x18000a2fa
mov qword [rsp + 0x1170], 0
mov dword [rsp + 0x1178], 0
lea rax, [0x180074dc8]
mov qword [rsp + 0x1108], rax
jmp 0x18000a309
lea rax, str.POST
mov qword [rsp + 0x1108], rax
cmp dword [rsp + 0x84], 4
jne 0x18000a320
mov dword [rsp + 0x1140], 0x800000
jmp 0x18000a32b
mov dword [rsp + 0x1140], 0
mov eax, dword [rsp + 0x1140]
mov dword [rsp + 0x1120], eax
mov edi, dword [rsp + 0x1120]
or edi, 0x4003000
or edi, 0x80000
or edi, 0x200000
lea rcx, [rsp + 0x1128]
call fcn.18000b4f0
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], edi
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, rax
mov rdx, qword [rsp + 0x1108]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.WININET.dll_HttpOpenRequestW]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x18000a3c4
lea rcx, [rsp + 0x1128]
call fcn.1800017c0
nop
lea rcx, [rsp + 0x1118]
call fcn.1800017c0
jmp 0x18000a5a6
mov dword [rsp + 0x68], 1
mov r9d, 4
lea r8, [rsp + 0x68]
mov edx, 0x41
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WININET.dll_InternetSetOptionA]
mov dword [rsp + 0x6c], 4
lea r9, [rsp + 0x6c]
lea r8, [rsp + 0x1100]
mov edx, 0x1f
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WININET.dll_InternetQueryOptionW]
mov eax, dword [rsp + 0x1100]
or eax, 0x3380
mov dword [rsp + 0x1100], eax
mov r9d, 4
lea r8, [rsp + 0x1100]
mov edx, 0x1f
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WININET.dll_InternetSetOptionW]
lea rcx, [rsp + 0xe8]
call fcn.180001700
nop
lea rdx, str.Accept_Encoding:_gzip__deflate_r_nConnection:_Close
lea rcx, [rsp + 0xe8]
call fcn.1800017e0
mov rdx, qword [rsp + 0x1168]
lea rcx, [rsp + 0xe8]
call fcn.180002c50
lea rcx, [rsp + 0xe8]
call fcn.18000b500
mov edi, eax
lea rcx, [rsp + 0xe8]
call fcn.180003370
mov rdx, rax
mov eax, dword [rsp + 0x1178]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x1170]
mov r8d, edi
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x18000a4f3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x1130], eax
lea rcx, [rsp + 0xe8]
call fcn.1800017c0
nop
lea rcx, [rsp + 0x1128]
call fcn.1800017c0
nop
lea rcx, [rsp + 0x1118]
call fcn.1800017c0
jmp 0x18000a5a6
mov dword [rsp + 0xe0], 0
mov dword [rsp + 0xf0], 1
lea r9, [rsp + 0xe0]
mov r8d, 0x1000
lea rdx, [rsp + 0x100]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WININET.dll_InternetReadFile]
mov dword [rsp + 0xf0], eax
cmp dword [rsp + 0xf0], 0
je 0x18000a545
cmp dword [rsp + 0xe0], 0
jne 0x18000a547
jmp 0x18000a56b
mov r8d, dword [rsp + 0xe0]
lea rdx, [rsp + 0x100]
mov rcx, qword [rsp + 0x1180]
call fcn.180001090
xor eax, eax
cmp eax, 1
jne 0x18000a509
mov dword [rsp + 0x48], 1
lea rcx, [rsp + 0xe8]
call fcn.1800017c0
nop
lea rcx, [rsp + 0x1128]
call fcn.1800017c0
nop
lea rcx, [rsp + 0x1118]
call fcn.1800017c0
xor eax, eax
test eax, eax
jne 0x18000a06e
cmp dword [rsp + 0x48], 0
jne 0x18000a5ba
mov rcx, qword [rsp + 0x1180]
call fcn.180001050
cmp qword [rsp + 0x40], 0
je 0x18000a5cd
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
cmp qword [rsp + 0x60], 0
je 0x18000a5e0
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
cmp qword [rsp + 0x50], 0
je 0x18000a5f3
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x1134], eax
lea rcx, [rsp + 0x58]
call fcn.1800017c0
mov eax, dword [rsp + 0x1134]
mov rcx, qword [rsp + 0x1148]
xor rcx, rsp
call fcn.18004f770
add rsp, 0x1150
pop rdi
ret