Function at 0x1401763c0
Capabilities:
Set http header

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov rax, qword [0x1405f98c0]
xor rax, rsp
mov qword [rbp + 0x80], rax
mov rsi, r9
mov r12, r8
mov r14, rcx
xor r13d, r13d
mov r15d, r13d
mov dword [rsp + 0x40], r13d
mov rdi, qword [rdx]
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x140176442
nop
lea rdx, [rbx + 0x10]
mov r8d, dword [rdx + 0x10]
cmp qword [rdx + 0x18], 7
jbe 0x140176422
mov rdx, qword [rdx]
xor r9d, r9d
mov rcx, qword [r14 + 0x18]
call qword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test eax, eax
je 0x1401764f6
mov rax, qword [rbx]
mov rbx, rax
cmp rax, rdi
jne 0x140176410
cmp qword [rsi + 0x10], r13
je 0x1401766a5
test r12, r12
je 0x1401766a5
lea rcx, [rsp + 0x60]
call fcn.14013a6d0
nop
lea rdx, str.Content_Type:
lea rcx, [rsp + 0x70]
call fcn.140158340
mov r8, qword [rsi + 0x10]
cmp qword [rsi + 0x18], 7
jbe 0x14017647f
mov rsi, qword [rsi]
mov rdx, rsi
mov rcx, rax
call fcn.1401431f0
mov rcx, rax
lea rdx, [0x140576f58]
call fcn.140158340
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x60], xmm0
mov qword [rbp + 0x70], r13
mov qword [rbp + 0x78], 7
mov word [rbp + 0x60], r13w
mov dword [rsp + 0x40], 8
movups xmmword [rsp + 0x48], xmm0
mov rcx, r13
mov r8, qword [rbp - 0x18]
mov eax, r8d
and al, 0x22
cmp al, 2
je 0x140176529
mov rax, qword [rbp - 0x48]
mov rdx, qword [rax]
test rdx, rdx
je 0x140176529
mov rax, qword [rbp - 0x68]
mov r9, qword [rax]
cmp rdx, qword [rbp - 0x20]
cmovb rdx, qword [rbp - 0x20]
sub rdx, r9
sar rdx, 1
mov rcx, r9
jmp 0x140176560
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.http:_WinHttpAddRequestHeaders_error_
mov dword [rsp + 0x40], eax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r8, str.WINHTTP_CONNECTION
mov edx, 4
call fcn.1400d1640
xor al, al
jmp 0x1401768f2
test r8b, 4
jne 0x140176590
mov rax, qword [rbp - 0x50]
mov r8, qword [rax]
mov rdx, r13
test r8, r8
je 0x14017655b
mov rax, qword [rbp - 0x70]
mov r9, qword [rax]
mov rax, qword [rbp - 0x38]
movsxd rcx, dword [rax]
lea rdx, [r8 + rcx*2]
sub rdx, r9
sar rdx, 1
mov rcx, r9
jmp 0x140176560
mov r9, qword [rsp + 0x48]
test rcx, rcx
je 0x140176590
lea rcx, [rbp + 0x60]
cmp rdx, 7
ja 0x14017658a
mov qword [rbp + 0x70], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
mov rdx, r9
call fcn.14043cc20
mov word [rbp + rbx + 0x60], r13w
jmp 0x140176590
call fcn.140102e90
nop
mov r15d, 4
lea rdx, [rbp + 0x60]
cmp qword [rbp + 0x78], 7
cmova rdx, qword [rbp + 0x60]
xor r9d, r9d
mov r8d, dword [rbp + 0x70]
mov rcx, qword [r14 + 0x18]
call qword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test eax, eax
jne 0x14017664a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x40], eax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, str.http:_WinHttpAddRequestHeaders__Content_Type__error_
lea r8, str.WINHTTP_CONNECTION
mov edx, r15d
call fcn.1400d1640
nop
mov rdx, qword [rbp + 0x78]
cmp rdx, 7
jbe 0x140176628
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140176623
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140176922
call fcn.1403e3650
mov qword [rbp + 0x70], r13
mov qword [rbp + 0x78], 7
mov word [rbp + 0x60], r13w
lea rcx, [rsp + 0x60]
call fcn.1401367c0
xor al, al
jmp 0x1401768f2
mov rdx, qword [rbp + 0x78]
cmp rdx, 7
jbe 0x14017668a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140176685
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140176922
call fcn.1403e3650
mov qword [rbp + 0x70], r13
mov qword [rbp + 0x78], 7
mov word [rbp + 0x60], r13w
lea rcx, [rsp + 0x60]
call fcn.1401367c0
mov dword [rsp + 0x44], 0x3300
mov r9d, 4
lea r8, [rsp + 0x44]
lea edx, [r9 + 0x1b]
mov rcx, qword [r14 + 0x18]
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x1401766dc
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.http:_WinHttpSetOption_error_
jmp 0x140176503
lea rcx, [rsp + 0x60]
call fcn.14013a6d0
nop
lea rdx, str.Content_Length:
lea rcx, [rsp + 0x70]
call fcn.140158340
mov rdx, r12
mov rcx, rax
call fcn.140176ad0
mov rcx, rax
lea rdx, [0x140576f58]
call fcn.140158340
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x60], xmm0
mov qword [rbp + 0x70], r13
mov qword [rbp + 0x78], 7
mov word [rbp + 0x60], r13w
or r15d, 2
mov dword [rsp + 0x40], r15d
movups xmmword [rsp + 0x48], xmm0
mov rcx, r13
mov r8, qword [rbp - 0x18]
mov eax, r8d
and al, 0x22
cmp al, 2
je 0x140176770
mov rax, qword [rbp - 0x48]
mov rdx, qword [rax]
test rdx, rdx
je 0x140176770
mov rax, qword [rbp - 0x68]
mov r9, qword [rax]
cmp rdx, qword [rbp - 0x20]
cmovb rdx, qword [rbp - 0x20]
sub rdx, r9
sar rdx, 1
mov rcx, r9
jmp 0x1401767a7
test r8b, 4
jne 0x1401767d7
mov rax, qword [rbp - 0x50]
mov r8, qword [rax]
mov rdx, r13
test r8, r8
je 0x1401767a2
mov rax, qword [rbp - 0x70]
mov r9, qword [rax]
mov rax, qword [rbp - 0x38]
movsxd rcx, dword [rax]
lea rdx, [r8 + rcx*2]
sub rdx, r9
sar rdx, 1
mov rcx, r9
jmp 0x1401767a7
mov r9, qword [rsp + 0x48]
test rcx, rcx
je 0x1401767d7
lea rcx, [rbp + 0x60]
cmp rdx, 7
ja 0x1401767d1
mov qword [rbp + 0x70], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
mov rdx, r9
call fcn.14043cc20
mov word [rbp + rbx + 0x60], r13w
jmp 0x1401767d7
call fcn.140102e90
nop
lea rdx, [rbp + 0x60]
cmp qword [rbp + 0x78], 7
cmova rdx, qword [rbp + 0x60]
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], r13d
xor r9d, r9d
mov r8d, dword [rbp + 0x70]
mov rcx, qword [r14 + 0x18]
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
jne 0x140176899
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x40], eax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, str.http:_WinHttpSendRequest_error_
lea r8, str.WINHTTP_CONNECTION
mov edx, 4
call fcn.1400d1640
nop
mov rdx, qword [rbp + 0x78]
cmp rdx, 7
jbe 0x14017687a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140176875
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14017691c
call fcn.1403e3650
mov qword [rbp + 0x70], r13
mov qword [rbp + 0x78], 7
mov word [rbp + 0x60], r13w
lea rcx, [rsp + 0x60]
call fcn.1401367c0
xor al, al
jmp 0x1401768f2
mov rdx, qword [rbp + 0x78]
cmp rdx, 7
jbe 0x1401768d5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401768d0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14017691c
call fcn.1403e3650
mov qword [rbp + 0x70], r13
mov qword [rbp + 0x78], 7
mov word [rbp + 0x60], r13w
lea rcx, [rsp + 0x60]
call fcn.1401367c0
mov al, 1
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.1403e3630
mov rbx, qword [rsp + 0x1d8]
add rsp, 0x190
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1403fd768
nop
call fcn.1403fd768
int3