Function at 0x18001c8d0
Capabilities:
Connect to http server
Create http request
Parse url

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
mov eax, 0x10d0
call fcn.180016ca0
sub rsp, rax
mov dword [rsp + 0x40], 0
lea rax, [rsp + 0x80]
mov rdi, rax
xor eax, eax
mov ecx, 0x68
rep stosb byte [rdi], al
mov dword [rsp + 0x44], 0
lea rax, [rsp + 0x8d0]
mov rdi, rax
xor eax, eax
mov ecx, 0x800
rep stosb byte [rdi], al
lea rax, [rsp + 0x4e0]
mov rdi, rax
xor eax, eax
mov ecx, 0x3e8
rep stosb byte [rdi], al
lea rax, [rsp + 0xf0]
mov rdi, rax
xor eax, eax
mov ecx, 0x3e8
rep stosb byte [rdi], al
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rax, qword [rsp + 0x10e0]
mov rcx, qword [rax + 0x20]
call qword [sym.imp.WININET.dll_InternetOpenW]
mov rcx, qword [rsp + 0x10e0]
mov qword [rcx + 8], rax
mov rax, qword [rsp + 0x10e0]
cmp qword [rax + 8], 0
jne 0x18001c991
xor eax, eax
jmp 0x18001cbf9
cmp qword [rsp + 0x10f0], 0
je 0x18001ca07
lea rax, [rsp + 0x60]
mov rdi, rax
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
mov dword [rsp + 0x50], 0x18
mov dword [rsp + 0x60], 3
mov rax, qword [rsp + 0x10f0]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], 0
mov r9d, dword [rsp + 0x50]
lea r8, [rsp + 0x60]
mov edx, 0x26
mov rax, qword [rsp + 0x10e0]
mov rcx, qword [rax + 8]
call qword [sym.imp.WININET.dll_InternetSetOptionW]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x5f
xor ecx, ecx
call qword [sym.imp.WININET.dll_InternetSetOptionW]
mov dword [rsp + 0x40], 0x2710
mov r9d, 4
lea r8, [rsp + 0x40]
mov edx, 2
mov rax, qword [rsp + 0x10e0]
mov rcx, qword [rax + 8]
call qword [sym.imp.WININET.dll_InternetSetOptionW]
mov dword [rsp + 0x40], 0x2bf20
mov r9d, 4
lea r8, [rsp + 0x40]
mov edx, 5
mov rax, qword [rsp + 0x10e0]
mov rcx, qword [rax + 8]
call qword [sym.imp.WININET.dll_InternetSetOptionW]
mov dword [rsp + 0x40], 0x2bf20
mov r9d, 4
lea r8, [rsp + 0x40]
mov edx, 6
mov rax, qword [rsp + 0x10e0]
mov rcx, qword [rax + 8]
call qword [sym.imp.WININET.dll_InternetSetOptionW]
mov rcx, qword [rsp + 0x10e8]
call qword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
mov dword [rsp + 0x80], 0x68
mov dword [rsp + 0xa0], 0x400
lea rax, [rsp + 0x8d0]
mov qword [rsp + 0x98], rax
mov dword [rsp + 0xd0], 0x1f4
lea rax, [rsp + 0x4e0]
mov qword [rsp + 0xc8], rax
mov dword [rsp + 0x44], 0x1f4
mov r9d, 0x3e000000
lea r8, [rsp + 0x44]
lea rdx, [rsp + 0xf0]
mov rcx, qword [rsp + 0x10e8]
call qword [sym.imp.WININET.dll_InternetCanonicalizeUrlW]
lea rax, [rsp + 0xf0]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x48], 0xffffffffffffffff
inc qword [rsp + 0x48]
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x48]
cmp word [rax + rcx*2], 0
jne 0x18001cb13
mov rax, qword [rsp + 0x48]
lea r9, [rsp + 0x80]
xor r8d, r8d
mov edx, eax
lea rcx, [rsp + 0xf0]
call qword [sym.imp.WININET.dll_InternetCrackUrlW]
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 + 0xa4]
mov rdx, qword [rsp + 0x98]
mov rax, qword [rsp + 0x10e0]
mov rcx, qword [rax + 8]
call qword [sym.imp.WININET.dll_InternetConnectW]
mov rcx, qword [rsp + 0x10e0]
mov qword [rcx + 0x10], rax
mov rax, qword [rsp + 0x10e0]
cmp qword [rax + 0x10], 0
jne 0x18001cbbd
mov rcx, qword [rsp + 0x10e0]
call fcn.18001c7f0
xor eax, eax
jmp 0x18001cbf9
mov r8, qword [rsp + 0xc8]
mov edx, 0x1f4
mov rax, qword [rsp + 0x10e0]
mov rcx, qword [rax + 0x18]
call fcn.1800079f8
cmp dword [rsp + 0x94], 4
jne 0x18001cbf4
mov rax, qword [rsp + 0x10e0]
mov dword [rax + 0x28], 1
mov eax, 1
add rsp, 0x10d0
pop rdi
ret