Function at 0x1400a8c54
Capabilities:
Connect to http server
Parse url
Send data
Send http request

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 7]
sub rsp, 0xe8
mov qword [rbp - 0x21], 0xfffffffffffffffe
mov rax, qword [0x1401730f8]
xor rax, rsp
mov qword [rbp - 9], rax
mov qword [rbp - 0x19], r9
mov r15, r8
mov r13, rdx
mov rsi, rcx
mov eax, dword [rbp + 0x6f]
mov dword [rsp + 0x40], eax
mov r14d, dword [rbp + 0x77]
mov r12, qword [rbp + 0x7f]
xor ebx, ebx
mov qword [rsp + 0x58], rbx
mov qword [rbp - 0x79], rbx
mov qword [rbp - 0x69], rbx
mov qword [rbp - 0x59], rbx
mov qword [rbp - 0x49], rbx
mov qword [rbp - 0x39], rbx
mov dword [rsp + 0x50], 0x68
lea edi, [rbx + 1]
mov dword [rsp + 0x60], edi
mov dword [rbp - 0x71], edi
mov dword [rbp - 0x61], edi
mov dword [rbp - 0x51], edi
mov dword [rbp - 0x41], edi
mov dword [rbp - 0x31], edi
xor r8d, r8d
mov rdx, r15
lea rcx, [rsp + 0x50]
call fcn.1400a9d24
test eax, eax
je 0x1400a8cff
lea r9, [rsp + 0x50]
xor r8d, r8d
xor edx, edx
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCrackUrlW]
mov edx, dword [rbp - 0x7d]
mov eax, 0x800000
sub edx, 1
je 0x1400a8d65
sub edx, 1
je 0x1400a8d60
sub edx, 1
je 0x1400a8d59
cmp edx, 1
je 0x1400a8d4f
mov qword [rbp - 0x19], rbx
mov ecx, 0x2ee6
mov dword [rbp - 0x11], ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [rsp + 0x20], reloc.OLEAUT32.dll_SafeArrayGetDim
lea r9, [rbp - 0x19]
mov r8d, 0x64
mov rdx, r12
mov rcx, r13
call fcn.1400a8fa4
jmp 0x1400a8ed2
mov edi, 3
or r14d, eax
jmp 0x1400a8d65
mov edi, 3
jmp 0x1400a8d65
mov edi, 2
test eax, r14d
jne 0x1400a8d91
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], r14d
mov r9d, dword [rsp + 0x40]
mov r8, qword [rbp - 0x19]
mov rdx, r15
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov rbx, rax
jmp 0x1400a8ed2
mov rax, qword [rsi + 0xe0]
cmp qword [rax + 8], rbx
je 0x1400a8dbb
mov rdx, qword [rbp - 0x79]
mov rcx, qword [rsi + 0xe8]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1400a8dbb
mov rcx, rsi
call fcn.140011c00
mov rax, qword [rsi + 0xe0]
or r15, 0xffffffffffffffff
cmp qword [rax + 8], rbx
jne 0x1400a8e2e
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], edi
mov rax, qword [rbp - 0x59]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp - 0x69]
movzx r8d, word [rbp - 0x6d]
mov rdx, qword [rbp - 0x79]
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetConnectW]
mov rcx, qword [rbp - 0x79]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
movsxd rcx, eax
lea eax, [r15 + 3]
mul rcx
cmovo rax, r15
mov rcx, rax
call fcn.1400b321c
mov qword [rsi + 0xe8], rax
mov rdx, qword [rbp - 0x79]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov rcx, qword [rbp - 0x49]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [rbp - 0x31]
inc ecx
add ecx, eax
mov eax, 2
mul rcx
cmovo rax, r15
mov rcx, rax
call fcn.1400b321c
mov rdi, rax
mov rdx, qword [rbp - 0x49]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
cmp dword [rbp - 0x31], ebx
je 0x1400a8e75
mov rdx, qword [rbp - 0x39]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcatW]
mov rcx, qword [rsi + 0xe0]
mov qword [rsp + 0x38], r12
mov dword [rsp + 0x30], r14d
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
xor r9d, r9d
mov r8, rdi
lea rdx, [0x1400f4e60]
mov rcx, qword [rcx + 8]
call qword [sym.imp.WININET.dll_HttpOpenRequestW]
mov rsi, rax
mov rcx, rdi
call fcn.1400b3214
mov dword [rsp + 0x20], ebx
xor r9d, r9d
mov r8d, dword [rsp + 0x40]
mov rdx, qword [rbp - 0x19]
mov rcx, rsi
call qword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
je 0x1400a8ed2
mov rbx, rsi
mov rcx, qword [rsp + 0x58]
call fcn.1400b3214
mov rcx, qword [rbp - 0x79]
call fcn.1400b3214
mov rcx, qword [rbp - 0x69]
call fcn.1400b3214
mov rcx, qword [rbp - 0x59]
call fcn.1400b3214
mov rcx, qword [rbp - 0x49]
call fcn.1400b3214
mov rcx, qword [rbp - 0x39]
call fcn.1400b3214
mov rax, rbx
mov rcx, qword [rbp - 9]
xor rcx, rsp
call fcn.1400b31f0
add rsp, 0xe8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret