Function at 0x14012ebe0
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 [0x14044f038]
xor rax, rsp
mov qword [rsp + 0x1e8], rax
lea r14, [rcx + 0x58]
mov rcx, r14
call fcn.140210220
mov ebp, 0x80070057
test al, al
jne 0x14012ec46
mov rdi, qword [rsi + 8]
test rdi, rdi
je 0x14012ecc5
mov rbx, qword [rsi + 0x10]
mov rcx, rdi
cmp rbx, rdi
jne 0x14012ec97
jmp 0x14012ecbc
lea r15, [rsp + 0x80]
mov rcx, rbx
mov rdx, r15
call fcn.1402f3860
lea rcx, [rbx + 0x20]
mov rax, qword [r15 + 8]
lea rdx, [rsp + 0x1c0]
mov qword [rdx], rax
call fcn.1402baf00
cmp byte [r15 + 0x10], 0
jne 0x14012f0fc
cmp qword [rbx + 0x28], 0
jne 0x14012ecf3
call fcn.14035c700
mov ebp, eax
jmp 0x14012ec2b
mov rcx, qword [rbx - 0x30]
call fcn.140258e54
jmp 0x14012ecb0
cmp byte [rbx - 1], 0
jns 0x14012eca6
mov rcx, qword [rbx - 0x18]
call fcn.140258e54
lea r14, [rbx - 0x30]
cmp byte [rbx - 0x19], 0
js 0x14012ec8c
mov rbx, r14
cmp r14, rdi
jne 0x14012ec97
mov rcx, qword [rsi + 8]
mov qword [rsi + 0x10], rdi
call fcn.140258e54
mov rcx, qword [rsp + 0x1e8]
xor rcx, rsp
call fcn.14025a610
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
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x1e0], rax
movaps xmm6, xmmword [0x1403db8a0]
movaps xmmword [rsp + 0x1d0], xmm6
movaps xmmword [rsp + 0x1c0], xmm6
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x14012f0ff
mov rcx, qword [rbx + 0x18]
mov r8, qword [rax]
lea rdx, [rsp + 0x1c0]
mov r9, r14
call fcn.1402f2a10
lea r15, [rsp + 0x80]
mov rcx, rbx
mov rdx, r15
call fcn.1402f3930
lea rcx, [rbx + 0x38]
mov rax, qword [r15 + 8]
lea r14, [rsp + 0x50]
mov qword [r14], rax
mov rdx, r14
call fcn.1402baf00
cmp byte [r15 + 0x10], 0
jne 0x14012f102
mov rcx, qword [rbx + 0x40]
test rcx, rcx
je 0x14012ee7b
lea rdx, [rsp + 0x1c0]
call fcn.1402f2d90
mov rcx, qword [rbx + 0x40]
lea rdx, [0x1402f3a00]
mov r8d, 0xffffffff
xor r9d, r9d
call qword [sym.imp.WINHTTP.dll_WinHttpSetStatusCallback]
cmp rax, 0xffffffffffffffff
je 0x14012ee7b
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 0x14012ede7
call fcn.14035c700
mov ebp, eax
test eax, eax
js 0x14012ee82
lea rcx, [rbx + 0x50]
mov rdx, rbx
call fcn.1402f4030
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 0x14012ee26
call fcn.14035c700
mov ebp, eax
test eax, eax
js 0x14012ee82
movzx eax, byte [rbx + 0x14f]
test al, al
jns 0x14012ee38
mov rax, qword [rbx + 0x140]
test rax, rax
je 0x14012ef1a
lea rdx, [0x140422de8]
lea rcx, [rsp + 0x80]
call fcn.14029a7f0
lea rcx, [rsp + 0x98]
cmp byte [rbx + 0x14f], 0
jns 0x14012eebf
mov rdx, qword [rbx + 0x138]
mov r8, qword [rbx + 0x140]
call fcn.1401f19b0
jmp 0x14012eed4
call fcn.14035c700
mov ebp, eax
cmp byte [rsp + 0x1c0], 0
je 0x14012ec2b
mov rcx, qword [rsp + 0x1d0]
test rcx, rcx
je 0x14012eea3
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rsp + 0x1d8]
test rcx, rcx
je 0x14012ec2b
call qword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x14012ec2b
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.1400b7e50
cmp byte [r15 + 0x2f], 0
jns 0x14012ef03
mov rcx, qword [rsp + 0x98]
call fcn.140258e54
cmp byte [rsp + 0x97], 0
jns 0x14012ef1a
mov rcx, qword [rsp + 0x80]
call fcn.140258e54
mov r15, qword [rsi + 8]
mov rbp, qword [rsi + 0x10]
cmp r15, rbp
jne 0x14012ef3e
mov rcx, rbx
mov rdx, rdi
call fcn.1402f4080
mov ebp, eax
sar ebp, 0x1f
and ebp, eax
jmp 0x14012ee82
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, [0x1403ded90]
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, [0x1403ee884]
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.1402029f0
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.14016c470
cmp byte [rsp + 0x3f], 0
jns 0x14012f038
mov rcx, qword [rsp + 0x28]
call fcn.140258e54
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 0x14012f072
mov ecx, 2
call fcn.140209bc0
test al, al
jne 0x14012f09c
cmp byte [rsp + 0x67], 0
jns 0x14012f083
mov rcx, qword [rsp + 0x50]
call fcn.140258e54
lea rax, [r15 + 0x30]
add r15, 0x18
cmp r15, rbp
mov r15, rax
jne 0x14012ef4d
jmp 0x14012ef27
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.1402dddc0
mov r8d, 0x22
lea rcx, [rsp + 0x90]
lea rdx, str.Failed_to_set_the_request_header:
call fcn.14029aae0
mov rcx, rax
mov rdx, r14
call fcn.1401119a0
lea rcx, [rsp + 0x80]
call fcn.1402dde40
jmp 0x14012f072
int3
int3
int3