Function at 0x18000ac10
Capabilities:
Check if file exists
Get system information on windows

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x68]
sub rsp, 0x150
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1801485f0]
xor rax, rsp
mov qword [rbp + 0x40], rax
mov rsi, rcx
mov qword [rsp + 0x48], rcx
xor r14d, r14d
mov edi, r14d
mov dword [rsp + 0x30], r14d
lea rcx, [rbp + 0x20]
call fcn.180001f80
nop
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], r14
mov qword [rbp - 0x78], 7
mov qword [rbp - 0x80], r14
mov word [rsp + 0x70], r14w
lea r8d, [r14 + 0xb]
lea rdx, str.DisplayIcon
lea rcx, [rsp + 0x70]
call fcn.1800166f0
nop
mov qword [rsp + 0x38], 0xffffffff80000001
lea rcx, [rbp - 0x70]
call fcn.180006e70
nop
mov r8, rax
lea rdx, [rbp + 0x20]
lea rcx, [rbp - 0x50]
call fcn.1800193e0
mov rbx, rax
call fcn.1800146f0
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9, rbx
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x50]
call fcn.18002c170
nop
cmp qword [rbp - 0x38], 8
jb 0x18000ace6
mov rcx, qword [rbp - 0x50]
call fcn.1800b5700
mov qword [rbp - 0x38], 7
mov qword [rbp - 0x40], r14
mov word [rbp - 0x50], r14w
cmp qword [rbp - 0x58], 8
jb 0x18000ad07
mov rcx, qword [rbp - 0x70]
call fcn.1800b5700
mov qword [rbp - 0x58], 7
mov qword [rbp - 0x60], r14
mov word [rbp - 0x70], r14w
cmp qword [rbp - 0x78], 8
jb 0x18000ad29
mov rcx, qword [rsp + 0x70]
call fcn.1800b5700
mov qword [rbp - 0x78], 7
mov qword [rbp - 0x80], r14
mov word [rsp + 0x70], r14w
cmp qword [rsp + 0x60], 0
ja 0x18000b0c9
lea rcx, [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movzx eax, word [rbp - 0x30]
cmp ax, 6
je 0x18000ad72
cmp ax, 9
je 0x18000ad72
lea rcx, [rbp - 0x70]
call fcn.180001f80
nop
mov edi, 2
jmp 0x18000ad82
lea rcx, [rsp + 0x70]
call fcn.180002180
nop
mov edi, 1
mov dword [rsp + 0x30], edi
mov qword [rbp - 0x40], r14
mov qword [rbp - 0x38], r14
mov qword [rbp - 0x38], 7
mov qword [rbp - 0x40], r14
mov word [rbp - 0x50], r14w
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp - 0x50]
call fcn.1800165a0
nop
test dil, 2
je 0x18000ade1
and edi, 0xfffffffd
mov dword [rsp + 0x30], edi
cmp qword [rbp - 0x58], 8
jb 0x18000add0
mov rcx, qword [rbp - 0x70]
call fcn.1800b5700
mov qword [rbp - 0x58], 7
mov qword [rbp - 0x60], r14
mov word [rbp - 0x70], r14w
test dil, 1
je 0x18000ae11
and edi, 0xfffffffe
mov dword [rsp + 0x30], edi
cmp qword [rbp - 0x78], 8
jb 0x18000adff
mov rcx, qword [rsp + 0x70]
call fcn.1800b5700
mov qword [rbp - 0x78], 7
mov qword [rbp - 0x80], r14
mov word [rsp + 0x70], r14w
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], r14
mov qword [rbp - 0x78], 7
mov qword [rbp - 0x80], r14
mov word [rsp + 0x70], r14w
mov r8d, 0xb
lea rdx, str.DisplayIcon
lea rcx, [rsp + 0x70]
call fcn.1800166f0
nop
mov qword [rsp + 0x38], 0xffffffff80000002
lea rcx, [rbp - 0x30]
call fcn.180006e70
nop
mov r8, rax
lea rdx, [rbp - 0x50]
lea rcx, [rbp]
call fcn.1800193e0
mov rbx, rax
call fcn.1800146f0
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9, rbx
lea r8, [rsp + 0x38]
lea rdx, [rbp - 0x70]
call fcn.18002c170
mov rbx, rax
lea rax, [rsp + 0x50]
cmp rax, rbx
je 0x18000aeca
cmp qword [rsp + 0x68], 8
jb 0x18000aea8
mov rcx, qword [rsp + 0x50]
call fcn.1800b5700
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], r14
mov word [rsp + 0x50], r14w
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.180016260
nop
cmp qword [rbp - 0x58], 8
jb 0x18000aeda
mov rcx, qword [rbp - 0x70]
call fcn.1800b5700
mov qword [rbp - 0x58], 7
mov qword [rbp - 0x60], r14
mov word [rbp - 0x70], r14w
cmp qword [rbp + 0x18], 8
jb 0x18000aefb
mov rcx, qword [rbp]
call fcn.1800b5700
mov qword [rbp + 0x18], 7
mov qword [rbp + 0x10], r14
mov word [rbp], r14w
cmp qword [rbp - 0x18], 8
jb 0x18000af1c
mov rcx, qword [rbp - 0x30]
call fcn.1800b5700
mov qword [rbp - 0x18], 7
mov qword [rbp - 0x20], r14
mov word [rbp - 0x30], r14w
cmp qword [rbp - 0x78], 8
jb 0x18000af3e
mov rcx, qword [rsp + 0x70]
call fcn.1800b5700
mov qword [rbp - 0x78], 7
mov qword [rbp - 0x80], r14
mov word [rsp + 0x70], r14w
cmp qword [rsp + 0x60], 0
ja 0x18000afd0
call fcn.1800146f0
mov rcx, rax
lea rdx, [rbp - 0x30]
call fcn.18002b560
mov rbx, rax
lea rax, [rsp + 0x50]
cmp rax, rbx
je 0x18000afaa
cmp qword [rsp + 0x68], 8
jb 0x18000af88
mov rcx, qword [rsp + 0x50]
call fcn.1800b5700
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], r14
mov word [rsp + 0x50], r14w
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.180016260
nop
cmp qword [rbp - 0x18], 8
jb 0x18000afba
mov rcx, qword [rbp - 0x30]
call fcn.1800b5700
mov qword [rbp - 0x18], 7
mov qword [rbp - 0x20], r14
mov word [rbp - 0x30], r14w
jmp 0x18000b0a3
lea rcx, [rbp - 0x70]
call fcn.180003c00
nop
mov r8, rax
lea rdx, [0x180100a48]
lea rcx, [rbp]
call fcn.1800194a0
nop
mov r8, rax
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x30]
call fcn.18001c3c0
mov rbx, rax
lea rax, [rsp + 0x50]
cmp rax, rbx
je 0x18000b040
cmp qword [rsp + 0x68], 8
jb 0x18000b01e
mov rcx, qword [rsp + 0x50]
call fcn.1800b5700
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], r14
mov word [rsp + 0x50], r14w
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.180016260
nop
cmp qword [rbp - 0x18], 8
jb 0x18000b050
mov rcx, qword [rbp - 0x30]
call fcn.1800b5700
mov qword [rbp - 0x18], 7
mov qword [rbp - 0x20], r14
mov word [rbp - 0x30], r14w
cmp qword [rbp + 0x18], 8
jb 0x18000b071
mov rcx, qword [rbp]
call fcn.1800b5700
mov qword [rbp + 0x18], 7
mov qword [rbp + 0x10], r14
mov word [rbp], r14w
cmp qword [rbp - 0x58], 8
jb 0x18000b092
mov rcx, qword [rbp - 0x70]
call fcn.1800b5700
mov qword [rbp - 0x58], 7
mov qword [rbp - 0x60], r14
mov word [rbp - 0x70], r14w
cmp qword [rbp - 0x38], 8
jb 0x18000b0b3
mov rcx, qword [rbp - 0x50]
call fcn.1800b5700
mov qword [rbp - 0x38], 7
mov qword [rbp - 0x40], r14
mov word [rbp - 0x50], r14w
jmp 0x18000b19c
lea rcx, [rbp - 0x70]
call fcn.180003c00
nop
mov r8, rax
lea rdx, [0x180100a48]
lea rcx, [rbp]
call fcn.1800194a0
nop
mov r8, rax
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x30]
call fcn.18001c3c0
mov rbx, rax
lea rax, [rsp + 0x50]
cmp rax, rbx
je 0x18000b139
cmp qword [rsp + 0x68], 8
jb 0x18000b117
mov rcx, qword [rsp + 0x50]
call fcn.1800b5700
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], r14
mov word [rsp + 0x50], r14w
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.180016260
nop
cmp qword [rbp - 0x18], 8
jb 0x18000b149
mov rcx, qword [rbp - 0x30]
call fcn.1800b5700
mov qword [rbp - 0x18], 7
mov qword [rbp - 0x20], r14
mov word [rbp - 0x30], r14w
cmp qword [rbp + 0x18], 8
jb 0x18000b16a
mov rcx, qword [rbp]
call fcn.1800b5700
mov qword [rbp + 0x18], 7
mov qword [rbp + 0x10], r14
mov word [rbp], r14w
cmp qword [rbp - 0x58], 8
jb 0x18000b18b
mov rcx, qword [rbp - 0x70]
call fcn.1800b5700
mov qword [rbp - 0x58], 7
mov qword [rbp - 0x60], r14
mov word [rbp - 0x70], r14w
lea rcx, [rbp - 0x30]
call fcn.180002710
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.1800162f0
nop
cmp qword [rbp - 0x18], 8
jb 0x18000b1cb
mov rcx, qword [rbp - 0x30]
call fcn.1800b5700
mov qword [rbp - 0x18], 7
mov qword [rbp - 0x20], r14
mov word [rbp - 0x30], r14w
cmp qword [rsp + 0x60], 0
je 0x18000b23f
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rcx, qword [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete al
test al, al
je 0x18000b23f
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], r14
mov qword [rbp - 0x78], 7
mov qword [rbp - 0x80], r14
mov word [rsp + 0x70], r14w
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.1800165a0
lea rdx, [rsp + 0x70]
or edi, 4
jmp 0x18000b272
mov qword [rbp - 0x40], r14
mov qword [rbp - 0x38], r14
mov qword [rbp - 0x38], 7
mov qword [rbp - 0x40], r14
mov word [rbp - 0x50], r14w
xor r8d, r8d
lea rdx, [0x180100a4c]
lea rcx, [rbp - 0x50]
call fcn.1800166f0
lea rdx, [rbp - 0x50]
or edi, 8
mov dword [rsp + 0x30], edi
mov qword [rsi + 0x18], 7
mov qword [rsi + 0x10], r14
mov word [rsi], r14w
mov rcx, rsi
call fcn.180016260
or edi, 0x10
mov dword [rsp + 0x30], edi
test dil, 8
je 0x18000b2c3
and edi, 0xfffffff7
mov dword [rsp + 0x30], edi
cmp qword [rbp - 0x38], 8
jb 0x18000b2b2
mov rcx, qword [rbp - 0x50]
call fcn.1800b5700
mov qword [rbp - 0x38], 7
mov qword [rbp - 0x40], r14
mov word [rbp - 0x50], r14w
test dil, 4
je 0x18000b2f3
and edi, 0xfffffffb
mov dword [rsp + 0x30], edi
cmp qword [rbp - 0x78], 8
jb 0x18000b2e1
mov rcx, qword [rsp + 0x70]
call fcn.1800b5700
mov qword [rbp - 0x78], 7
mov qword [rbp - 0x80], r14
mov word [rsp + 0x70], r14w
cmp qword [rsp + 0x68], 8
jb 0x18000b305
mov rcx, qword [rsp + 0x50]
call fcn.1800b5700
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], r14
mov word [rsp + 0x50], r14w
cmp qword [rbp + 0x38], 8
jb 0x18000b329
mov rcx, qword [rbp + 0x20]
call fcn.1800b5700
mov qword [rbp + 0x38], 7
mov qword [rbp + 0x30], r14
mov word [rbp + 0x20], r14w
mov rax, rsi
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.1800b6c40
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret