Function at 0x18000a510
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.180006cf0
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 0x18000a5e5
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 0x18000a607
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 0x18000a628
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 0x18000a974
lea rcx, [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movzx eax, word [rbp - 0x30]
cmp ax, 6
je 0x18000a670
cmp ax, 9
je 0x18000a670
lea rcx, [rbp - 0x50]
call fcn.180001f80
nop
mov edi, 2
jmp 0x18000a680
lea rcx, [rsp + 0x70]
call fcn.180002180
nop
mov edi, 1
mov dword [rsp + 0x30], edi
lea rcx, [rbp]
cmp rcx, rax
je 0x18000a6a1
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp]
call fcn.1800165a0
nop
test dil, 2
je 0x18000a6cf
and edi, 0xfffffffd
mov dword [rsp + 0x30], edi
cmp qword [rbp - 0x38], 8
jb 0x18000a6be
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 0x18000a6ff
and edi, 0xfffffffe
mov dword [rsp + 0x30], edi
cmp qword [rbp - 0x78], 8
jb 0x18000a6ed
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.180006cf0
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 0x18000a7b6
cmp qword [rsp + 0x68], 8
jb 0x18000a794
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 0x18000a7c6
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 0x18000a7e8
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 0x18000a80a
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 0x18000a82b
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 0x18000a8bc
call fcn.1800146f0
mov rcx, rax
lea rdx, [rbp - 0x30]
call fcn.18002aec0
mov rbx, rax
lea rax, [rsp + 0x50]
cmp rax, rbx
je 0x18000a896
cmp qword [rsp + 0x68], 8
jb 0x18000a874
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 0x18000a8a6
mov rcx, qword [rbp - 0x30]
call fcn.1800b5700
mov qword [rbp - 0x18], 7
mov qword [rbp - 0x20], r14
mov word [rbp - 0x30], r14w
jmp 0x18000aa4a
lea rcx, [rsp + 0x70]
call fcn.180003af0
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 0x18000a92d
cmp qword [rsp + 0x68], 8
jb 0x18000a90b
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 0x18000a93d
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 0x18000a95e
mov rcx, qword [rbp - 0x50]
call fcn.1800b5700
mov qword [rbp - 0x38], 7
mov qword [rbp - 0x40], r14
mov word [rbp - 0x50], r14w
jmp 0x18000aa27
lea rcx, [rsp + 0x70]
call fcn.180003af0
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 0x18000a9e5
cmp qword [rsp + 0x68], 8
jb 0x18000a9c3
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 0x18000a9f5
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 0x18000aa16
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 0x18000aa38
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.180002560
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.1800162f0
nop
cmp qword [rbp - 0x18], 8
jb 0x18000aa79
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 0x18000aaed
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 0x18000aaed
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 0x18000ab20
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 0x18000ab71
and edi, 0xfffffff7
mov dword [rsp + 0x30], edi
cmp qword [rbp - 0x58], 8
jb 0x18000ab60
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 0x18000aba1
and edi, 0xfffffffb
mov dword [rsp + 0x30], edi
cmp qword [rbp - 0x78], 8
jb 0x18000ab8f
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 0x18000abb3
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 0x18000abd7
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