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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
mov eax, 0x1130
call fcn.180026db0
sub rsp, rax
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, [0x18005a0c4]
call qword [sym.imp.WININET.dll_InternetOpenW]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x18001cffd
mov dword [rsp + 0x70], 1
mov rcx, qword [rsp + 0x1158]
call fcn.18001f230
mov eax, dword [rsp + 0x70]
jmp 0x18001d403
mov rcx, qword [rsp + 0x1140]
call fcn.1800071d0
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 3
lea rcx, [0x1800599bf]
mov qword [rsp + 0x20], rcx
lea r9, [0x1800599c9]
mov r8w, 0x1bb
mov rdx, rax
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.WININET.dll_InternetConnectA]
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x1140]
call fcn.1800071d0
mov rcx, rax
call qword [sym.imp.WININET.dll_DeleteUrlCacheEntryA]
cmp qword [rsp + 0x68], 0
jne 0x18001d095
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [rsp + 0x74], 0
mov rcx, qword [rsp + 0x1158]
call fcn.18001f230
mov eax, dword [rsp + 0x74]
jmp 0x18001d403
mov rcx, qword [rsp + 0x1148]
call fcn.1800071d0
mov qword [rsp + 0x98], rax
mov rcx, qword [rsp + 0x1150]
call fcn.1800071d0
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0x84880100
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rsp + 0x98]
mov rdx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.WININET.dll_HttpOpenRequestA]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x18001d141
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [rsp + 0x78], 0
mov rcx, qword [rsp + 0x1158]
call fcn.18001f230
mov eax, dword [rsp + 0x78]
jmp 0x18001d403
lea rdx, [0x1800599ca]
lea rcx, [rsp + 0xf0]
call fcn.1800073b0
mov rax, qword [rsp + 0x1158]
mov qword [rsp + 0x90], rax
mov rcx, qword [rsp + 0x90]
call fcn.180005500
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x90]
call fcn.180002250
mov qword [rsp + 0xa8], rax
jmp 0x18001d19c
mov rax, qword [rsp + 0x60]
add rax, 0x20
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0xa8]
cmp qword [rsp + 0x60], rax
je 0x18001d1f3
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0xb0], rax
lea r8, [0x18005a0c8]
mov rdx, qword [rsp + 0xb0]
lea rcx, [rsp + 0x110]
call fcn.18001fc20
mov rdx, rax
lea rcx, [rsp + 0xf0]
call fcn.1800192b0
lea rcx, [rsp + 0x110]
call fcn.1800072b0
jmp 0x18001d18e
mov dword [rsp + 0x40], 0
mov rcx, qword [rsp + 0x1160]
call fcn.180017770
mov dword [rsp + 0x7c], eax
mov rcx, qword [rsp + 0x1160]
call fcn.1800102d0
mov qword [rsp + 0xb8], rax
lea rcx, [rsp + 0xf0]
call fcn.1800071d0
mov qword [rsp + 0xc0], rax
mov eax, dword [rsp + 0x7c]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0xb8]
mov r8d, 0xffffffff
mov rdx, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x18001d2a4
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov qword [rsp + 0x20], 0
mov r9d, 7
mov r8d, 0x2f0c
mov rdx, qword [rsp + 0x48]
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetErrorDlg]
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 5
jle 0x18001d29f
jmp 0x18001d2a4
jmp 0x18001d1fb
mov dword [rsp + 0x54], 0
mov dword [rsp + 0x80], 4
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x80]
lea r8, [rsp + 0x54]
mov edx, 0x20000013
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WININET.dll_HttpQueryInfoW]
xor eax, eax
cmp eax, 1
je 0x18001d3b6
lea rax, [rsp + 0x130]
mov rdi, rax
xor eax, eax
mov ecx, 0x1000
rep stosb byte [rdi], al
lea r9, [rsp + 0x50]
mov r8d, 0x1000
lea rdx, [rsp + 0x130]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WININET.dll_InternetReadFile]
mov dword [rsp + 0x84], eax
cmp dword [rsp + 0x50], 0
jne 0x18001d32d
jmp 0x18001d3b6
cmp dword [rsp + 0x84], 0
jne 0x18001d33b
jmp 0x18001d3b6
mov eax, dword [rsp + 0x50]
lea rax, [rsp + rax + 0x130]
mov qword [rsp + 0xd0], rax
lea rdx, [rsp + 0xe0]
mov rcx, qword [rsp + 0x1168]
call fcn.18001f3d0
mov rax, qword [rax]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x130]
mov r8, qword [rsp + 0xd8]
lea rdx, [rsp + 0xe8]
mov rcx, qword [rsp + 0x1168]
call fcn.18001fb30
jmp 0x18001d2dd
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x88], eax
lea rcx, [rsp + 0xf0]
call fcn.1800072b0
mov rcx, qword [rsp + 0x1158]
call fcn.18001f230
mov eax, dword [rsp + 0x88]
add rsp, 0x1130
pop rdi
ret