Function at 0x180009a60
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 + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1801485f0]
xor rax, rsp
mov qword [rbp + 0x48], rax
mov rdi, rcx
mov qword [rsp + 0x50], rcx
xor r14d, r14d
mov dword [rsp + 0x30], r14d
lea rcx, [rbp - 0x48]
call fcn.1800023c0
nop
call fcn.1800146f0
mov rcx, rax
lea rdx, [rsp + 0x58]
call fcn.18002aec0
nop
cmp qword [rsp + 0x68], r14
jbe 0x180009b88
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp - 0x48]
lea rcx, [rsp + 0x58]
call fcn.1800162f0
cmp qword [rsp + 0x68], r14
je 0x180009b88
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rcx, qword [rsp + 0x58]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete al
test al, al
je 0x180009b88
mov qword [rdi + 0x18], 7
mov qword [rdi + 0x10], r14
mov word [rdi], r14w
cmp qword [rsp + 0x70], 8
jae 0x180009b3e
mov r8, qword [rsp + 0x68]
inc r8
je 0x180009b55
add r8, r8
lea rdx, [rsp + 0x58]
mov rcx, rdi
call fcn.1800b59d0
jmp 0x180009b55
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], rdi
mov rax, qword [rsp + 0x58]
mov qword [rdi], rax
mov qword [rsp + 0x58], r14
mov rax, qword [rsp + 0x68]
mov qword [rdi + 0x10], rax
mov rax, qword [rsp + 0x70]
mov qword [rdi + 0x18], rax
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], r14
mov word [rsp + 0x58], r14w
mov dword [rsp + 0x30], 1
jmp 0x18000a492
lea rcx, [rbp - 0x28]
call fcn.180001f80
nop
mov qword [rbp + 0x38], r14
mov qword [rbp + 0x40], r14
mov qword [rbp + 0x40], 7
mov qword [rbp + 0x38], r14
mov word [rbp + 0x28], r14w
mov r8d, 0xb
lea rdx, str.DisplayIcon
lea rcx, [rbp + 0x28]
call fcn.1800166f0
nop
mov qword [rsp + 0x38], 0xffffffff80000001
lea rcx, [rbp - 0x68]
call fcn.180006fe0
nop
mov r8, rax
lea rdx, [rbp - 0x28]
lea rcx, [rsp + 0x78]
call fcn.1800193e0
mov rbx, rax
call fcn.1800146f0
lea rax, [rbp + 0x28]
mov qword [rsp + 0x20], rax
mov r9, rbx
lea r8, [rsp + 0x38]
lea rdx, [rbp - 8]
call fcn.18002c170
mov rbx, rax
lea rax, [rsp + 0x58]
cmp rax, rbx
je 0x180009c49
cmp qword [rsp + 0x70], 8
jb 0x180009c27
mov rcx, qword [rsp + 0x58]
call fcn.1800b5700
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], r14
mov word [rsp + 0x58], r14w
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.180016260
nop
cmp qword [rbp + 0x10], 8
jb 0x180009c59
mov rcx, qword [rbp - 8]
call fcn.1800b5700
mov qword [rbp + 0x10], 7
mov qword [rbp + 8], r14
mov word [rbp - 8], r14w
cmp qword [rbp - 0x70], 8
jb 0x180009c7b
mov rcx, qword [rsp + 0x78]
call fcn.1800b5700
mov qword [rbp - 0x70], 7
mov qword [rbp - 0x78], r14
mov word [rsp + 0x78], r14w
cmp qword [rbp - 0x50], 8
jb 0x180009c9d
mov rcx, qword [rbp - 0x68]
call fcn.1800b5700
mov qword [rbp - 0x50], 7
mov qword [rbp - 0x58], r14
mov word [rbp - 0x68], r14w
cmp qword [rbp + 0x40], 8
jb 0x180009cbe
mov rcx, qword [rbp + 0x28]
call fcn.1800b5700
mov qword [rbp + 0x40], 7
mov qword [rbp + 0x38], r14
mov word [rbp + 0x28], r14w
cmp qword [rsp + 0x68], 0
jbe 0x180009fcc
lea rcx, [rbp - 8]
call fcn.1800039e0
nop
mov r8, rax
lea rdx, [0x180100a48]
lea rcx, [rsp + 0x78]
call fcn.1800194a0
nop
mov r8, rax
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x68]
call fcn.18001c3c0
mov rbx, rax
lea rax, [rsp + 0x58]
cmp rax, rbx
je 0x180009d4c
cmp qword [rsp + 0x70], 8
jb 0x180009d2a
mov rcx, qword [rsp + 0x58]
call fcn.1800b5700
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], r14
mov word [rsp + 0x58], r14w
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.180016260
nop
cmp qword [rbp - 0x50], 8
jb 0x180009d5c
mov rcx, qword [rbp - 0x68]
call fcn.1800b5700
mov qword [rbp - 0x50], 7
mov qword [rbp - 0x58], r14
mov word [rbp - 0x68], r14w
cmp qword [rbp - 0x70], 8
jb 0x180009d7e
mov rcx, qword [rsp + 0x78]
call fcn.1800b5700
mov qword [rbp - 0x70], 7
mov qword [rbp - 0x78], r14
mov word [rsp + 0x78], r14w
cmp qword [rbp + 0x10], 8
jb 0x180009da0
mov rcx, qword [rbp - 8]
call fcn.1800b5700
mov qword [rbp + 0x10], 7
mov qword [rbp + 8], r14
mov word [rbp - 8], r14w
cmp qword [rsp + 0x68], 0
jbe 0x180009e7d
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp - 0x48]
lea rcx, [rsp + 0x58]
call fcn.1800162f0
cmp qword [rsp + 0x68], 0
je 0x180009e7d
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rcx, qword [rsp + 0x58]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete al
test al, al
je 0x180009e7d
mov qword [rdi + 0x18], 7
mov qword [rdi + 0x10], r14
mov word [rdi], r14w
cmp qword [rsp + 0x70], 8
jae 0x180009e33
mov r8, qword [rsp + 0x68]
inc r8
je 0x180009e4a
add r8, r8
lea rdx, [rsp + 0x58]
mov rcx, rdi
call fcn.1800b59d0
jmp 0x180009e4a
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x38], rdi
mov rax, qword [rsp + 0x58]
mov qword [rdi], rax
mov qword [rsp + 0x58], r14
mov rax, qword [rsp + 0x68]
mov qword [rdi + 0x10], rax
mov rax, qword [rsp + 0x70]
mov qword [rdi + 0x18], rax
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], r14
mov word [rsp + 0x58], r14w
mov dword [rsp + 0x30], 1
jmp 0x18000a471
lea rcx, [rbp - 8]
call fcn.180003ff0
nop
mov r8, rax
lea rdx, [0x180100a48]
lea rcx, [rsp + 0x78]
call fcn.1800194a0
nop
mov r8, rax
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x68]
call fcn.18001c3c0
mov rbx, rax
lea rax, [rsp + 0x58]
cmp rax, rbx
je 0x180009eee
cmp qword [rsp + 0x70], 8
jb 0x180009ecc
mov rcx, qword [rsp + 0x58]
call fcn.1800b5700
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], r14
mov word [rsp + 0x58], r14w
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.180016260
nop
cmp qword [rbp - 0x50], 8
jb 0x180009efe
mov rcx, qword [rbp - 0x68]
call fcn.1800b5700
mov qword [rbp - 0x50], 7
mov qword [rbp - 0x58], r14
mov word [rbp - 0x68], r14w
cmp qword [rbp - 0x70], 8
jb 0x180009f20
mov rcx, qword [rsp + 0x78]
call fcn.1800b5700
mov qword [rbp - 0x70], 7
mov qword [rbp - 0x78], r14
mov word [rsp + 0x78], r14w
cmp qword [rbp + 0x10], 8
jb 0x180009f42
mov rcx, qword [rbp - 8]
call fcn.1800b5700
mov qword [rbp + 0x10], 7
mov qword [rbp + 8], r14
mov word [rbp - 8], r14w
cmp qword [rsp + 0x68], 0
jbe 0x180009fcc
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp - 0x48]
lea rcx, [rsp + 0x58]
call fcn.1800162f0
cmp qword [rsp + 0x68], 0
je 0x180009fcc
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rcx, qword [rsp + 0x58]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete al
test al, al
je 0x180009fcc
mov qword [rdi + 0x18], 7
mov qword [rdi + 0x10], r14
mov word [rdi], r14w
cmp qword [rsp + 0x70], 8
jb 0x180009e17
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x38], rdi
mov rax, qword [rsp + 0x58]
mov qword [rdi], rax
jmp 0x180009e45
lea rcx, [rbp - 8]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movzx eax, word [rbp - 8]
cmp ax, 6
je 0x180009ff7
cmp ax, 9
je 0x180009ff7
lea rcx, [rbp - 0x68]
call fcn.180001f80
nop
mov esi, 4
jmp 0x18000a007
lea rcx, [rsp + 0x78]
call fcn.180002180
nop
mov esi, 2
mov dword [rsp + 0x30], esi
lea rcx, [rbp - 0x28]
cmp rcx, rax
je 0x18000a028
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp - 0x28]
call fcn.1800165a0
nop
test sil, 4
je 0x18000a056
and esi, 0xfffffffb
mov dword [rsp + 0x30], esi
cmp qword [rbp - 0x50], 8
jb 0x18000a045
mov rcx, qword [rbp - 0x68]
call fcn.1800b5700
mov qword [rbp - 0x50], 7
mov qword [rbp - 0x58], r14
mov word [rbp - 0x68], r14w
test sil, 2
je 0x18000a086
and esi, 0xfffffffd
mov dword [rsp + 0x30], esi
cmp qword [rbp - 0x70], 8
jb 0x18000a074
mov rcx, qword [rsp + 0x78]
call fcn.1800b5700
mov qword [rbp - 0x70], 7
mov qword [rbp - 0x78], r14
mov word [rsp + 0x78], r14w
mov qword [rbp + 0x38], r14
mov qword [rbp + 0x40], r14
mov qword [rbp + 0x40], 7
mov qword [rbp + 0x38], r14
mov word [rbp + 0x28], r14w
mov r8d, 0xb
lea rdx, str.DisplayIcon
lea rcx, [rbp + 0x28]
call fcn.1800166f0
nop
mov qword [rsp + 0x38], 0xffffffff80000002
lea rcx, [rbp - 8]
call fcn.180006fe0
nop
mov r8, rax
lea rdx, [rbp - 0x28]
lea rcx, [rsp + 0x78]
call fcn.1800193e0
mov rbx, rax
call fcn.1800146f0
lea rax, [rbp + 0x28]
mov qword [rsp + 0x20], rax
mov r9, rbx
lea r8, [rsp + 0x38]
lea rdx, [rbp - 0x68]
call fcn.18002c170
mov rbx, rax
lea rax, [rsp + 0x58]
cmp rax, rbx
je 0x18000a13d
cmp qword [rsp + 0x70], 8
jb 0x18000a11b
mov rcx, qword [rsp + 0x58]
call fcn.1800b5700
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], r14
mov word [rsp + 0x58], r14w
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.180016260
nop
cmp qword [rbp - 0x50], 8
jb 0x18000a14d
mov rcx, qword [rbp - 0x68]
call fcn.1800b5700
mov qword [rbp - 0x50], 7
mov qword [rbp - 0x58], r14
mov word [rbp - 0x68], r14w
cmp qword [rbp - 0x70], 8
jb 0x18000a16f
mov rcx, qword [rsp + 0x78]
call fcn.1800b5700
mov qword [rbp - 0x70], 7
mov qword [rbp - 0x78], r14
mov word [rsp + 0x78], r14w
cmp qword [rbp + 0x10], 8
jb 0x18000a191
mov rcx, qword [rbp - 8]
call fcn.1800b5700
mov qword [rbp + 0x10], 7
mov qword [rbp + 8], r14
mov word [rbp - 8], r14w
cmp qword [rbp + 0x40], 8
jb 0x18000a1b2
mov rcx, qword [rbp + 0x28]
call fcn.1800b5700
mov qword [rbp + 0x40], 7
mov qword [rbp + 0x38], r14
mov word [rbp + 0x28], r14w
cmp qword [rsp + 0x68], 0
jbe 0x18000a448
lea rcx, [rbp - 8]
call fcn.1800039e0
nop
mov r8, rax
lea rdx, [0x180100a48]
lea rcx, [rsp + 0x78]
call fcn.1800194a0
nop
mov r8, rax
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x68]
call fcn.18001c3c0
mov rbx, rax
lea rax, [rsp + 0x58]
cmp rax, rbx
je 0x18000a240
cmp qword [rsp + 0x70], 8
jb 0x18000a21e
mov rcx, qword [rsp + 0x58]
call fcn.1800b5700
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], r14
mov word [rsp + 0x58], r14w
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.180016260
nop
cmp qword [rbp - 0x50], 8
jb 0x18000a250
mov rcx, qword [rbp - 0x68]
call fcn.1800b5700
mov qword [rbp - 0x50], 7
mov qword [rbp - 0x58], r14
mov word [rbp - 0x68], r14w
cmp qword [rbp - 0x70], 8
jb 0x18000a272
mov rcx, qword [rsp + 0x78]
call fcn.1800b5700
mov qword [rbp - 0x70], 7
mov qword [rbp - 0x78], r14
mov word [rsp + 0x78], r14w
cmp qword [rbp + 0x10], 8
jb 0x18000a294
mov rcx, qword [rbp - 8]
call fcn.1800b5700
mov qword [rbp + 0x10], 7
mov qword [rbp + 8], r14
mov word [rbp - 8], r14w
cmp qword [rsp + 0x68], 0
jbe 0x18000a30d
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp - 0x48]
lea rcx, [rsp + 0x58]
call fcn.1800162f0
cmp qword [rsp + 0x68], 0
je 0x18000a30d
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rcx, qword [rsp + 0x58]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete al
test al, al
je 0x18000a30d
mov qword [rdi + 0x18], 7
mov qword [rdi + 0x10], r14
mov word [rdi], r14w
lea rdx, [rsp + 0x58]
mov rcx, rdi
call fcn.180016260
jmp 0x18000a46a
lea rcx, [rbp - 8]
call fcn.180003ff0
nop
mov r8, rax
lea rdx, [0x180100a48]
lea rcx, [rsp + 0x78]
call fcn.1800194a0
nop
mov r8, rax
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x68]
call fcn.18001c3c0
mov rbx, rax
lea rax, [rsp + 0x58]
cmp rax, rbx
je 0x18000a37e
cmp qword [rsp + 0x70], 8
jb 0x18000a35c
mov rcx, qword [rsp + 0x58]
call fcn.1800b5700
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], r14
mov word [rsp + 0x58], r14w
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.180016260
nop
cmp qword [rbp - 0x50], 8
jb 0x18000a38e
mov rcx, qword [rbp - 0x68]
call fcn.1800b5700
mov qword [rbp - 0x50], 7
mov qword [rbp - 0x58], r14
mov word [rbp - 0x68], r14w
cmp qword [rbp - 0x70], 8
jb 0x18000a3b0
mov rcx, qword [rsp + 0x78]
call fcn.1800b5700
mov qword [rbp - 0x70], 7
mov qword [rbp - 0x78], r14
mov word [rsp + 0x78], r14w
cmp qword [rbp + 0x10], 8
jb 0x18000a3d2
mov rcx, qword [rbp - 8]
call fcn.1800b5700
mov qword [rbp + 0x10], 7
mov qword [rbp + 8], r14
mov word [rbp - 8], r14w
cmp qword [rsp + 0x68], 0
jbe 0x18000a448
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp - 0x48]
lea rcx, [rsp + 0x58]
call fcn.1800162f0
cmp qword [rsp + 0x68], 0
je 0x18000a448
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rcx, qword [rsp + 0x58]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete al
test al, al
je 0x18000a448
mov qword [rdi + 0x18], 7
mov qword [rdi + 0x10], r14
mov word [rdi], r14w
lea rdx, [rsp + 0x58]
mov rcx, rdi
call fcn.180016260
jmp 0x18000a46a
mov qword [rdi + 0x18], 7
mov qword [rdi + 0x10], r14
mov word [rdi], r14w
xor r8d, r8d
lea rdx, [0x180100a4c]
mov rcx, rdi
call fcn.1800166f0
or esi, 1
mov dword [rsp + 0x30], esi
cmp qword [rbp - 0x10], 8
jb 0x18000a481
mov rcx, qword [rbp - 0x28]
call fcn.1800b5700
mov qword [rbp - 0x10], 7
mov qword [rbp - 0x18], r14
mov word [rbp - 0x28], r14w
cmp qword [rsp + 0x70], 8
jb 0x18000a4a4
mov rcx, qword [rsp + 0x58]
call fcn.1800b5700
mov word [rsp + 0x58], r14w
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], 7
cmp qword [rbp - 0x30], 8
jb 0x18000a4c8
mov rcx, qword [rbp - 0x48]
call fcn.1800b5700
mov qword [rbp - 0x30], 7
mov qword [rbp - 0x38], r14
mov word [rbp - 0x48], r14w
mov rax, rdi
mov rcx, qword [rbp + 0x48]
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