Function at 0x1400b8ee0
Capabilities:
Set http header

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x218
movaps xmmword [rsp + 0x200], xmm6
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x14039c038]
xor rax, rsp
mov qword [rsp + 0x1f8], rax
lea r14, [rcx + 0x58]
mov rcx, r14
call fcn.1401584e0
mov ebp, 0x80070057
test al, al
je 0x1400b9209
lea rax, [rbx + 0xd8]
movzx ecx, byte [rbx + 0xef]
mov r8d, ecx
and r8d, 0x7f
test cl, cl
cmovs rax, qword [rbx + 0xd8]
mov ebp, dword [rbx + 0xf0]
lea rdx, [rsp + 0x1d0]
mov qword [rdx], rax
cmovs r8, qword [rbx + 0xe0]
mov qword [rdx + 8], r8
lea r15, [rsp + 0x90]
mov rcx, r15
call fcn.1400e5890
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x1400b94c3
cmp byte [rsp + 0xa7], 0
jns 0x1400b8f9a
mov r15, qword [rsp + 0x90]
mov rcx, qword [rax]
mov rdx, r15
mov r8d, ebp
xor r9d, r9d
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov r15, rax
cmp byte [rsp + 0xa7], 0
jns 0x1400b8fc6
mov rcx, qword [rsp + 0x90]
call fcn.1401a0fa4
mov rcx, qword [rbx + 0x28]
test rcx, rcx
je 0x1400b8fd8
cmp rcx, r15
je 0x1400b94b5
test rcx, rcx
je 0x1400b8fe3
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov qword [rbx + 0x28], r15
test r15, r15
je 0x1400b9202
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x1f0], rax
movaps xmm6, xmmword [0x14032ae20]
movaps xmmword [rsp + 0x1e0], xmm6
movaps xmmword [rsp + 0x1d0], xmm6
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x1400b94bd
mov rcx, qword [rbx + 0x18]
mov r8, qword [rax]
lea rdx, [rsp + 0x1d0]
mov r9, r14
call fcn.1400b7e10
lea r14, [rsp + 0x90]
mov rcx, rbx
mov rdx, r14
call fcn.1400b94d0
mov r14, qword [r14 + 8]
mov rcx, qword [rbx + 0x40]
test rcx, rcx
je 0x1400b9066
cmp rcx, r14
je 0x1400b94b5
test rcx, rcx
je 0x1400b9071
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov qword [rbx + 0x40], r14
cmp byte [rsp + 0xa0], 0
jne 0x1400b94ba
test r14, r14
je 0x1400b91c9
lea rdx, [rsp + 0x1d0]
mov rcx, r14
call fcn.1400b8190
mov rcx, qword [rbx + 0x40]
lea rdx, [0x1400b95b0]
mov r8d, 0xffffffff
xor r9d, r9d
call qword [sym.imp.WINHTTP.dll_WinHttpSetStatusCallback]
cmp rax, 0xffffffffffffffff
je 0x1400b91c9
mov rcx, qword [rbx + 0x40]
lea r8, [rsp + 0x90]
mov qword [r8], rbx
mov edx, 0x2d
mov r9d, 8
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
je 0x1400b9199
test rbx, rbx
je 0x1400b9101
mov eax, 1
lock xadd dword [rbx], eax
cmp eax, 0x7fffffff
je 0x1400b94c0
mov r14, qword [rbx + 0x50]
mov qword [rbx + 0x50], rbx
test r14, r14
je 0x1400b9124
lock dec dword [r14]
jne 0x1400b9124
mov rcx, r14
call fcn.1400b8560
mov rcx, r14
call fcn.1401a0fa4
mov rcx, qword [rbx + 0x40]
lea r8, [rsp + 0x90]
mov dword [r8], 1
mov edx, 0x3f
mov r9d, 4
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
je 0x1400b91a8
movzx eax, byte [rbx + 0x14f]
test al, al
jns 0x1400b915e
mov rax, qword [rbx + 0x140]
mov qword [rsp + 0x30], rdi
test rax, rax
jne 0x1400b9417
mov r14, qword [rsi + 8]
mov rdi, qword [rsi + 0x10]
cmp r14, rdi
je 0x1400b91b3
add r14, 0x18
mov r13d, 2
lea r12, [rsp + 0x38]
lea rbp, [rsp + 0x60]
mov r15, qword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
jmp 0x1400b92cb
call fcn.1400efce0
test eax, eax
jns 0x1400b90e8
jmp 0x1400b91ce
call fcn.1400efce0
test eax, eax
jns 0x1400b914c
jmp 0x1400b91ce
mov rcx, rbx
mov rdx, qword [rsp + 0x30]
call fcn.1400b9d60
mov ebp, eax
sar ebp, 0x1f
and ebp, eax
jmp 0x1400b91d0
call fcn.1400efce0
mov ebp, eax
cmp byte [rsp + 0x1d0], 0
je 0x1400b9209
mov rcx, qword [rsp + 0x1e0]
test rcx, rcx
je 0x1400b91ed
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rsp + 0x1e8]
test rcx, rcx
je 0x1400b9209
call qword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x1400b9209
call fcn.1400efce0
mov ebp, eax
add rsi, 8
lea rcx, [rsp + 0x90]
mov qword [rcx], rsi
call fcn.140131ff0
mov rcx, qword [rsp + 0x1f8]
xor rcx, rsp
call fcn.1401a2750
mov eax, ebp
movaps xmm6, xmmword [rsp + 0x200]
add rsp, 0x218
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x90]
lea rdx, str.....componentswinhttp_network_fetcher.cc
mov r8d, 0xed
mov r9d, 2
call fcn.140215d50
mov r8d, 0x22
lea rcx, [rsp + 0xa0]
lea rdx, str.Failed_to_set_the_request_header:
call fcn.1401e2360
mov rcx, rax
mov rdx, rbp
call fcn.140088a90
lea rcx, [rsp + 0x90]
call fcn.140215dd0
cmp byte [rsp + 0x77], 0
jns 0x1400b92b7
mov rcx, qword [rsp + 0x60]
call fcn.1401a0fa4
lea rax, [r14 + 0x30]
add r14, 0x18
cmp r14, rdi
mov r14, rax
je 0x1400b91b3
lea rax, [r14 - 0x18]
movabs rcx, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x70], rcx
movaps xmmword [rsp + 0x60], xmm6
movzx ecx, byte [r14 - 1]
mov edx, ecx
and edx, 0x7f
test cl, cl
cmovs rax, qword [r14 - 0x18]
mov qword [rsp + 0x90], rax
cmovs rdx, qword [r14 - 0x10]
mov qword [rsp + 0x98], rdx
lea rax, [0x14032d3ce]
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0xa8], r13
movzx eax, byte [r14 + 0x17]
mov ecx, eax
and ecx, 0x7f
test al, al
mov rax, qword [r14]
cmovns rax, r14
mov qword [rsp + 0xb0], rax
cmovs rcx, qword [r14 + 8]
mov qword [rsp + 0xb8], rcx
lea rax, [0x14033b378]
mov qword [rsp + 0xc0], rax
mov qword [rsp + 0xc8], r13
mov qword [rsp + 0x80], 4
lea rax, [rsp + 0x90]
mov qword [rsp + 0x88], rax
mov rcx, r12
lea rdx, [rsp + 0x80]
call fcn.14014bde0
movzx eax, byte [rsp + 0x4f]
mov ecx, eax
and ecx, 0x7f
test al, al
mov rax, qword [rsp + 0x38]
cmovns rax, r12
mov qword [rsp + 0x50], rax
cmovs rcx, qword [rsp + 0x40]
mov qword [rsp + 0x58], rcx
mov rcx, rbp
lea rdx, [rsp + 0x50]
call fcn.1400e5890
cmp byte [rsp + 0x4f], 0
jns 0x1400b93ce
mov rcx, qword [rsp + 0x38]
call fcn.1401a0fa4
movzx eax, byte [rsp + 0x77]
mov r8d, eax
and r8d, 0x7f
test al, al
cmovs r8d, dword [rsp + 0x68]
mov rdx, qword [rsp + 0x60]
cmovns rdx, rbp
mov rcx, qword [rbx + 0x40]
mov r9d, 0xa0000000
call r15
test eax, eax
jne 0x1400b92a6
mov ecx, 2
call fcn.140151850
test al, al
je 0x1400b92a6
jmp 0x1400b924b
lea rdx, [0x1403713c0]
lea rcx, [rsp + 0x90]
call fcn.1401e2070
lea rcx, [rsp + 0xa8]
cmp byte [rbx + 0x14f], 0
js 0x1400b94a0
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 + 0x60]
lea r15, [rsp + 0x90]
mov rcx, rsi
mov r8, r15
mov r9, r15
call fcn.140046090
cmp byte [r15 + 0x2f], 0
jns 0x1400b9480
mov rcx, qword [rsp + 0xa8]
call fcn.1401a0fa4
cmp byte [rsp + 0xa7], 0
jns 0x1400b916c
mov rcx, qword [rsp + 0x90]
call fcn.1401a0fa4
jmp 0x1400b916c
mov rdx, qword [rbx + 0x138]
mov r8, qword [rbx + 0x140]
call fcn.14013ac60
jmp 0x1400b9451
call fcn.1401bb720
int3
int3
int3
int3