Function at 0x140022b10
Capabilities:
Get common file path
Get startup folder

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x2f0]
sub rsp, 0x3f0
mov rax, qword [0x140214ba0]
xor rax, rsp
mov qword [rbp + 0x2e0], rax
lea rcx, [rsp + 0x70]
call fcn.140056d70
mov rdx, rax
mov rcx, qword [rax + 0x10]
mov r8, rax
cmp qword [rax + 0x18], 8
jb 0x140022b63
mov r8, qword [rax]
mov rbx, 0xffffffffffffffff
test rcx, rcx
je 0x140022bdb
dec rcx
mov rax, rbx
cmp rcx, rbx
cmovb rax, rcx
lea rax, [r8 + rax*2]
cmp word [rax], 0x5c
jne 0x140022b95
cmp rax, r8
je 0x140022bdb
sub rax, 2
cmp word [rax], 0x5c
je 0x140022b86
sub rax, r8
sar rax, 1
cmp rax, rbx
je 0x140022bdb
xor edi, edi
mov qword [rbp + 0x88], rdi
mov qword [rbp + 0x98], rdi
mov qword [rbp + 0xa0], 7
mov word [rbp + 0x88], di
lea r8, [rax + 1]
cmp qword [rdx + 0x10], r8
cmovb r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 8
jb 0x140022c07
mov rdx, qword [rdx]
jmp 0x140022c07
xor edi, edi
mov qword [rbp + 0x88], rdi
mov qword [rbp + 0x98], rdi
mov qword [rbp + 0xa0], 7
mov word [rbp + 0x88], di
xor r8d, r8d
lea rdx, [0x1401e63d8]
lea rcx, [rbp + 0x88]
call fcn.1400260f0
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x140022c55
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140022c50
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140023093
call fcn.14014f900
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], di
lea rax, str.Service
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 7
xor r9d, r9d
lea r8d, [r9 + 0x2c]
lea rdx, [rbp + 0xd0]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea rsi, str...includesNGIUtils.cpp
lea r14, vtable.std::ios_base.0
test eax, eax
jne 0x140022d2f
call fcn.1400553d0
mov r8d, 2
lea rdx, [rbp - 0x70]
mov rcx, rax
call fcn.140055290
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x38], 0x33
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x70]
call fcn.1400244b0
lea rdx, str.Failed_to_get_common_files_dir
lea rcx, [rbp - 0x70]
call fcn.1400244e0
lea rcx, [rbp + 0x28]
call fcn.140058d50
nop
mov qword [rbp + 0x28], r14
lea rcx, [rbp + 0x28]
call fcn.140128970
nop
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], di
xor r8d, r8d
lea rdx, [0x1401e63d8]
lea rcx, [rsp + 0x50]
call fcn.1400260f0
jmp 0x140022da0
lea rax, str.McAfeeNGI
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 0xa
lea rax, [rbp + 0xd0]
mov qword [rsp + 0x20], rax
lea rax, [rbp + 0xd0]
nop word [rax + rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140022d60
mov qword [rsp + 0x28], rbx
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
movaps xmm1, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm1
mov r9d, 0x5c
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x50]
call fcn.140056f90
nop
lea rax, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x28], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
movaps xmm1, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm1
mov r9d, 0x5c
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0xa8]
call fcn.140056f90
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x140022e35
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140022e30
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140023099
call fcn.14014f900
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], di
cmp qword [rbp + 0x98], 0
je 0x140022fa7
cmp qword [rbp + 0xb8], 0
je 0x140022fa7
call fcn.1400553d0
mov r8d, 4
lea rdx, [rbp - 0x70]
mov rcx, rax
call fcn.140055290
mov qword [rsp + 0x40], rsi
mov dword [rsp + 0x48], 0x44
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x70]
call fcn.1400244b0
lea rdx, [rbp + 0x88]
lea rcx, [rbp - 0x70]
call fcn.140024520
lea rdx, str._vs_expected
lea rcx, [rbp - 0x70]
call fcn.1400244e0
lea rdx, [rbp + 0xa8]
lea rcx, [rbp - 0x70]
call fcn.140024520
lea rcx, [rbp + 0x28]
call fcn.140058d50
nop
mov qword [rbp + 0x28], r14
lea rcx, [rbp + 0x28]
call fcn.140128970
nop
lea rcx, [rbp + 0x88]
cmp qword [rbp + 0xa0], 8
cmovae rcx, qword [rbp + 0x88]
mov edx, dword [rbp + 0x98]
call qword [sym.imp.USER32.dll_CharLowerBuffW]
lea rcx, [rbp + 0xa8]
cmp qword [rbp + 0xc0], 8
cmovae rcx, qword [rbp + 0xa8]
mov edx, dword [rbp + 0xb8]
call qword [sym.imp.USER32.dll_CharLowerBuffW]
lea rax, [rbp + 0xa8]
mov r11, qword [rbp + 0xa8]
mov r14, qword [rbp + 0xc0]
cmp r14, 8
cmovae rax, r11
lea r10, [rbp + 0x88]
mov r9, qword [rbp + 0x88]
mov rsi, qword [rbp + 0xa0]
cmp rsi, 8
cmovae r10, r9
mov r8, qword [rbp + 0x98]
cmp r8, qword [rbp + 0xb8]
jne 0x140022fc3
test r8, r8
je 0x140022fa3
movzx ecx, word [r10]
movzx edx, word [rax]
cmp cx, dx
jb 0x140022fc3
sub r10, rax
cmp cx, dx
ja 0x140022fc3
cmp r8, 1
je 0x140022fa3
dec r8
add rax, 2
movzx ecx, word [r10 + rax]
movzx edx, word [rax]
cmp cx, dx
jae 0x140022f85
jmp 0x140022fc3
mov bl, 1
jmp 0x140022fc5
mov rsi, qword [rbp + 0xa0]
mov r9, qword [rbp + 0x88]
mov r14, qword [rbp + 0xc0]
mov r11, qword [rbp + 0xa8]
xor bl, bl
cmp r14, 8
jb 0x14002300e
lea rdx, [r14*2 + 2]
mov rax, r11
cmp rdx, 0x1000
jb 0x140022ff8
add rdx, 0x27
mov r11, qword [r11 - 8]
sub rax, r11
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002309f
mov rcx, r11
call fcn.14014f900
mov rsi, qword [rbp + 0xa0]
mov r9, qword [rbp + 0x88]
mov qword [rbp + 0xb8], rdi
mov qword [rbp + 0xc0], 7
mov word [rbp + 0xa8], di
cmp rsi, 8
jb 0x14002305e
lea rdx, [rsi*2 + 2]
mov rax, r9
cmp rdx, 0x1000
jb 0x140023056
add rdx, 0x27
mov r9, qword [r9 - 8]
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002308d
mov rcx, r9
call fcn.14014f900
movzx eax, bl
mov rcx, qword [rbp + 0x2e0]
xor rcx, rsp
call fcn.14014f8e0
lea r11, [rsp + 0x3f0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.140156b00
nop
call fcn.140156b00
nop
call fcn.140156b00
nop
call fcn.140156b00
int3