Function at 0x14012ec00
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 [0x140448038]
xor rax, rsp
mov qword [rsp + 0x1e8], rax
lea r14, [rcx + 0x58]
mov rcx, r14
call fcn.14020c6d0
mov ebp, 0x80070057
test al, al
jne 0x14012ec8d
add rsi, 8
lea rcx, [rsp + 0x80]
mov qword [rcx], rsi
call fcn.1401d3c50
mov rcx, qword [rsp + 0x1e8]
xor rcx, rsp
call fcn.140253b80
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.1402ecc40
lea rcx, [rbx + 0x20]
mov rax, qword [r15 + 8]
lea rdx, [rsp + 0x1c0]
mov qword [rdx], rax
call fcn.1402b4300
cmp byte [r15 + 0x10], 0
jne 0x14012f0df
cmp qword [rbx + 0x28], 0
jne 0x14012ecd6
call fcn.140356690
mov ebp, eax
jmp 0x14012ec4b
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x1e0], rax
movaps xmm6, xmmword [0x1403d47c0]
movaps xmmword [rsp + 0x1d0], xmm6
movaps xmmword [rsp + 0x1c0], xmm6
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x14012f0e2
mov rcx, qword [rbx + 0x18]
mov r8, qword [rax]
lea rdx, [rsp + 0x1c0]
mov r9, r14
call fcn.1402ebdf0
lea r15, [rsp + 0x80]
mov rcx, rbx
mov rdx, r15
call fcn.1402ecd10
lea rcx, [rbx + 0x38]
mov rax, qword [r15 + 8]
lea r14, [rsp + 0x50]
mov qword [r14], rax
mov rdx, r14
call fcn.1402b4300
cmp byte [r15 + 0x10], 0
jne 0x14012f0e5
mov rcx, qword [rbx + 0x40]
test rcx, rcx
je 0x14012ee5e
lea rdx, [rsp + 0x1c0]
call fcn.1402ec170
mov rcx, qword [rbx + 0x40]
lea rdx, [0x1402ecde0]
mov r8d, 0xffffffff
xor r9d, r9d
call qword [sym.imp.WINHTTP.dll_WinHttpSetStatusCallback]
cmp rax, 0xffffffffffffffff
je 0x14012ee5e
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 0x14012edca
call fcn.140356690
mov ebp, eax
test eax, eax
js 0x14012ee65
lea rcx, [rbx + 0x50]
mov rdx, rbx
call fcn.1402ed410
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 0x14012ee09
call fcn.140356690
mov ebp, eax
test eax, eax
js 0x14012ee65
movzx eax, byte [rbx + 0x14f]
test al, al
jns 0x14012ee1b
mov rax, qword [rbx + 0x140]
test rax, rax
je 0x14012eefd
lea rdx, [0x14041bb10]
lea rcx, [rsp + 0x80]
call fcn.140293d50
lea rcx, [rsp + 0x98]
cmp byte [rbx + 0x14f], 0
jns 0x14012eea2
mov rdx, qword [rbx + 0x138]
mov r8, qword [rbx + 0x140]
call fcn.1401efeb0
jmp 0x14012eeb7
call fcn.140356690
mov ebp, eax
cmp byte [rsp + 0x1c0], 0
je 0x14012ec4b
mov rcx, qword [rsp + 0x1d0]
test rcx, rcx
je 0x14012ee86
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rsp + 0x1d8]
test rcx, rcx
je 0x14012ec4b
call qword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x14012ec4b
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.1400b8590
cmp byte [r15 + 0x2f], 0
jns 0x14012eee6
mov rcx, qword [rsp + 0x98]
call fcn.1402523c4
cmp byte [rsp + 0x97], 0
jns 0x14012eefd
mov rcx, qword [rsp + 0x80]
call fcn.1402523c4
mov r15, qword [rsi + 8]
mov rbp, qword [rsi + 0x10]
cmp r15, rbp
jne 0x14012ef21
mov rcx, rbx
mov rdx, rdi
call fcn.1402ed460
mov ebp, eax
sar ebp, 0x1f
and ebp, eax
jmp 0x14012ee65
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]
test cl, cl
cmovs rax, qword [r15 - 0x18]
mov qword [rsp + 0x80], rax
cmovs rcx, qword [r15 - 0x10]
mov qword [rsp + 0x88], rcx
lea rax, [0x1403d7ca0]
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], r12
movzx eax, byte [r15 + 0x17]
test al, al
mov rcx, qword [r15]
cmovns rcx, r15
mov qword [rsp + 0xa0], rcx
cmovs rax, qword [r15 + 8]
mov qword [rsp + 0xa8], rax
lea rax, [0x1403e75a4]
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.140200080
movzx eax, byte [rsp + 0x3f]
test al, al
mov rcx, qword [rsp + 0x28]
cmovns rcx, r13
mov qword [rsp + 0x40], rcx
cmovs rax, qword [rsp + 0x30]
mov qword [rsp + 0x48], rax
mov rcx, r14
lea rdx, [rsp + 0x40]
call fcn.14016b990
cmp byte [rsp + 0x3f], 0
jns 0x14012f01b
mov rcx, qword [rsp + 0x28]
call fcn.1402523c4
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
jne 0x14012f055
mov ecx, 2
call fcn.140206de0
test al, al
jne 0x14012f07f
cmp byte [rsp + 0x67], 0
jns 0x14012f066
mov rcx, qword [rsp + 0x50]
call fcn.1402523c4
lea rax, [r15 + 0x30]
add r15, 0x18
cmp r15, rbp
mov r15, rax
jne 0x14012ef30
jmp 0x14012ef0a
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x80]
lea rdx, str.....componentswinhttp_network_fetcher.cc
mov r8d, 0xed
mov r9d, 2
call fcn.1402d7130
mov r8d, 0x22
lea rcx, [rsp + 0x90]
lea rdx, str.Failed_to_set_the_request_header:
call fcn.140294040
mov rcx, rax
mov rdx, r14
call fcn.140111940
lea rcx, [rsp + 0x80]
call fcn.1402d71b0
jmp 0x14012f055
int3
int3
int3