Function at 0x1400a5be0
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 [0x14037a038]
xor rax, rsp
mov qword [rsp + 0x1e8], rax
lea r14, [rcx + 0x58]
mov rcx, r14
call fcn.14014f380
mov ebp, 0x80070057
test al, al
jne 0x1400a5cbd
mov rdi, qword [rsi + 8]
test rdi, rdi
jne 0x1400a5c75
mov rcx, qword [rsp + 0x1e8]
xor rcx, rsp
call fcn.140198b70
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 + 8]
mov qword [rsi + 0x10], rdi
call fcn.1401973c4
jmp 0x1400a5c38
mov rbx, qword [rsi + 0x10]
mov rcx, rdi
cmp rbx, rdi
je 0x1400a5c6a
add rbx, 0xffffffffffffffd0
jmp 0x1400a5ca2
mov rcx, qword [rbx + 0x18]
call fcn.1401973c4
cmp byte [rbx + 0x17], 0
js 0x1400a5cb3
lea rax, [rbx - 0x30]
cmp rbx, rdi
mov rbx, rax
je 0x1400a5c66
test rbx, rbx
je 0x1400a61c1
cmp byte [rbx + 0x2f], 0
jns 0x1400a5c90
jmp 0x1400a5c87
mov rcx, qword [rbx]
call fcn.1401973c4
jmp 0x1400a5c96
lea r15, [rsp + 0xa8]
mov rcx, rbx
mov rdx, r15
call fcn.14024eca0
lea rcx, [rbx + 0x20]
mov rax, qword [r15 + 8]
lea rdx, [rsp + 0x70]
mov qword [rdx], rax
call fcn.1401ef840
cmp byte [r15 + 0x10], 0
jne 0x1400a61b8
cmp qword [rbx + 0x28], 0
jne 0x1400a5d44
call fcn.14028b0f0
mov ebp, eax
jmp 0x1400a5c2f
call fcn.14028b0f0
mov ebp, eax
cmp byte [rsp + 0x88], 0
je 0x1400a5c2f
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x1400a5d28
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rsp + 0x80]
test rcx, rcx
je 0x1400a5c2f
call qword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x1400a5c2f
movaps xmm6, xmmword [0x140307280]
movaps xmmword [rsp + 0x80], xmm6
movaps xmmword [rsp + 0x70], xmm6
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x1400a61bb
mov rcx, qword [rbx + 0x18]
mov r8, qword [rax]
lea rdx, [rsp + 0x70]
mov r9, r14
call fcn.14024de00
lea r15, [rsp + 0xa8]
mov rcx, rbx
mov rdx, r15
call fcn.14024ed80
lea rcx, [rbx + 0x38]
mov rax, qword [r15 + 8]
lea r14, [rsp + 0x50]
mov qword [r14], rax
mov rdx, r14
call fcn.1401ef840
cmp byte [r15 + 0x10], 0
jne 0x1400a61be
mov rcx, qword [rbx + 0x40]
test rcx, rcx
je 0x1400a5d03
lea rdx, [rsp + 0x70]
call fcn.14024e170
mov rcx, qword [rbx + 0x40]
lea rdx, [0x14024ee70]
mov r8d, 0xffffffff
xor r9d, r9d
call qword [sym.imp.WINHTTP.dll_WinHttpSetStatusCallback]
cmp rax, 0xffffffffffffffff
je 0x1400a5d03
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 0x1400a5e1d
call fcn.14028b0f0
mov ebp, eax
test eax, eax
js 0x1400a5d0a
lea rcx, [rbx + 0x50]
mov rdx, rbx
call fcn.14024f4e0
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 0x1400a5e60
call fcn.14028b0f0
mov ebp, eax
test eax, eax
js 0x1400a5d0a
movzx eax, byte [rbx + 0x14f]
test al, al
jns 0x1400a5e74
mov rcx, qword [rbx + 0x140]
jmp 0x1400a5e77
mov rcx, rax
test rcx, rcx
je 0x1400a5f43
mov byte [rsp + 0xbf], ntohl
lea rcx, [0x14031be28]
lea rdx, [rsp + 0xa8]
cmp rdx, rcx
ja 0x1400a5ead
lea rdx, [rsp + 0xb4]
cmp rdx, rcx
ja 0x1400a6245
movabs rdx, 0x2d746e65746e6f43
lea rcx, [rsp + 0xc0]
mov qword [rcx - 0x18], rdx
mov dword [rcx - 0x10], 0x65707954
mov byte [rcx - 0xc], 0
test al, al
js 0x1400a5ee9
lea rax, [rbx + 0x138]
mov rdx, qword [rax + 0x10]
mov qword [rcx + 0x10], rdx
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
jmp 0x1400a5efc
mov rdx, qword [rbx + 0x138]
mov r8, qword [rbx + 0x140]
call fcn.14004c5e0
lea rdx, [rsp + 0x50]
lea r12, [rsp + 0xa8]
mov rcx, rsi
mov r8, r12
mov r9, r12
call fcn.1401d1d00
cmp byte [r12 + 0x2f], 0
jns 0x1400a5f2c
mov rcx, qword [rsp + 0xc0]
call fcn.1401973c4
cmp byte [rsp + 0xbf], 0
jns 0x1400a5f43
mov rcx, qword [rsp + 0xa8]
call fcn.1401973c4
mov rbp, qword [rsi + 8]
mov r15, qword [rsi + 0x10]
cmp rbp, r15
jne 0x1400a5f67
mov rcx, rbx
mov rdx, rdi
call fcn.14024f530
mov ebp, eax
sar ebp, 0x1f
and ebp, eax
jmp 0x1400a5d0a
add rbp, 0x18
lea r13, [rsp + 0x28]
lea r12, [rsp + 0x40]
jmp 0x1400a6089
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.140211090
mov r8d, 0x22
lea rcx, [rsp + 0xb8]
lea rdx, str.Failed_to_set_the_request_header:
call fcn.1401d1390
mov rcx, rax
mov rdx, r14
call fcn.140071d60
lea rcx, [rsp + 0xa8]
call fcn.140211110
jmp 0x1400a6064
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], rax
test rax, rax
js 0x1400a61ed
test rcx, rcx
jne 0x1400a6005
test rax, rax
jne 0x1400a6219
mov rcx, r14
mov rdx, r12
call fcn.1400d7710
cmp byte [rsp + 0x3f], 0
jns 0x1400a6021
mov rcx, qword [rsp + 0x28]
call fcn.1401973c4
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 0x1400a6064
mov ecx, 2
call fcn.140147580
test al, al
jne 0x1400a5f7a
cmp byte [rsp + 0x67], 0
jns 0x1400a6075
mov rcx, qword [rsp + 0x50]
call fcn.1401973c4
lea rax, [rbp + 0x30]
add rbp, 0x18
cmp rbp, r15
mov rbp, rax
je 0x1400a5f50
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x60], rax
movaps xmmword [rsp + 0x50], xmm6
movzx eax, byte [rbp - 1]
test al, al
js 0x1400a6172
lea rcx, [rbp - 0x18]
mov qword [rsp + 0xa8], rcx
mov qword [rsp + 0xb0], rax
test rcx, rcx
jne 0x1400a60cb
test rax, rax
jne 0x1400a6219
lea rax, [0x1403094ef]
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0xc0], 2
movzx eax, byte [rbp + 0x17]
test al, al
js 0x1400a6195
mov qword [rsp + 0xc8], rbp
mov qword [rsp + 0xd0], rax
mov rcx, rbp
test rcx, rcx
jne 0x1400a6113
test rax, rax
jne 0x1400a6219
lea rax, [0x14031be35]
mov qword [rsp + 0xd8], rax
mov qword [rsp + 0xe0], 2
mov qword [rsp + 0x98], 4
lea rax, [rsp + 0xa8]
mov qword [rsp + 0xa0], rax
mov rcx, r13
lea rdx, [rsp + 0x98]
call fcn.140141ba0
movzx eax, byte [rsp + 0x3f]
test al, al
js 0x1400a5fda
and eax, 0x7f
mov rcx, r13
jmp 0x1400a5fe4
mov rcx, qword [rbp - 0x18]
mov rax, qword [rbp - 0x10]
mov qword [rsp + 0xa8], rcx
mov qword [rsp + 0xb0], rax
test rax, rax
jns 0x1400a60bd
jmp 0x1400a61ed
mov rcx, qword [rbp]
mov rax, qword [rbp + 8]
mov qword [rsp + 0xc8], rcx
mov qword [rsp + 0xd0], rax
test rax, rax
jns 0x1400a6105
jmp 0x1400a61ed
int3
int3
int3
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.1401df1c0
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.1401df1c0
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.1401df1c0
lea rax, str.char_traits::copy_overlapped_range
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude__stringchar_traits.h
lea r9, str.__s2_____s1____s2_____s1____n
mov r8d, 0xf3
call fcn.1401df1c0
int3