Function at 0x140219b60
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 [0x140363040]
xor rax, rsp
mov qword [rsp + 0x1e8], rax
lea r14, [rcx + 0x58]
mov rcx, r14
call fcn.14010c0a0
mov ebp, 0x80070057
test al, al
jne 0x140219be9
lea rcx, [rsp + 0xa8]
mov qword [rcx], rsi
call fcn.1400e5ef0
mov rcx, qword [rsp + 0x1e8]
xor rcx, rsp
call fcn.140151210
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
lea r15, [rsp + 0xa8]
mov rcx, rbx
mov rdx, r15
call fcn.14021a0c0
lea rcx, [rbx + 0x20]
mov rax, qword [r15 + 8]
lea rdx, [rsp + 0x70]
mov qword [rdx], rax
call fcn.1402195f0
cmp byte [r15 + 0x10], 0
jne 0x14021a0ad
cmp qword [rbx + 0x28], 0
jne 0x140219c2f
call fcn.14025a520
mov ebp, eax
jmp 0x140219bab
movaps xmm6, xmmword [0x1402dffe0]
lea rdx, [rsp + 0x70]
movaps xmmword [rdx + 0x10], xmm6
movaps xmmword [rdx], xmm6
mov rax, qword [rbx + 0x10]
mov rcx, qword [rbx + 0x18]
mov r8, qword [rax + 0x10]
mov r9, r14
call fcn.140218cf0
lea r15, [rsp + 0xa8]
mov rcx, rbx
mov rdx, r15
call fcn.14021a1d0
lea rcx, [rbx + 0x38]
mov rax, qword [r15 + 8]
lea r14, [rsp + 0x50]
mov qword [r14], rax
mov rdx, r14
call fcn.1402195f0
cmp byte [r15 + 0x10], 0
jne 0x14021a0b0
mov rcx, qword [rbx + 0x40]
test rcx, rcx
je 0x140219cf0
lea rdx, [rsp + 0x70]
call fcn.140218ad0
mov rcx, qword [rbx + 0x40]
lea rdx, [0x14021a300]
mov r8d, 0xffffffff
xor r9d, r9d
call qword [sym.imp.WINHTTP.dll_WinHttpSetStatusCallback]
cmp rax, 0xffffffffffffffff
je 0x140219cf0
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 0x140219d31
call fcn.14025a520
mov ebp, eax
test eax, eax
js 0x140219cf7
jmp 0x140219d31
call fcn.14025a520
mov ebp, eax
cmp byte [rsp + 0x88], 0
je 0x140219bab
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x140219d15
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rsp + 0x80]
test rcx, rcx
je 0x140219bab
call qword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x140219bab
lea rcx, [rbx + 0x50]
mov rdx, rbx
call fcn.14021ad70
mov rcx, qword [rbx + 0x40]
lea r15, [rsp + 0xa8]
mov dword [r15], 1
mov edx, 0x3f
mov r8, r15
mov r9d, 4
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x140219d73
call fcn.14025a520
mov ebp, eax
test eax, eax
js 0x140219cf7
movsx rax, byte [rbx + 0x14f]
test rax, rax
jns 0x140219d87
mov rax, qword [rbx + 0x140]
test rax, rax
je 0x140219e13
lea rdx, [0x140305150]
lea rcx, [rsp + 0xa8]
call fcn.1400e6030
lea rcx, [rsp + 0xc0]
cmp byte [rbx + 0x14f], 0
jns 0x14021a06d
mov rdx, qword [rbx + 0x138]
mov r8, qword [rbx + 0x140]
call fcn.1400f37d0
lea rdx, [rsp + 0x50]
lea r12, [rsp + 0xa8]
mov rcx, rsi
mov r8, r12
mov r9, r12
call fcn.140032740
cmp byte [r12 + 0x2f], 0
jns 0x140219dfc
mov rcx, qword [rsp + 0xc0]
call fcn.14014fcd8
cmp byte [rsp + 0xbf], 0
jns 0x140219e13
mov rcx, qword [rsp + 0xa8]
call fcn.14014fcd8
mov r12, qword [rsi]
mov rbp, qword [rsi + 8]
cmp r12, rbp
je 0x140219e2d
add r12, 0x18
lea r13, [rsp + 0x28]
jmp 0x140219f4e
mov rcx, rbx
mov rdx, rdi
call fcn.14021adc0
mov ebp, eax
sar ebp, 0x1f
and ebp, eax
jmp 0x140219cf7
mov qword [rsp + 0xc8], r12
mov qword [rsp + 0xd0], rax
mov rcx, r12
test rcx, rcx
jne 0x140219e65
test rax, rax
jne 0x14021a09a
lea rax, [0x14030515d]
mov qword [rsp + 0xd8], rax
mov qword [rsp + 0xe0], 2
mov qword [rsp + 0x98], r15
mov qword [rsp + 0xa0], 4
mov rcx, r13
lea rdx, [rsp + 0x98]
call fcn.140101660
movsx rcx, byte [rsp + 0x3f]
mov rax, r13
test rcx, rcx
jns 0x140219ebc
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rcx
test rcx, rcx
js 0x14021a087
je 0x140219eda
test rax, rax
je 0x14021a09a
mov rcx, r14
lea rdx, [rsp + 0x40]
call fcn.1400b2c80
cmp byte [rsp + 0x3f], 0
jns 0x140219ef8
mov rcx, qword [rsp + 0x28]
call fcn.14014fcd8
movzx r8d, byte [rsp + 0x67]
test r8b, r8b
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
je 0x14021a005
cmp byte [rsp + 0x67], 0
jns 0x140219f39
mov rcx, qword [rsp + 0x50]
call fcn.14014fcd8
lea rax, [r12 + 0x30]
add r12, 0x18
cmp r12, rbp
mov r12, rax
je 0x140219e2d
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x60], rax
movaps xmmword [rsp + 0x50], xmm6
movsx rax, byte [r12 - 1]
test rax, rax
js 0x140219fe1
lea rcx, [r12 - 0x18]
mov qword [rsp + 0xa8], rcx
mov qword [rsp + 0xb0], rax
test rcx, rcx
jne 0x140219f90
test rax, rax
jne 0x14021a09a
lea rax, [0x1402ed4de]
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0xc0], 2
movsx rax, byte [r12 + 0x17]
test rax, rax
jns 0x140219e44
mov rcx, qword [r12]
mov rax, qword [r12 + 8]
mov qword [rsp + 0xc8], rcx
mov qword [rsp + 0xd0], rax
test rax, rax
jns 0x140219e57
jmp 0x14021a087
mov rcx, qword [r12 - 0x18]
mov rax, qword [r12 - 0x10]
mov qword [rsp + 0xa8], rcx
mov qword [rsp + 0xb0], rax
test rax, rax
jns 0x140219f82
jmp 0x14021a087
mov ecx, 2
call fcn.140106140
test al, al
je 0x140219f28
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
mov rcx, r15
lea rdx, str.....componentswinhttp_network_fetcher.cc
mov r8d, 0x103
mov r9d, 2
call fcn.1401c3e40
mov r8d, 0x22
lea rcx, [rsp + 0xb8]
lea rdx, str.Failed_to_set_the_request_header:
call fcn.1400e59c0
mov rcx, rax
mov rdx, r14
call fcn.1400684e0
mov rcx, r15
call fcn.1401c3ec0
jmp 0x140219f28
lea rax, [rbx + 0x138]
mov rdx, qword [rax + 0x10]
mov qword [rcx + 0x10], rdx
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
jmp 0x140219dcc
lea rcx, [0x1402ea01c]
lea rdx, str....._third_partylibc_srcinclude_string_view:314:_assertion___len___static_cast_size_type__numeric_limits_difference_type_::max____failed:_string_view::string_view__CharT___size_t_:_length_does_not_fit_in_difference_type_n
call fcn.14018e880
lea rcx, [0x1402ea01c]
lea rdx, str....._third_partylibc_srcinclude_string_view:316:_assertion___len__0____s___nullptr_failed:_string_view::string_view__CharT___size_t_:_received_nullptr_n
call fcn.14018e880
int3
int3