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

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x48]
sub rsp, 0x130
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 + 0x20], rax
mov rsi, rcx
mov qword [rsp + 0x48], rcx
xor r14d, r14d
mov edi, r14d
mov dword [rsp + 0x30], r14d
lea rcx, [rbp]
call fcn.180001f80
nop
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x58], r14
mov qword [rbp - 0x58], 7
mov qword [rbp - 0x60], r14
mov word [rbp - 0x70], r14w
lea r8d, [r14 + 0xb]
lea rdx, str.DisplayIcon
lea rcx, [rbp - 0x70]
call fcn.1800166f0
nop
mov qword [rsp + 0x38], 0xffffffff80000001
lea rcx, [rbp - 0x50]
call fcn.180007c40
nop
mov r8, rax
lea rdx, [rbp]
lea rcx, [rsp + 0x70]
call fcn.1800193e0
mov rbx, rax
call fcn.1800146f0
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
mov r9, rbx
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x50]
call fcn.18002c170
nop
cmp qword [rbp - 0x78], 8
jb 0x18000b625
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 [rbp - 0x38], 8
jb 0x18000b647
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 0x18000b668
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 [rsp + 0x60], 0
ja 0x18000b9b4
lea rcx, [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movzx eax, word [rbp - 0x30]
cmp ax, 6
je 0x18000b6b0
cmp ax, 9
je 0x18000b6b0
lea rcx, [rbp - 0x50]
call fcn.180001f80
nop
mov edi, 2
jmp 0x18000b6c0
lea rcx, [rsp + 0x70]
call fcn.180002180
nop
mov edi, 1
mov dword [rsp + 0x30], edi
lea rcx, [rbp]
cmp rcx, rax
je 0x18000b6e1
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp]
call fcn.1800165a0
nop
test dil, 2
je 0x18000b70f
and edi, 0xfffffffd
mov dword [rsp + 0x30], edi
cmp qword [rbp - 0x38], 8
jb 0x18000b6fe
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, 1
je 0x18000b73f
and edi, 0xfffffffe
mov dword [rsp + 0x30], edi
cmp qword [rbp - 0x78], 8
jb 0x18000b72d
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 - 0x60], r14
mov qword [rbp - 0x58], r14
mov qword [rbp - 0x58], 7
mov qword [rbp - 0x60], r14
mov word [rbp - 0x70], r14w
mov r8d, 0xb
lea rdx, str.DisplayIcon
lea rcx, [rbp - 0x70]
call fcn.1800166f0
nop
mov qword [rsp + 0x38], 0xffffffff80000002
lea rcx, [rbp - 0x30]
call fcn.180007c40
nop
mov r8, rax
lea rdx, [rbp]
lea rcx, [rsp + 0x70]
call fcn.1800193e0
mov rbx, rax
call fcn.1800146f0
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
mov r9, rbx
lea r8, [rsp + 0x38]
lea rdx, [rbp - 0x50]
call fcn.18002c170
mov rbx, rax
lea rax, [rsp + 0x50]
cmp rax, rbx
je 0x18000b7f6
cmp qword [rsp + 0x68], 8
jb 0x18000b7d4
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 - 0x38], 8
jb 0x18000b806
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 - 0x78], 8
jb 0x18000b828
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 [rbp - 0x18], 8
jb 0x18000b84a
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 - 0x58], 8
jb 0x18000b86b
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 [rsp + 0x60], 0
ja 0x18000b8fc
call fcn.1800146f0
mov rcx, rax
lea rdx, [rbp - 0x30]
call fcn.18002aec0
mov rbx, rax
lea rax, [rsp + 0x50]
cmp rax, rbx
je 0x18000b8d6
cmp qword [rsp + 0x68], 8
jb 0x18000b8b4
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 0x18000b8e6
mov rcx, qword [rbp - 0x30]
call fcn.1800b5700
mov qword [rbp - 0x18], 7
mov qword [rbp - 0x20], r14
mov word [rbp - 0x30], r14w
jmp 0x18000ba8a
lea rcx, [rsp + 0x70]
call fcn.180003d10
nop
mov r8, rax
lea rdx, [0x180100a48]
lea rcx, [rbp - 0x50]
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 0x18000b96d
cmp qword [rsp + 0x68], 8
jb 0x18000b94b
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 0x18000b97d
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 - 0x38], 8
jb 0x18000b99e
mov rcx, qword [rbp - 0x50]
call fcn.1800b5700
mov qword [rbp - 0x38], 7
mov qword [rbp - 0x40], r14
mov word [rbp - 0x50], r14w
jmp 0x18000ba67
lea rcx, [rsp + 0x70]
call fcn.180003d10
nop
mov r8, rax
lea rdx, [0x180100a48]
lea rcx, [rbp - 0x50]
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 0x18000ba25
cmp qword [rsp + 0x68], 8
jb 0x18000ba03
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 0x18000ba35
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 - 0x38], 8
jb 0x18000ba56
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 - 0x78], 8
jb 0x18000ba78
mov rcx, qword [rsp + 0x70]
call fcn.1800b5700
mov word [rsp + 0x70], r14w
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], 7
lea rcx, [rbp - 0x30]
call fcn.180002a10
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.1800162f0
nop
cmp qword [rbp - 0x18], 8
jb 0x18000bab9
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 0x18000bb2d
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 0x18000bb2d
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 0x18000bb60
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x58], r14
mov qword [rbp - 0x58], 7
mov qword [rbp - 0x60], r14
mov word [rbp - 0x70], r14w
xor r8d, r8d
lea rdx, [0x180100a4c]
lea rcx, [rbp - 0x70]
call fcn.1800166f0
lea rdx, [rbp - 0x70]
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 0x18000bbb1
and edi, 0xfffffff7
mov dword [rsp + 0x30], edi
cmp qword [rbp - 0x58], 8
jb 0x18000bba0
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, 4
je 0x18000bbe1
and edi, 0xfffffffb
mov dword [rsp + 0x30], edi
cmp qword [rbp - 0x78], 8
jb 0x18000bbcf
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 0x18000bbf3
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 + 0x18], 8
jb 0x18000bc17
mov rcx, qword [rbp]
call fcn.1800b5700
mov qword [rbp + 0x18], 7
mov qword [rbp + 0x10], r14
mov word [rbp], r14w
mov rax, rsi
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.1800b6c40
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret