Function at 0x14006b170
Capabilities:
Create thread
Set http header

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 8]
sub rsp, 0x108
mov rax, qword [0x1401761c0]
xor rax, rsp
mov qword [rbp - 8], rax
mov rdi, qword [rbp + 0x50]
mov r9, qword [rbp + 0x58]
mov rcx, qword [rbp + 0x60]
mov rbx, qword [rbp + 0x68]
mov rax, qword [rbp + 0x70]
mov qword [rbp - 0x10], rax
mov r15, qword [rbp + 0x78]
mov r14, qword [rbp + 0x88]
cmp qword [rdi + 0x10], 0
je 0x14006b675
mov r12d, 0xffffffff
cmp r15, r12
ja 0x14006b654
cmp qword [rbx + 0x10], r12
ja 0x14006b654
lea rsi, [rdi + 0x20]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x58], xmm0
mov rax, qword [rdi + 0x18]
test rax, rax
je 0x14006b20a
lock inc dword [rax + 8]
mov rax, qword [rdi + 0x10]
mov qword [rbp - 0x58], rax
mov rax, qword [rdi + 0x18]
mov qword [rbp - 0x50], rax
movdqu xmmword [rsp + 0x50], xmm0
mov rax, qword [rdi + 8]
test rax, rax
je 0x14006b22d
lock inc dword [rax + 8]
mov rax, qword [rdi]
mov qword [rsp + 0x50], rax
mov rax, qword [rdi + 8]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x20], rcx
lea r8, [rbp - 0x58]
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.14006cca0
cmp qword [rbx + 0x10], 0
je 0x14006b283
cmp qword [rbx + 0x18], 7
jbe 0x14006b265
mov rbx, qword [rbx]
mov r9d, 0x10000000
mov r8d, r12d
mov rdx, rbx
mov rcx, qword [rsi + 0x20]
call qword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test eax, eax
je 0x14006b696
mov eax, dword [rdi + 0x17c]
mov dword [rsp + 0x50], eax
mov r12d, dword [rdi + 0x178]
lea rdx, [rdi + 0x158]
lea rbx, [rdi + 0x138]
cmp qword [rbx + 0x10], 0
je 0x14006b3a1
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 7
jbe 0x14006b2bb
mov rdx, qword [rdx]
mov dword [rsp + 0x20], r12d
lea rcx, [rbp - 0x78]
call fcn.14000c4d0
nop
lea rdx, [rbp - 0x78]
cmp qword [rbp - 0x60], 0xf
cmova rdx, qword [rbp - 0x78]
xor r9d, r9d
mov r8, qword [rbp - 0x68]
lea rcx, [rsp + 0x60]
call fcn.14000c710
nop
lea r13, [rsp + 0x60]
cmp qword [rsp + 0x78], 7
cmova r13, qword [rsp + 0x60]
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 7
jbe 0x14006b309
mov rbx, qword [rbx]
mov dword [rsp + 0x20], r12d
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.14000c4d0
nop
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0xf
cmova rdx, qword [rsp + 0x30]
xor r9d, r9d
mov r8, qword [rsp + 0x40]
lea rcx, [rbp - 0x30]
call fcn.14000c710
lea r9, [rbp - 0x30]
cmp qword [rbp - 0x18], 7
cmova r9, qword [rbp - 0x30]
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], r13
mov r8d, dword [rsp + 0x50]
mov edx, 1
mov rcx, qword [rsi + 0x20]
call qword [sym.imp.WINHTTP.dll_WinHttpSetCredentials]
mov ebx, eax
lea rcx, [rbp - 0x30]
call fcn.14000c080
nop
lea rcx, [rsp + 0x30]
call fcn.140026240
nop
lea rcx, [rsp + 0x60]
call fcn.14000c080
nop
lea rcx, [rbp - 0x78]
call fcn.140026240
test ebx, ebx
je 0x14006b6c1
mov r12d, dword [rdi + 0x1c0]
lea rdx, [rdi + 0x1a0]
lea rbx, [rdi + 0x180]
cmp qword [rbx + 0x10], 0
je 0x14006b4b3
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 7
jbe 0x14006b3cf
mov rdx, qword [rdx]
mov dword [rsp + 0x20], r12d
lea rcx, [rsp + 0x30]
call fcn.14000c4d0
nop
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0xf
cmova rdx, qword [rsp + 0x30]
xor r9d, r9d
mov r8, qword [rsp + 0x40]
lea rcx, [rbp - 0x30]
call fcn.14000c710
nop
lea r13, [rbp - 0x30]
cmp qword [rbp - 0x18], 7
cmova r13, qword [rbp - 0x30]
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 7
jbe 0x14006b41e
mov rbx, qword [rbx]
mov dword [rsp + 0x20], r12d
mov rdx, rbx
lea rcx, [rbp - 0x78]
call fcn.14000c4d0
nop
lea rdx, [rbp - 0x78]
cmp qword [rbp - 0x60], 0xf
cmova rdx, qword [rbp - 0x78]
xor r9d, r9d
mov r8, qword [rbp - 0x68]
lea rcx, [rsp + 0x60]
call fcn.14000c710
lea r9, [rsp + 0x60]
cmp qword [rsp + 0x78], 7
cmova r9, qword [rsp + 0x60]
xor r12d, r12d
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r13
xor edx, edx
lea r8d, [r12 + 1]
mov rcx, qword [rsi + 0x20]
call qword [sym.imp.WINHTTP.dll_WinHttpSetCredentials]
mov ebx, eax
lea rcx, [rsp + 0x60]
call fcn.14000c080
nop
lea rcx, [rbp - 0x78]
call fcn.140026240
nop
lea rcx, [rbp - 0x30]
call fcn.14000c080
nop
lea rcx, [rsp + 0x30]
call fcn.140026240
test ebx, ebx
je 0x14006b629
jmp 0x14006b4b6
xor r12d, r12d
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r12
test r15, r15
je 0x14006b4f5
mov rcx, r15
call fcn.14000c180
mov qword [rsp + 0x30], rax
lea rbx, [rax + r15]
mov qword [rsp + 0x40], rbx
mov r8, r15
mov rdx, qword [rbp - 0x10]
mov rcx, rax
call fcn.1400fe670
mov qword [rsp + 0x38], rbx
jmp 0x14006b4fa
mov rbx, qword [rsp + 0x38]
sub rbx, qword [rsp + 0x30]
mov eax, 0xffffffff
cmp rbx, rax
ja 0x14006b6ec
lea rcx, [rsi + 0x70]
lea rdx, [rsp + 0x30]
call fcn.14002d1f0
nop
lea rcx, [rsp + 0x30]
call fcn.14000d9f0
cmp qword [rbp + 0x80], 0
je 0x14006b56d
mov ecx, 0x18
call fcn.1400b8a40
mov qword [rax], r12
mov qword [rax + 8], r12
mov qword [rax + 0x10], r12
mov rbx, qword [rdi + 0xa8]
mov qword [rdi + 0xa8], rax
test rbx, rbx
je 0x14006b56d
mov rcx, rbx
call fcn.14000d9f0
mov edx, 0x18
mov rcx, rbx
call fcn.1400b8a80
mov r8, qword [r14 + 0x10]
test r8, r8
je 0x14006b594
lea rcx, [rsi + 0xa8]
cmp rcx, r14
je 0x14006b594
cmp qword [r14 + 0x18], 7
jbe 0x14006b58c
mov r14, qword [r14]
mov rdx, r14
call fcn.14000be50
mov rax, qword [rdi + 0x1c8]
mov qword [rsi + 0xd0], rax
mov ecx, 0x10
call fcn.1400b8a40
mov qword [rax], rsi
lea rcx, [0x14006d450]
mov qword [rax + 8], rcx
mov qword [rbp - 0x10], rax
lea rcx, [rbp - 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r12d
mov r9, rax
lea r8, [0x14006d370]
xor edx, edx
xor ecx, ecx
call fcn.1400ca7a8
mov qword [rbp - 0x40], rax
test rax, rax
je 0x14006b61a
cmp dword [rsi + 0x68], 0
jne 0x14006b70d
movaps xmm1, xmmword [rbp - 0x40]
movups xmmword [rsi + 0x60], xmm1
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400b89f0
add rsp, 0x108
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov dword [rbp - 0x38], r12d
mov ecx, 6
call fcn.1400b78c0
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea r8, str.Unable_to_set_server_credentials_
lea rcx, [rsp + 0x60]
call fcn.1400aa730
lea rdx, [0x140172368]
lea rcx, [rsp + 0x60]
call fcn.1400bb9a0
int3
mov edx, 0x57
lea rcx, [rsp + 0x60]
call fcn.1400aa630
lea rdx, [0x140172368]
lea rcx, [rsp + 0x60]
call fcn.1400bb9a0
int3
mov edx, 0x57
lea rcx, [rsp + 0x60]
call fcn.1400aa630
lea rdx, [0x140172368]
lea rcx, [rsp + 0x60]
call fcn.1400bb9a0
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea r8, str.Unable_to_add_headers_to_the_request_
lea rcx, [rsp + 0x60]
call fcn.1400aa730
lea rdx, [0x140172368]
lea rcx, [rsp + 0x60]
call fcn.1400bb9a0
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea r8, str.Unable_to_set_proxy_credentials_
lea rcx, [rsp + 0x60]
call fcn.1400aa730
lea rdx, [0x140172368]
lea rcx, [rsp + 0x60]
call fcn.1400bb9a0
nop
mov edx, 0x57
lea rcx, [rsp + 0x60]
call fcn.1400aa630
lea rdx, [0x140172368]
lea rcx, [rsp + 0x60]
call fcn.1400bb9a0
nop
call fcn.1400c8abc
int3