Function at 0x1400ae120
Capabilities:
Set http header

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x208
movaps xmmword [rsp + 0x1f0], xmm6
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x14037e038]
xor rax, rsp
mov qword [rsp + 0x1e8], rax
lea r14, [rcx + 0x58]
mov rcx, r14
call fcn.140153750
mov ebp, 0x80070057
test al, al
jne 0x1400ae1fb
mov rdi, qword [rsi]
test rdi, rdi
jne 0x1400ae1b3
mov rcx, qword [rsp + 0x1e8]
xor rcx, rsp
call fcn.1401a2070
mov eax, ebp
movaps xmm6, xmmword [rsp + 0x1f0]
add rsp, 0x208
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, qword [rsi]
mov qword [rsi + 8], rdi
call fcn.1401a08c8
jmp 0x1400ae177
mov rbx, qword [rsi + 8]
mov rcx, rdi
cmp rbx, rdi
je 0x1400ae1a8
add rbx, 0xffffffffffffffd0
jmp 0x1400ae1e0
mov rcx, qword [rbx + 0x18]
call fcn.1401a08c8
cmp byte [rbx + 0x17], 0
js 0x1400ae1f1
lea rax, [rbx - 0x30]
cmp rbx, rdi
mov rbx, rax
je 0x1400ae1a5
test rbx, rbx
je 0x1400ae6ee
cmp byte [rbx + 0x2f], 0
jns 0x1400ae1ce
jmp 0x1400ae1c5
mov rcx, qword [rbx]
call fcn.1401a08c8
jmp 0x1400ae1d4
lea r15, [rsp + 0xa8]
mov rcx, rbx
mov rdx, r15
call fcn.140246540
lea rcx, [rbx + 0x20]
mov rax, qword [r15 + 8]
lea rdx, [rsp + 0x70]
mov qword [rdx], rax
call fcn.1401eefb0
cmp byte [r15 + 0x10], 0
jne 0x1400ae71a
cmp qword [rbx + 0x28], 0
jne 0x1400ae44d
call fcn.140280f70
mov ebp, eax
jmp 0x1400ae16f
and eax, 0x7f
mov rcx, r13
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], rax
test rax, rax
js 0x1400ae421
test rcx, rcx
jne 0x1400ae26c
test rax, rax
jne 0x1400ae723
mov rcx, r14
mov rdx, r12
call fcn.1400e0e90
cmp byte [rsp + 0x3f], 0
jns 0x1400ae288
mov rcx, qword [rsp + 0x28]
call fcn.1401a08c8
movzx eax, byte [rsp + 0x67]
mov r8d, eax
and r8d, 0x7f
test al, al
cmovs r8d, dword [rsp + 0x58]
mov rdx, qword [rsp + 0x50]
cmovns rdx, r14
mov rcx, qword [rbx + 0x40]
mov r9d, 0xa0000000
call qword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test eax, eax
jne 0x1400ae2cb
mov ecx, 2
call fcn.14014c5f0
test al, al
jne 0x1400ae5a7
cmp byte [rsp + 0x67], 0
jns 0x1400ae2dc
mov rcx, qword [rsp + 0x50]
call fcn.1401a08c8
lea rax, [rbp + 0x30]
add rbp, 0x18
cmp rbp, r15
mov rbp, rax
je 0x1400ae6d7
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x60], rax
movaps xmmword [rsp + 0x50], xmm6
movzx eax, byte [rbp - 1]
test al, al
js 0x1400ae3dd
lea rcx, [rbp - 0x18]
mov qword [rsp + 0xa8], rcx
mov qword [rsp + 0xb0], rax
test rcx, rcx
jne 0x1400ae332
test rax, rax
jne 0x1400ae723
lea rax, [0x140308f51]
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0xc0], 2
movzx eax, byte [rbp + 0x17]
test al, al
js 0x1400ae400
mov qword [rsp + 0xc8], rbp
mov qword [rsp + 0xd0], rax
mov rcx, rbp
test rcx, rcx
jne 0x1400ae37a
test rax, rax
jne 0x1400ae723
lea rax, [0x14031fe75]
mov qword [rsp + 0xd8], rax
mov qword [rsp + 0xe0], 2
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xa0], 4
mov rcx, r13
lea rdx, [rsp + 0x98]
call fcn.140146690
movzx eax, byte [rsp + 0x3f]
test al, al
jns 0x1400ae245
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
jmp 0x1400ae24b
mov rcx, qword [rbp - 0x18]
mov rax, qword [rbp - 0x10]
mov qword [rsp + 0xa8], rcx
mov qword [rsp + 0xb0], rax
test rax, rax
jns 0x1400ae324
jmp 0x1400ae421
mov rcx, qword [rbp]
mov rax, qword [rbp + 8]
mov qword [rsp + 0xc8], rcx
mov qword [rsp + 0xd0], rax
test rax, rax
jns 0x1400ae36c
lea rax, str.string_view::string_view__CharT___size_t_:_length_does_not_fit_in_difference_type
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude_string_view
lea r9, str.__len___static_cast_size_type__numeric_limits_difference_type_::max___
mov r8d, 0x13a
call fcn.1401de150
movaps xmm6, xmmword [0x1402fd120]
movaps xmmword [rsp + 0x80], xmm6
movaps xmmword [rsp + 0x70], xmm6
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x1400ae71d
mov rcx, qword [rbx + 0x18]
mov r8, qword [rax]
lea rdx, [rsp + 0x70]
mov r9, r14
call fcn.1402456b0
lea r15, [rsp + 0xa8]
mov rcx, rbx
mov rdx, r15
call fcn.140246620
lea rcx, [rbx + 0x38]
mov rax, qword [r15 + 8]
lea r14, [rsp + 0x50]
mov qword [r14], rax
mov rdx, r14
call fcn.1401eefb0
cmp byte [r15 + 0x10], 0
jne 0x1400ae720
mov rcx, qword [rbx + 0x40]
test rcx, rcx
je 0x1400ae566
lea rdx, [rsp + 0x70]
call fcn.140245a10
mov rcx, qword [rbx + 0x40]
lea rdx, [0x140246710]
mov r8d, 0xffffffff
xor r9d, r9d
call qword [sym.imp.WINHTTP.dll_WinHttpSetStatusCallback]
cmp rax, 0xffffffffffffffff
je 0x1400ae566
mov rcx, qword [rbx + 0x40]
lea r8, [rsp + 0xa8]
mov qword [r8], rbx
mov edx, 0x2d
mov r9d, 8
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x1400ae51e
call fcn.140280f70
mov ebp, eax
test eax, eax
js 0x1400ae56d
lea rcx, [rbx + 0x50]
mov rdx, rbx
call fcn.140246d80
mov rcx, qword [rbx + 0x40]
lea r8, [rsp + 0xa8]
mov dword [r8], 1
mov edx, 0x3f
mov r9d, 4
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x1400ae607
call fcn.140280f70
mov ebp, eax
test eax, eax
js 0x1400ae56d
jmp 0x1400ae607
call fcn.140280f70
mov ebp, eax
cmp byte [rsp + 0x88], 0
je 0x1400ae16f
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x1400ae58b
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rsp + 0x80]
test rcx, rcx
je 0x1400ae16f
call qword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x1400ae16f
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0xa8]
lea rdx, str.....componentswinhttp_network_fetcher.cc
mov r8d, 0xf6
mov r9d, 2
call fcn.14020ed80
mov r8d, 0x22
lea rcx, [rsp + 0xb8]
lea rdx, str.Failed_to_set_the_request_header:
call fcn.1401daa50
mov rcx, rax
mov rdx, r14
call fcn.14006f680
lea rcx, [rsp + 0xa8]
call fcn.14020ee00
jmp 0x1400ae2cb
movzx eax, byte [rbx + 0x14f]
test al, al
jns 0x1400ae619
mov rax, qword [rbx + 0x140]
test rax, rax
je 0x1400ae6b8
lea rdx, [0x14031fe68]
lea rcx, [rsp + 0xa8]
call fcn.1401da740
lea rcx, [rsp + 0xc0]
cmp byte [rbx + 0x14f], 0
js 0x1400ae65e
lea rax, [rbx + 0x138]
mov rdx, qword [rax + 0x10]
mov qword [rcx + 0x10], rdx
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
jmp 0x1400ae671
mov rdx, qword [rbx + 0x138]
mov r8, qword [rbx + 0x140]
call fcn.14004a170
lea rdx, [rsp + 0x50]
lea r12, [rsp + 0xa8]
mov rcx, rsi
mov r8, r12
mov r9, r12
call fcn.140033330
cmp byte [r12 + 0x2f], 0
jns 0x1400ae6a1
mov rcx, qword [rsp + 0xc0]
call fcn.1401a08c8
cmp byte [rsp + 0xbf], 0
jns 0x1400ae6b8
mov rcx, qword [rsp + 0xa8]
call fcn.1401a08c8
mov rbp, qword [rsi]
mov r15, qword [rsi + 8]
cmp rbp, r15
je 0x1400ae6d7
add rbp, 0x18
lea r13, [rsp + 0x28]
lea r12, [rsp + 0x40]
jmp 0x1400ae2f0
mov rcx, rbx
mov rdx, rdi
call fcn.140246dd0
mov ebp, eax
sar ebp, 0x1f
and ebp, eax
jmp 0x1400ae56d
lea rax, str.null_pointer_given_to_destroy_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h
lea r9, str.__loc___nullptr
mov r8d, 0x44
call fcn.1401de150
int3
int3
int3
lea rax, str.string_view::string_view__CharT___size_t_:_received_nullptr
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude_string_view
lea r9, str.__len__0____s___nullptr
mov r8d, 0x13c
call fcn.1401de150
int3