Function at 0x1400b9260
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.140158930
mov ebp, 0x80070057
test al, al
je 0x1400b9589
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.1400e5f60
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x1400b9843
cmp byte [rsp + 0xa7], 0
jns 0x1400b931a
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 0x1400b9346
mov rcx, qword [rsp + 0x90]
call fcn.1401a10a4
mov rcx, qword [rbx + 0x28]
test rcx, rcx
je 0x1400b9358
cmp rcx, r15
je 0x1400b9835
test rcx, rcx
je 0x1400b9363
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov qword [rbx + 0x28], r15
test r15, r15
je 0x1400b9582
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 0x1400b983d
mov rcx, qword [rbx + 0x18]
mov r8, qword [rax]
lea rdx, [rsp + 0x1d0]
mov r9, r14
call fcn.1400b8190
lea r14, [rsp + 0x90]
mov rcx, rbx
mov rdx, r14
call fcn.1400b9850
mov r14, qword [r14 + 8]
mov rcx, qword [rbx + 0x40]
test rcx, rcx
je 0x1400b93e6
cmp rcx, r14
je 0x1400b9835
test rcx, rcx
je 0x1400b93f1
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov qword [rbx + 0x40], r14
cmp byte [rsp + 0xa0], 0
jne 0x1400b983a
test r14, r14
je 0x1400b9549
lea rdx, [rsp + 0x1d0]
mov rcx, r14
call fcn.1400b8510
mov rcx, qword [rbx + 0x40]
lea rdx, [0x1400b9930]
mov r8d, 0xffffffff
xor r9d, r9d
call qword [sym.imp.WINHTTP.dll_WinHttpSetStatusCallback]
cmp rax, 0xffffffffffffffff
je 0x1400b9549
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 0x1400b9519
test rbx, rbx
je 0x1400b9481
mov eax, 1
lock xadd dword [rbx], eax
cmp eax, 0x7fffffff
je 0x1400b9840
mov r14, qword [rbx + 0x50]
mov qword [rbx + 0x50], rbx
test r14, r14
je 0x1400b94a4
lock dec dword [r14]
jne 0x1400b94a4
mov rcx, r14
call fcn.1400b88e0
mov rcx, r14
call fcn.1401a10a4
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 0x1400b9528
movzx eax, byte [rbx + 0x14f]
test al, al
jns 0x1400b94de
mov rax, qword [rbx + 0x140]
mov qword [rsp + 0x30], rdi
test rax, rax
jne 0x1400b9797
mov r14, qword [rsi + 8]
mov rdi, qword [rsi + 0x10]
cmp r14, rdi
je 0x1400b9533
add r14, 0x18
mov r13d, 2
lea r12, [rsp + 0x38]
lea rbp, [rsp + 0x60]
mov r15, qword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
jmp 0x1400b964b
call fcn.1400f03c0
test eax, eax
jns 0x1400b9468
jmp 0x1400b954e
call fcn.1400f03c0
test eax, eax
jns 0x1400b94cc
jmp 0x1400b954e
mov rcx, rbx
mov rdx, qword [rsp + 0x30]
call fcn.1400ba0e0
mov ebp, eax
sar ebp, 0x1f
and ebp, eax
jmp 0x1400b9550
call fcn.1400f03c0
mov ebp, eax
cmp byte [rsp + 0x1d0], 0
je 0x1400b9589
mov rcx, qword [rsp + 0x1e0]
test rcx, rcx
je 0x1400b956d
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rsp + 0x1e8]
test rcx, rcx
je 0x1400b9589
call qword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x1400b9589
call fcn.1400f03c0
mov ebp, eax
add rsi, 8
lea rcx, [rsp + 0x90]
mov qword [rcx], rsi
call fcn.1401325c0
mov rcx, qword [rsp + 0x1f8]
xor rcx, rsp
call fcn.1401a2850
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.140215ce0
mov r8d, 0x22
lea rcx, [rsp + 0xa0]
lea rdx, str.Failed_to_set_the_request_header:
call fcn.1401e2460
mov rcx, rax
mov rdx, rbp
call fcn.140088e60
lea rcx, [rsp + 0x90]
call fcn.140215d60
cmp byte [rsp + 0x77], 0
jns 0x1400b9637
mov rcx, qword [rsp + 0x60]
call fcn.1401a10a4
lea rax, [r14 + 0x30]
add r14, 0x18
cmp r14, rdi
mov r14, rax
je 0x1400b9533
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.14014c280
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.1400e5f60
cmp byte [rsp + 0x4f], 0
jns 0x1400b974e
mov rcx, qword [rsp + 0x38]
call fcn.1401a10a4
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 0x1400b9626
mov ecx, 2
call fcn.140151cb0
test al, al
je 0x1400b9626
jmp 0x1400b95cb
lea rdx, [0x1403713c0]
lea rcx, [rsp + 0x90]
call fcn.1401e2170
lea rcx, [rsp + 0xa8]
cmp byte [rbx + 0x14f], 0
js 0x1400b9820
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.140046150
cmp byte [r15 + 0x2f], 0
jns 0x1400b9800
mov rcx, qword [rsp + 0xa8]
call fcn.1401a10a4
cmp byte [rsp + 0xa7], 0
jns 0x1400b94ec
mov rcx, qword [rsp + 0x90]
call fcn.1401a10a4
jmp 0x1400b94ec
mov rdx, qword [rbx + 0x138]
mov r8, qword [rbx + 0x140]
call fcn.14013b240
jmp 0x1400b97d1
call fcn.1401bb820
int3
int3
int3
int3