Function at 0x18000d630
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r13
push r14
lea rbp, [rax - 0x458]
sub rsp, 0x530
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x18004b8d8]
xor rax, rsp
mov qword [rbp + 0x420], rax
mov dil, dl
mov rsi, rcx
lea rcx, [rsp + 0x40]
call fcn.1800073c4
nop
mov rbx, qword [rbp - 0x80]
xor r13d, r13d
test rbx, rbx
jne 0x18000d695
lea rcx, [rsp + 0x40]
call fcn.180007358
mov rbx, rax
mov r14d, recv
mov qword [rbp + 0x10], r14
mov qword [rbp + 8], r13
mov byte [rbp - 8], r13b
mov rcx, rbx
call fcn.18001c010
mov r8, rax
mov rdx, rbx
lea rcx, [rbp - 8]
call fcn.180003020
nop
cmp qword [rbp + 8], r13
ja 0x18000d6f2
cmp qword [rbp + 0x10], 0x10
jb 0x18000d6d5
mov rcx, qword [rbp - 8]
call fcn.18001c1c4
mov qword [rbp + 0x10], r14
mov qword [rbp + 8], r13
mov byte [rbp - 8], r13b
lea rcx, [rsp + 0x40]
call fcn.180007490
xor eax, eax
jmp 0x18000d943
lea r12, [0x18003f7b0]
mov rcx, r12
call fcn.18001c010
mov r8, rax
mov rdx, r12
lea rcx, [rbp - 8]
call fcn.180006208
mov rcx, rsi
call fcn.18001c010
mov r8, rax
mov rdx, rsi
lea rcx, [rbp - 8]
call fcn.180006208
mov qword [rbp - 0x18], r14
mov qword [rbp - 0x20], r13
mov byte [rbp - 0x30], r13b
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp - 8]
lea rcx, [rbp - 0x30]
call fcn.180003118
nop
lea rbx, [rbp - 8]
cmp qword [rbp + 0x10], 0x10
cmovae rbx, qword [rbp - 8]
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp + 0x20]
call fcn.18001c0d0
mov rdx, rbx
lea rcx, [rbp + 0x20]
call fcn.18001c600
mov rdx, r12
lea rcx, [rbp + 0x20]
call fcn.18001c560
lea rcx, [rbp + 0x20]
call qword [sym.imp.imagehlp.dll_MakeSureDirectoryPathExists]
lea rcx, str.deskInstall.cfg
call fcn.18001c010
mov r8, rax
lea rdx, str.deskInstall.cfg
lea rcx, [rbp - 0x30]
call fcn.180006208
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], 0x10
cmovae rcx, qword [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x18000d8e5
and eax, 0x10
test al, al
jne 0x18000d8e5
mov sil, 1
mov ecx, 0xa0
call fcn.18001c2b0
mov qword [rsp + 0x20], rax
test rax, rax
je 0x18000d7f4
mov rcx, rax
call fcn.1800082b4
mov rdi, rax
jmp 0x18000d7f7
mov rdi, r13
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 0x10
cmovae rdx, qword [rbp - 0x30]
mov rcx, rdi
call fcn.180008570
mov rcx, rdi
call fcn.180008bec
lea r8, str.install
lea rdx, str.config
mov rcx, rdi
call fcn.1800093cc
mov r12, rax
test rax, rax
je 0x18000d87d
mov rcx, rax
call fcn.18001c010
test rax, rax
je 0x18000d87d
xor ecx, ecx
call fcn.18001e228
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x28]
call fcn.18001e1e0
mov ebx, dword [rax + 0x1c]
mov rcx, r12
call fcn.18001ccdc
movsxd rcx, eax
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x20]
call fcn.18001e1e0
cmp ebx, dword [rax + 0x1c]
jne 0x18000d895
mov sil, 1
jmp 0x18000d895
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], 0x10
cmovae rcx, qword [rbp - 0x30]
xor edx, edx
call fcn.18000d354
mov sil, r13b
test rdi, rdi
je 0x18000d8a7
mov rax, qword [rdi]
mov edx, 1
mov rcx, rdi
call qword [rax]
movzx ebx, sil
cmp qword [rbp - 0x18], 0x10
jb 0x18000d8bb
mov rcx, qword [rbp - 0x30]
call fcn.18001c1c4
mov qword [rbp - 0x18], r14
mov qword [rbp - 0x20], r13
mov byte [rbp - 0x30], r13b
cmp qword [rbp + 0x10], 0x10
jb 0x18000d8d7
mov rcx, qword [rbp - 8]
call fcn.18001c1c4
mov qword [rbp + 0x10], r14
mov qword [rbp + 8], r13
mov byte [rbp - 8], r13b
jmp 0x18000d937
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], 0x10
cmovae rcx, qword [rbp - 0x30]
mov dl, dil
call fcn.18000d354
nop
cmp qword [rbp - 0x18], 0x10
jb 0x18000d90c
mov rcx, qword [rbp - 0x30]
call fcn.18001c1c4
mov qword [rbp - 0x18], r14
mov qword [rbp - 0x20], r13
mov byte [rbp - 0x30], r13b
cmp qword [rbp + 0x10], 0x10
jb 0x18000d928
mov rcx, qword [rbp - 8]
call fcn.18001c1c4
mov qword [rbp + 0x10], r14
mov qword [rbp + 8], r13
mov byte [rbp - 8], r13b
mov ebx, r13d
lea rcx, [rsp + 0x40]
call fcn.180007490
mov eax, ebx
mov rcx, qword [rbp + 0x420]
xor rcx, rsp
call fcn.18001bbd0
lea r11, [rsp + 0x530]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rbp
ret