Function at 0x14000e600
Capabilities:
Initialize winhttp library
Prepare http request
Reference http user-agent string
Set http header

Disassembly:
mov r11, rsp
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0xe0
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [r11 + 0x20], rbx
mov rax, qword [0x14006a080]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
mov qword [rsp + 0x48], r8
movaps xmm0, xmmword [str.Mozilla_5.0__Windows_NT_10.0__WOW64__Trident_7.0__rv:11.0_]
movaps xmmword [rsp + 0x50], xmm0
movaps xmm1, xmmword [0x140059d40]
movaps xmmword [rsp + 0x60], xmm1
movaps xmm0, xmmword [0x140059d50]
movaps xmmword [rsp + 0x70], xmm0
movaps xmm1, xmmword [0x140059d60]
movaps xmmword [rsp + 0x80], xmm1
movaps xmm0, xmmword [0x140059d70]
movaps xmmword [r11 - 0x78], xmm0
movaps xmm1, xmmword [0x140059d80]
movaps xmmword [r11 - 0x68], xmm1
movaps xmm0, xmmword [0x140059d90]
movaps xmmword [r11 - 0x58], xmm0
mov eax, dword [0x140059da0]
mov dword [r11 - 0x48], eax
movzx eax, word [0x140059da4]
mov word [r11 - 0x44], ax
xor r15d, r15d
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x50]
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov r14, rax
test rax, rax
jne 0x14000e6f6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
xor edx, edx
xor ecx, ecx
call fcn.140003ed0
mov rcx, rax
mov r8d, ebx
lea rdx, str.WinHttpOpen_Fails___err:_0x_x
call fcn.140005c50
jmp 0x14000e854
mov edx, dword [rdi + 0xc]
cmp edx, 0xffffffff
je 0x14000e73d
mov dword [rsp + 0x20], edx
mov r9d, edx
mov r8d, edx
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
test eax, eax
jne 0x14000e73d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
xor edx, edx
xor ecx, ecx
call fcn.140003ed0
mov rcx, rax
mov r8d, ebx
lea rdx, str.Error__u_in_SetTimeouts._n
call fcn.140005c50
jmp 0x14000e84a
xor r9d, r9d
movzx r8d, word [rdi + 4]
mov rdx, rsi
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov rbp, rax
test rax, rax
jne 0x14000e781
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
xor edx, edx
xor ecx, ecx
call fcn.140003ed0
mov rcx, rax
mov r8d, ebx
lea rdx, str.WinHttpConnect_Fails___err:_0x_x
call fcn.140005c50
jmp 0x14000e84a
lea rdx, [rdi + 0x30]
cmp byte [rdi], r15b
je 0x14000e79e
cmp qword [rdx + 0x18], 8
jb 0x14000e794
mov rdx, qword [rdx]
mov dword [rsp + 0x30], 0x800000
jmp 0x14000e7ad
cmp qword [rdx + 0x18], 8
jb 0x14000e7a8
mov rdx, qword [rdx]
mov dword [rsp + 0x30], r15d
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
xor r9d, r9d
mov r8, rbx
mov rcx, rbp
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov rsi, rax
test rax, rax
jne 0x14000e7f3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
xor edx, edx
xor ecx, ecx
call fcn.140003ed0
mov rcx, rax
mov r8d, ebx
lea rdx, str.WinHttpOpenRequest_Fails___err:_0x_x
call fcn.140005c50
jmp 0x14000e84a
lea rdx, [rdi + 0x10]
cmp qword [rdx + 0x10], r15
jbe 0x14000e860
cmp qword [rdx + 0x18], 8
jb 0x14000e807
mov rdx, qword [rdx]
mov r9d, 0x20000000
mov r8d, 0xffffffff
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test eax, eax
jne 0x14000e860
xor edx, edx
xor ecx, ecx
call fcn.140003ed0
mov rcx, rax
lea rdx, str.WinHttpAddRequestHeaders_Fails
call fcn.1400068e0
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, rbp
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
nop
mov rcx, rdi
call fcn.14000e8b0
xor eax, eax
jmp 0x14000e888
mov ecx, 0x18
call fcn.14001fd78
mov rbx, rax
mov qword [rsp + 0x48], rax
mov qword [rax + 8], rbp
mov qword [rax + 0x10], rsi
mov qword [rax], r14
mov rcx, rdi
call fcn.14000e8b0
mov rax, rbx
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.14001fab0
mov rbx, qword [rsp + 0x128]
add rsp, 0xe0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret