Function at 0x180002040
Capabilities:
Connect to http server
Create http request
Parse url
Reference http user-agent string

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x1da0]
mov eax, 0x1ea0
call fcn.180013c60
sub rsp, rax
mov rax, qword [0x18001d050]
xor rax, rsp
mov qword [rbp + 0x1d90], rax
xor edx, edx
mov rbx, rcx
lea rcx, [rsp + 0x58]
lea r8d, [rdx + 0x60]
call fcn.18000c400
xor esi, esi
lea rcx, [rbp + 0xdc2]
xor edx, edx
mov r8d, 0x7ce
mov dword [rsp + 0x44], esi
mov word [rbp + 0xdc0], si
call fcn.18000c400
lea rcx, [rbp + 0xbb2]
xor edx, edx
mov r8d, 0x206
mov word [rbp + 0xbb0], si
call fcn.18000c400
lea rcx, [rbp + 0x1592]
xor edx, edx
mov r8d, 0x7fe
mov word [rbp + 0x1590], si
call fcn.18000c400
lea rcx, [rbp + 0x3b2]
xor edx, edx
mov r8d, 0x7fe
mov word [rbp + 0x3b0], si
call fcn.18000c400
lea rax, [rbp + 0xbb0]
lea r8, [rsp + 0x48]
mov qword [rsp + 0x68], rax
lea rax, [rbp + 0x1590]
lea rdx, [rbp + 0x3b0]
mov r9d, 0x3e000000
mov rcx, rbx
mov dword [rsp + 0x40], esi
mov qword [rbp - 0x68], rax
mov dword [rsp + 0x50], 0x68
mov dword [rsp + 0x70], 0x104
mov dword [rbp - 0x60], 0x400
mov dword [rsp + 0x48], 0x400
call qword [sym.imp.WININET.dll_InternetCanonicalizeUrlW]
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rbp + 0x3b0]
repne scasw ax, word [rdi]
lea r9, [rsp + 0x50]
xor r8d, r8d
not rcx
lea rdx, [rcx - 1]
lea rcx, [rbp + 0x3b0]
call qword [sym.imp.WININET.dll_InternetCrackUrlW]
lea rcx, [rbp - 0x3f]
xor edx, edx
mov r8d, 0x3e7
mov byte [rbp - 0x40], sil
call fcn.18000c400
lea r8, [rsp + 0x4c]
lea rdx, [rbp - 0x40]
xor ecx, ecx
mov dword [rsp + 0x4c], 0x3e8
call qword [sym.imp.urlmon.dll_ObtainUserAgentString]
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rbp - 0x40]
lea r8, [rbp - 0x40]
lea edx, [rsi + 1]
repne scasb al, byte [rdi]
lea rax, [rbp + 0xdc0]
or r9d, 0xffffffff
not rcx
dec rcx
mov dword [rsp + 0x28], ecx
xor ecx, ecx
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea rcx, [rbp + 0xdc0]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], esi
call qword [sym.imp.WININET.dll_InternetOpenW]
mov qword [0x18001f648], rax
test rax, rax
je 0x1800023be
lea r9d, [rsi + 4]
lea r8, [rsp + 0x40]
lea edx, [rsi + 2]
mov rcx, rax
mov dword [rsp + 0x40], 0x7530
call qword [sym.imp.WININET.dll_InternetSetOptionW]
mov rcx, qword [0x18001f648]
lea r9d, [rsi + 4]
lea r8, [rsp + 0x40]
lea edx, [rsi + 5]
mov dword [rsp + 0x40], 0x2bf20
call qword [sym.imp.WININET.dll_InternetSetOptionW]
mov rcx, qword [0x18001f648]
lea r9d, [rsi + 4]
lea r8, [rsp + 0x40]
lea edx, [rsi + 6]
mov dword [rsp + 0x40], 0x2bf20
call qword [sym.imp.WININET.dll_InternetSetOptionW]
mov rcx, rbx
call qword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
movzx r8d, word [rsp + 0x74]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [0x18001f648]
mov qword [rsp + 0x38], rsi
mov dword [rsp + 0x30], esi
xor r9d, r9d
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], rsi
call qword [sym.imp.WININET.dll_InternetConnectW]
mov rcx, rax
mov qword [0x18001f650], rax
test rax, rax
je 0x1800023b9
mov eax, dword [rsp + 0x44]
cmp dword [rsp + 0x64], 4
mov r8, qword [rbp - 0x68]
mov qword [rsp + 0x38], rsi
mov edx, 0x803000
lea r9, str.HTTP_1.0
cmove eax, edx
lea rdx, str.POST
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
mov dword [rsp + 0x44], eax
call qword [sym.imp.WININET.dll_HttpOpenRequestW]
mov qword [0x18001f658], rax
test rax, rax
je 0x1800023b9
cmp dword [rsp + 0x64], 4
jne 0x180002328
lea r9d, [rsi + 4]
lea r8, [rsp + 0x44]
lea edx, [rsi + 0x1f]
mov rcx, rax
mov dword [rsp + 0x44], 0xf380
call qword [sym.imp.WININET.dll_InternetSetOptionW]
lea rdx, str.Content_Type:_application_x_www_form_urlencoded
lea rcx, [rbp + 0x3b0]
call qword [sym.imp.USER32.dll_wsprintfW]
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rbp + 0x3b0]
lea rdx, [rbp + 0x3b0]
mov r9d, 0x20000000
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
mov rcx, qword [0x18001f658]
call qword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
lea rdx, str.Connection:_Keep_Alive
lea rcx, [rbp + 0x3b0]
call qword [sym.imp.USER32.dll_wsprintfW]
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rbp + 0x3b0]
lea rdx, [rbp + 0x3b0]
mov r9d, 0x20000000
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
mov rcx, qword [0x18001f658]
call qword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
mov eax, 1
jmp 0x1800023c0
call fcn.180001fe0
xor eax, eax
mov rcx, qword [rbp + 0x1d90]
xor rcx, rsp
call fcn.180009400
lea r11, [rsp + 0x1ea0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret