Function at 0x14011f410
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 [0x14042f038]
xor rax, rsp
mov qword [rsp + 0x1e8], rax
lea r14, [rcx + 0x58]
mov rcx, r14
call fcn.140204b00
mov ebp, 0x80070057
test al, al
jne 0x14011f49d
add rsi, 8
lea rcx, [rsp + 0x80]
mov qword [rcx], rsi
call fcn.1401d1b50
mov rcx, qword [rsp + 0x1e8]
xor rcx, rsp
call fcn.14024c3c0
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 + 0x80]
mov rcx, rbx
mov rdx, r15
call fcn.1402e2960
lea rcx, [rbx + 0x20]
mov rax, qword [r15 + 8]
lea rdx, [rsp + 0x1c0]
mov qword [rdx], rax
call fcn.1402a8410
cmp byte [r15 + 0x10], 0
jne 0x14011f926
cmp qword [rbx + 0x28], 0
jne 0x14011f4e6
call fcn.14034a590
mov ebp, eax
jmp 0x14011f45b
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x1e0], rax
movaps xmm6, xmmword [0x1403be790]
movaps xmmword [rsp + 0x1d0], xmm6
movaps xmmword [rsp + 0x1c0], xmm6
mov rax, qword [rbx + 0x10]
mov rcx, rax
btr rcx, 0x3f
mov rdx, qword [0x140433360]
and rdx, rcx
cmp rdx, qword [0x140433348]
sete dl
test dl, 1
cmove rcx, rax
test rcx, rcx
je 0x14011f929
mov rcx, qword [rbx + 0x18]
mov r8, qword [rax]
lea rdx, [rsp + 0x1c0]
mov r9, r14
call fcn.1402e3a20
lea r15, [rsp + 0x80]
mov rcx, rbx
mov rdx, r15
call fcn.1402e2a50
lea rcx, [rbx + 0x38]
mov rax, qword [r15 + 8]
lea r14, [rsp + 0x50]
mov qword [r14], rax
mov rdx, r14
call fcn.1402a8410
cmp byte [r15 + 0x10], 0
jne 0x14011f92c
mov rcx, qword [rbx + 0x40]
test rcx, rcx
je 0x14011f691
lea rdx, [rsp + 0x1c0]
call fcn.1402e3dc0
mov rcx, qword [rbx + 0x40]
lea rdx, [0x1402e2b30]
mov r8d, 0xffffffff
xor r9d, r9d
call qword [sym.imp.WINHTTP.dll_WinHttpSetStatusCallback]
cmp rax, 0xffffffffffffffff
je 0x14011f691
mov rcx, qword [rbx + 0x40]
lea r8, [rsp + 0x80]
mov qword [r8], rbx
mov edx, 0x2d
mov r9d, 8
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x14011f5fd
call fcn.14034a590
mov ebp, eax
test eax, eax
js 0x14011f698
lea rcx, [rbx + 0x50]
mov rdx, rbx
call fcn.1402e3180
mov rcx, qword [rbx + 0x40]
lea r8, [rsp + 0x80]
mov dword [r8], 1
mov edx, 0x3f
mov r9d, 4
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x14011f63c
call fcn.14034a590
mov ebp, eax
test eax, eax
js 0x14011f698
movzx eax, byte [rbx + 0x14f]
test al, al
jns 0x14011f64e
mov rax, qword [rbx + 0x140]
test rax, rax
je 0x14011f730
lea rdx, [0x1403d2c80]
lea rcx, [rsp + 0x80]
call fcn.1402883c0
lea rcx, [rsp + 0x98]
cmp byte [rbx + 0x14f], 0
jns 0x14011f6d5
mov rdx, qword [rbx + 0x138]
mov r8, qword [rbx + 0x140]
call fcn.1400d2af0
jmp 0x14011f6ea
call fcn.14034a590
mov ebp, eax
cmp byte [rsp + 0x1c0], 0
je 0x14011f45b
mov rcx, qword [rsp + 0x1d0]
test rcx, rcx
je 0x14011f6b9
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rsp + 0x1d8]
test rcx, rcx
je 0x14011f45b
call qword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x14011f45b
lea rax, [rbx + 0x138]
mov rdx, qword [rax + 0x10]
mov qword [rcx + 0x10], rdx
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
lea rdx, [rsp + 0x50]
lea r15, [rsp + 0x80]
mov rcx, rsi
mov r8, r15
mov r9, r15
call fcn.1400a6b50
cmp byte [r15 + 0x2f], 0
jns 0x14011f719
mov rcx, qword [rsp + 0x98]
call fcn.14024ac18
cmp byte [rsp + 0x97], 0
jns 0x14011f730
mov rcx, qword [rsp + 0x80]
call fcn.14024ac18
mov r15, qword [rsi + 8]
mov rbp, qword [rsi + 0x10]
cmp r15, rbp
jne 0x14011f754
mov rcx, rbx
mov rdx, rdi
call fcn.1402e31d0
mov ebp, eax
sar ebp, 0x1f
and ebp, eax
jmp 0x14011f698
add r15, 0x18
mov r12d, 2
lea r13, [rsp + 0x28]
lea rax, [r15 - 0x18]
movabs rcx, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x60], rcx
movaps xmmword [rsp + 0x50], xmm6
movzx ecx, byte [r15 - 1]
mov edx, ecx
and edx, 0x7f
test cl, cl
cmovs rax, qword [r15 - 0x18]
mov qword [rsp + 0x80], rax
cmovs rdx, qword [r15 - 0x10]
mov qword [rsp + 0x88], rdx
lea rax, [0x1403c1b00]
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], r12
movzx eax, byte [r15 + 0x17]
mov ecx, eax
and ecx, 0x7f
test al, al
mov rax, qword [r15]
cmovns rax, r15
mov qword [rsp + 0xa0], rax
cmovs rcx, qword [r15 + 8]
mov qword [rsp + 0xa8], rcx
lea rax, [0x1403cab8d]
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0xb8], r12
mov qword [rsp + 0x70], 4
lea rax, [rsp + 0x80]
mov qword [rsp + 0x78], rax
mov rcx, r13
lea rdx, [rsp + 0x70]
call fcn.1401f7bc0
movzx eax, byte [rsp + 0x3f]
mov ecx, eax
and ecx, 0x7f
test al, al
mov rax, qword [rsp + 0x28]
cmovns rax, r13
mov qword [rsp + 0x40], rax
cmovs rcx, qword [rsp + 0x30]
mov qword [rsp + 0x48], rcx
mov rcx, r14
lea rdx, [rsp + 0x40]
call fcn.14034a4a0
cmp byte [rsp + 0x3f], 0
jns 0x14011f85d
mov rcx, qword [rsp + 0x28]
call fcn.14024ac18
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 0x14011f89c
mov ecx, 2
call fcn.1401ee3d0
test al, al
jne 0x14011f8c6
cmp byte [rsp + 0x67], 0
jns 0x14011f8ad
mov rcx, qword [rsp + 0x50]
call fcn.14024ac18
lea rax, [r15 + 0x30]
add r15, 0x18
cmp r15, rbp
mov r15, rax
jne 0x14011f763
jmp 0x14011f73d
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x80]
lea rdx, str.....componentswinhttp_network_fetcher.cc
mov r8d, 0xee
mov r9d, 2
call fcn.1402c61f0
mov r8d, 0x22
lea rcx, [rsp + 0x90]
lea rdx, str.Failed_to_set_the_request_header:
call fcn.1402885e0
mov rcx, rax
mov rdx, r14
call fcn.1400eee50
lea rcx, [rsp + 0x80]
call fcn.1402c6270
jmp 0x14011f89c
int3
int3
int3