Function at 0x140115600
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 [0x140418038]
xor rax, rsp
mov qword [rsp + 0x1e8], rax
lea r14, [rcx + 0x58]
mov rcx, r14
call fcn.1401f39f0
mov ebp, 0x80070057
test al, al
jne 0x140115685
add rsi, 8
mov rcx, rsi
call fcn.1401cba00
mov rcx, qword [rsp + 0x1e8]
xor rcx, rsp
call fcn.140242430
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.1402cf910
lea rcx, [rbx + 0x20]
mov rax, qword [r15 + 8]
lea rdx, [rsp + 0x1c0]
mov qword [rdx], rax
call fcn.1402964c0
cmp byte [r15 + 0x10], 0
jne 0x140115ae8
cmp qword [rbx + 0x28], 0
jne 0x1401156cb
call fcn.140337e60
mov ebp, eax
jmp 0x14011564b
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x1e0], rax
movaps xmm6, xmmword [0x1403aa440]
movaps xmmword [rsp + 0x1d0], xmm6
movaps xmmword [rsp + 0x1c0], xmm6
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x140115aeb
mov rcx, qword [rbx + 0x18]
mov r8, qword [rax]
lea rdx, [rsp + 0x1c0]
mov r9, r14
call fcn.1402d0830
lea r15, [rsp + 0x80]
mov rcx, rbx
mov rdx, r15
call fcn.1402cf9e0
lea rcx, [rbx + 0x38]
mov rax, qword [r15 + 8]
lea r14, [rsp + 0x50]
mov qword [r14], rax
mov rdx, r14
call fcn.1402964c0
cmp byte [r15 + 0x10], 0
jne 0x140115aee
mov rcx, qword [rbx + 0x40]
test rcx, rcx
je 0x140115853
lea rdx, [rsp + 0x1c0]
call fcn.1402d0bd0
mov rcx, qword [rbx + 0x40]
lea rdx, [0x1402cfac0]
mov r8d, 0xffffffff
xor r9d, r9d
call qword [sym.imp.WINHTTP.dll_WinHttpSetStatusCallback]
cmp rax, 0xffffffffffffffff
je 0x140115853
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 0x1401157bf
call fcn.140337e60
mov ebp, eax
test eax, eax
js 0x14011585a
lea rcx, [rbx + 0x50]
mov rdx, rbx
call fcn.1402d01b0
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 0x1401157fe
call fcn.140337e60
mov ebp, eax
test eax, eax
js 0x14011585a
movzx eax, byte [rbx + 0x137]
test al, al
jns 0x140115810
mov rax, qword [rbx + 0x128]
test rax, rax
je 0x1401158f2
lea rdx, [0x1403bcb80]
lea rcx, [rsp + 0x80]
call fcn.14027e410
lea rcx, [rsp + 0x98]
cmp byte [rbx + 0x137], 0
jns 0x140115897
mov rdx, qword [rbx + 0x120]
mov r8, qword [rbx + 0x128]
call fcn.1400c7eb0
jmp 0x1401158ac
call fcn.140337e60
mov ebp, eax
cmp byte [rsp + 0x1c0], 0
je 0x14011564b
mov rcx, qword [rsp + 0x1d0]
test rcx, rcx
je 0x14011587b
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rsp + 0x1d8]
test rcx, rcx
je 0x14011564b
call qword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x14011564b
lea rax, [rbx + 0x120]
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.1400a6810
cmp byte [r15 + 0x2f], 0
jns 0x1401158db
mov rcx, qword [rsp + 0x98]
call fcn.140240d14
cmp byte [rsp + 0x97], 0
jns 0x1401158f2
mov rcx, qword [rsp + 0x80]
call fcn.140240d14
mov r15, qword [rsi + 8]
mov rbp, qword [rsi + 0x10]
cmp r15, rbp
jne 0x140115916
mov rcx, rbx
mov rdx, rdi
call fcn.1402d01f0
mov ebp, eax
sar ebp, 0x1f
and ebp, eax
jmp 0x14011585a
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, [0x1403ac8dc]
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, [0x1403b4afd]
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.1401e70b0
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.140337d70
cmp byte [rsp + 0x3f], 0
jns 0x140115a1f
mov rcx, qword [rsp + 0x28]
call fcn.140240d14
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 0x140115a5e
mov ecx, 2
call fcn.1401de860
test al, al
jne 0x140115a88
cmp byte [rsp + 0x67], 0
jns 0x140115a6f
mov rcx, qword [rsp + 0x50]
call fcn.140240d14
lea rax, [r15 + 0x30]
add r15, 0x18
cmp r15, rbp
mov r15, rax
jne 0x140115925
jmp 0x1401158ff
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.1402b3940
mov r8d, 0x22
lea rcx, [rsp + 0x90]
lea rdx, str.Failed_to_set_the_request_header:
call fcn.14027e630
mov rcx, rax
mov rdx, r14
call fcn.1400e3f70
lea rcx, [rsp + 0x80]
call fcn.1402b39c0
jmp 0x140115a5e
int3
int3
int3