Function at 0x140006844
Capabilities:
Check if file exists
Initialize winhttp library

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 0x18], r8
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x57]
sub rsp, 0x90
xor eax, eax
xorps xmm0, xmm0
xorps xmm1, xmm1
mov qword [rbp - 0x21], rax
mov r14d, eax
mov r15d, eax
mov edi, eax
mov ebx, eax
movups xmmword [rbp - 0x19], xmm0
mov r12, r9
mov r13, rdx
movups xmmword [rbp - 9], xmm0
mov rsi, rcx
movups xmmword [rbp + 7], xmm1
movups xmmword [rbp + 0x17], xmm1
movups xmmword [rbp - 0x31], xmm0
call qword [sym.imp.cmutil.dll_IsLogonAsSystem]
nop dword [rax + rax]
test eax, eax
je 0x1400068d5
lea rcx, [rbp - 0x31]
call qword [sym.imp.WINHTTP.dll_WinHttpGetDefaultProxyConfiguration]
nop dword [rax + rax]
test eax, eax
je 0x1400068d5
cmp dword [rbp - 0x31], 3
jne 0x1400068d5
mov rdi, qword [rbp - 0x29]
mov rbx, qword [rbp - 0x21]
jmp 0x1400069c7
lea rcx, [rbp - 0x19]
call qword [sym.imp.WINHTTP.dll_WinHttpGetIEProxyConfigForCurrentUser]
nop dword [rax + rax]
xor edx, edx
test eax, eax
jne 0x14000690a
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
xor edx, edx
mov r14d, eax
cmp eax, 2
jne 0x140006927
mov dword [rbp - 0x19], 1
jmp 0x140006927
mov rcx, qword [rbp - 9]
test rcx, rcx
je 0x140006927
mov rdi, rcx
mov r15d, 3
mov rcx, qword [rbp - 1]
test rcx, rcx
cmovne rbx, rcx
cmp dword [rbp - 0x19], edx
je 0x14000693d
mov eax, 1
mov dword [rbp + 0xb], 3
mov dword [rbp + 7], eax
jmp 0x140006940
mov eax, dword [rbp + 7]
mov rcx, qword [rbp - 0x11]
test rcx, rcx
je 0x14000695f
cmp word [rcx], dx
je 0x14000695f
or eax, 2
mov dword [rbp - 0x19], 1
mov dword [rbp + 7], eax
mov qword [rbp + 0xf], rcx
cmp dword [rbp - 0x19], edx
je 0x1400069c7
xor r9d, r9d
mov dword [rsp + 0x20], edx
xor r8d, r8d
mov rcx, rsi
lea edx, [r9 + 1]
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
nop dword [rax + rax]
mov rsi, rax
test rax, rax
je 0x1400069c7
lea r9, [rbp - 0x31]
mov rdx, r13
lea r8, [rbp + 7]
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpGetProxyForUrl]
nop dword [rax + rax]
xor ecx, ecx
test eax, eax
je 0x1400069b8
mov r15d, dword [rbp - 0x31]
mov r14d, ecx
mov rdi, qword [rbp - 0x29]
mov rbx, qword [rbp - 0x21]
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
nop dword [rax + rax]
xor esi, esi
test rdi, rdi
je 0x1400069df
mov rcx, rdi
call qword [sym.imp.cmutil.dll_CmStrCpyAllocW]
nop dword [rax + rax]
jmp 0x1400069e2
mov rax, rsi
mov qword [r12], rax
test rbx, rbx
je 0x1400069ff
mov rcx, rbx
call qword [sym.imp.cmutil.dll_CmStrCpyAllocW]
nop dword [rax + rax]
mov rcx, rax
jmp 0x140006a02
mov rcx, rsi
mov rax, qword [rbp + 0x7f]
mov qword [rax], rcx
mov rax, qword [rbp + 0x6f]
mov rcx, qword [rbp - 9]
mov dword [rax], r15d
test rcx, rcx
je 0x140006a25
call qword [sym.imp.KERNEL32.dll_GlobalFree]
nop dword [rax + rax]
mov rcx, qword [rbp - 0x11]
test rcx, rcx
je 0x140006a3a
call qword [sym.imp.KERNEL32.dll_GlobalFree]
nop dword [rax + rax]
mov rcx, qword [rbp - 1]
test rcx, rcx
je 0x140006a4f
call qword [sym.imp.KERNEL32.dll_GlobalFree]
nop dword [rax + rax]
mov rcx, qword [rbp - 0x29]
test rcx, rcx
je 0x140006a64
call qword [sym.imp.KERNEL32.dll_GlobalFree]
nop dword [rax + rax]
mov rcx, qword [rbp - 0x21]
test rcx, rcx
je 0x140006a79
call qword [sym.imp.KERNEL32.dll_GlobalFree]
nop dword [rax + rax]
lea r11, [rsp + 0x90]
mov eax, r14d
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret