Function at 0x18001cf70
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.180026d90
sub rsp, rax
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, [0x18005a0ac]
call qword [sym.imp.WININET.dll_InternetOpenW]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x18001cfdd
mov dword [rsp + 0x70], 1
mov rcx, qword [rsp + 0x1158]
call fcn.18001f210
mov eax, dword [rsp + 0x70]
jmp 0x18001d3e3
mov rcx, qword [rsp + 0x1140]
call fcn.1800071b0
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.1800071b0
mov rcx, rax
call qword [sym.imp.WININET.dll_DeleteUrlCacheEntryA]
cmp qword [rsp + 0x68], 0
jne 0x18001d075
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [rsp + 0x74], 0
mov rcx, qword [rsp + 0x1158]
call fcn.18001f210
mov eax, dword [rsp + 0x74]
jmp 0x18001d3e3
mov rcx, qword [rsp + 0x1148]
call fcn.1800071b0
mov qword [rsp + 0x98], rax
mov rcx, qword [rsp + 0x1150]
call fcn.1800071b0
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 0x18001d121
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.18001f210
mov eax, dword [rsp + 0x78]
jmp 0x18001d3e3
lea rdx, [0x1800599ca]
lea rcx, [rsp + 0xf0]
call fcn.180007390
mov rax, qword [rsp + 0x1158]
mov qword [rsp + 0x90], rax
mov rcx, qword [rsp + 0x90]
call fcn.1800054e0
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x90]
call fcn.180002230
mov qword [rsp + 0xa8], rax
jmp 0x18001d17c
mov rax, qword [rsp + 0x60]
add rax, 0x20
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0xa8]
cmp qword [rsp + 0x60], rax
je 0x18001d1d3
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0xb0], rax
lea r8, [0x18005a0b0]
mov rdx, qword [rsp + 0xb0]
lea rcx, [rsp + 0x110]
call fcn.18001fc00
mov rdx, rax
lea rcx, [rsp + 0xf0]
call fcn.180019290
lea rcx, [rsp + 0x110]
call fcn.180007290
jmp 0x18001d16e
mov dword [rsp + 0x40], 0
mov rcx, qword [rsp + 0x1160]
call fcn.180017750
mov dword [rsp + 0x7c], eax
mov rcx, qword [rsp + 0x1160]
call fcn.1800102b0
mov qword [rsp + 0xb8], rax
lea rcx, [rsp + 0xf0]
call fcn.1800071b0
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 0x18001d284
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 0x18001d27f
jmp 0x18001d284
jmp 0x18001d1db
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 0x18001d396
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 0x18001d30d
jmp 0x18001d396
cmp dword [rsp + 0x84], 0
jne 0x18001d31b
jmp 0x18001d396
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.18001f3b0
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.18001fb10
jmp 0x18001d2bd
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.180007290
mov rcx, qword [rsp + 0x1158]
call fcn.18001f210
mov eax, dword [rsp + 0x88]
add rsp, 0x1130
pop rdi
ret