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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1b0
mov rax, qword [0x1400c50b0]
xor rax, rsp
mov qword [rsp + 0x1a8], rax
mov rbx, rcx
xor r13d, r13d
mov dword [rsp + 0x20], r13d
cmp qword [rdx + 0x10], r13
jne 0x140003482
lea rcx, [rsp + 0x80]
call fcn.140024a70
nop
mov dword [rsp + 0x20], 1
lea r8d, [r13 + 0x18]
lea rdx, str.XenosCurrentProfile.xpr
mov rcx, rax
call fcn.140009240
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x70], xmm1
mov qword [rax + 0x10], r13
lea r14d, [r13 + 7]
mov qword [rax + 0x18], r14
mov word [rax], r13w
lea rax, [rsp + 0x60]
lea edi, [r13 + 0xb]
jmp 0x1400034a8
mov qword [rsp + 0x28], r13
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
lea rcx, [rsp + 0x28]
call fcn.140006770
lea rax, [rsp + 0x28]
mov edi, 4
lea r14d, [rdi + 3]
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0xb8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0xc8], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], r14
mov word [rax], r13w
test dil, 4
je 0x1400034df
and edi, 0xfffffffb
lea rcx, [rsp + 0x28]
call fcn.140006690
nop
test dil, 2
je 0x1400034f3
and edi, 0xfffffffd
lea rcx, [rsp + 0x60]
call fcn.140006690
nop
test dil, 1
je 0x140003509
and edi, 0xfffffffe
lea rcx, [rsp + 0x80]
call fcn.140006690
lea rcx, [rsp + 0xb8]
cmp qword [rsp + 0xd0], 8
cmovae rcx, qword [rsp + 0xb8]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140003542
lea rcx, [rsp + 0xb8]
call fcn.140006690
xor al, al
jmp 0x140003cd2
lea rcx, [rsp + 0xe0]
call fcn.1400040e8
nop
lea rdx, [rsp + 0xb8]
lea rcx, [rsp + 0xe0]
call fcn.140002614
mov qword [rsp + 0x60], r13
movdqa xmm0, xmmword [0x1400b40c0]
movdqu xmmword [rsp + 0x70], xmm0
mov word [rsp + 0x60], r13w
lea rdx, [0x1400a8bc0]
lea rcx, [rsp + 0x60]
call fcn.1400066f4
nop
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0xe0]
call fcn.1400041bc
mov sil, al
lea rcx, [rsp + 0x60]
call fcn.140006690
test sil, sil
je 0x1400037cc
mov qword [rsp + 0x28], r13
movdqa xmm0, xmmword [0x1400b40c0]
movdqu xmmword [rsp + 0x38], xmm0
mov word [rsp + 0x28], r13w
lea rdx, [0x1400a8bf0]
lea rcx, [rsp + 0x28]
call fcn.1400066f4
nop
lea r8, [rsp + 0x28]
lea rdx, [rsp + 0x170]
lea rcx, [rsp + 0xe0]
call fcn.140007eac
nop
lea rcx, [rsp + 0x28]
call fcn.140006690
mov r15, qword [rsp + 0x1a0]
mov r12, qword [rsp + 0x198]
mov rsi, qword [rsp + 0x190]
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x78], r13
lea rdx, [rsp + 0x170]
lea rcx, [rsp + 0x60]
call fcn.140006770
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x80], r13
mov qword [rsp + 0x90], r13
mov qword [rsp + 0x98], r13
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x80]
call fcn.140006770
mov qword [rsp + 0xa0], rsi
mov qword [rsp + 0xa8], r12
mov qword [rsp + 0xb0], r15
lea rcx, [rsp + 0x60]
call fcn.140006690
or edi, 0x10
mov qword [rsp + 0x28], r13
movdqa xmm0, xmmword [0x1400b40c0]
movdqu xmmword [rsp + 0x38], xmm0
mov word [rsp + 0x28], r13w
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r13
mov r15, qword [rsp + 0x90]
cmp rsi, qword [rsp + 0x48]
je 0x1400037a6
lea rdx, [0x1400c91e0]
cmp qword [rsi + 8], r13
cmovne rdx, qword [rsi + 8]
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x78], r14
mov word [rsp + 0x60], r13w
lea rcx, [rsp + 0x60]
call fcn.1400066f4
or edi, 0x20
mov rdx, qword [rbx + 8]
cmp rdx, qword [rbx + 0x10]
je 0x140003743
mov qword [rdx], r13
mov qword [rdx + 0x10], r13
mov qword [rdx + 0x18], r13
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x70]
movups xmmword [rdx + 0x10], xmm1
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x78], r14
mov word [rsp + 0x60], r13w
add qword [rbx + 8], 0x20
jmp 0x140003751
lea r8, [rsp + 0x60]
mov rcx, rbx
call fcn.140008300
nop
lea rcx, [rsp + 0x60]
call fcn.140006690
test r15, r15
je 0x140003795
lea rdx, [rsp + 0x80]
cmp qword [rsp + 0x98], 8
cmovae rdx, qword [rsp + 0x80]
mov r8, r15
mov rcx, rsi
call fcn.1400060bc
mov rsi, rax
mov qword [rsp + 0xa0], rax
jmp 0x1400036c9
mov rsi, qword [rsi + 0x58]
mov qword [rsp + 0xa0], rsi
jmp 0x1400036c9
lea rcx, [rsp + 0x28]
call fcn.140006690
nop
lea rcx, [rsp + 0x80]
call fcn.140006690
nop
lea rcx, [rsp + 0x170]
call fcn.140006690
mov qword [rsp + 0x28], r13
movdqa xmm0, xmmword [0x1400b40c0]
movdqu xmmword [rsp + 0x38], xmm0
mov word [rsp + 0x28], r13w
lea rdx, [0x1400a8c20]
lea rcx, [rsp + 0x28]
call fcn.1400066f4
nop
lea r8, [rbx + 0x9c]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0xe0]
call fcn.1400084e4
nop
lea rcx, [rsp + 0x28]
call fcn.140006690
mov qword [rsp + 0x28], r13
movdqa xmm0, xmmword [0x1400b40c0]
movdqu xmmword [rsp + 0x38], xmm0
mov word [rsp + 0x28], r13w
lea rdx, str.XenosConfig.procName
lea rcx, [rsp + 0x28]
call fcn.1400066f4
nop
lea r8, [rbx + 0x18]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0xe0]
call fcn.140008594
nop
lea rcx, [rsp + 0x28]
call fcn.140006690
mov qword [rsp + 0x28], r13
movdqa xmm0, xmmword [0x1400b40c0]
movdqu xmmword [rsp + 0x38], xmm0
mov word [rsp + 0x28], r13w
lea rdx, str.XenosConfig.hijack
lea rcx, [rsp + 0x28]
call fcn.1400066f4
nop
lea r8, [rbx + 0xb4]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0xe0]
call fcn.140008614
nop
lea rcx, [rsp + 0x28]
call fcn.140006690
mov qword [rsp + 0x28], r13
movdqa xmm0, xmmword [0x1400b40c0]
movdqu xmmword [rsp + 0x38], xmm0
mov word [rsp + 0x28], r13w
lea rdx, str.XenosConfig.unlink
lea rcx, [rsp + 0x28]
call fcn.1400066f4
nop
lea r8, [rbx + 0xb5]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0xe0]
call fcn.140008614
nop
lea rcx, [rsp + 0x28]
call fcn.140006690
mov qword [rsp + 0x28], r13
movdqa xmm0, xmmword [0x1400b40c0]
movdqu xmmword [rsp + 0x38], xmm0
mov word [rsp + 0x28], r13w
lea rdx, str.XenosConfig.erasePE
lea rcx, [rsp + 0x28]
call fcn.1400066f4
nop
lea r8, [rbx + 0xb6]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0xe0]
call fcn.140008614
nop
lea rcx, [rsp + 0x28]
call fcn.140006690
mov qword [rsp + 0x28], r13
movdqa xmm0, xmmword [0x1400b40c0]
movdqu xmmword [rsp + 0x38], xmm0
mov word [rsp + 0x28], r13w
lea rdx, str.XenosConfig.close
lea rcx, [rsp + 0x28]
call fcn.1400066f4
nop
lea r8, [rbx + 0xb7]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0xe0]
call fcn.140008614
nop
lea rcx, [rsp + 0x28]
call fcn.140006690
mov qword [rsp + 0x28], r13
movdqa xmm0, xmmword [0x1400b40c0]
movdqu xmmword [rsp + 0x38], xmm0
mov word [rsp + 0x28], r13w
lea rdx, [0x1400a8d28]
lea rcx, [rsp + 0x28]
call fcn.1400066f4
nop
lea r8, [rbx + 0xb8]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0xe0]
call fcn.140008614
nop
lea rcx, [rsp + 0x28]
call fcn.140006690
mov qword [rsp + 0x28], r13
movdqa xmm0, xmmword [0x1400b40c0]
movdqu xmmword [rsp + 0x38], xmm0
mov word [rsp + 0x28], r13w
lea rdx, str.XenosConfig.injIndef
lea rcx, [rsp + 0x28]
call fcn.1400066f4
nop
lea r8, [rbx + 0xb9]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0xe0]
call fcn.140008614
nop
lea rcx, [rsp + 0x28]
call fcn.140006690
mov qword [rsp + 0x28], r13
movdqa xmm0, xmmword [0x1400b40c0]
movdqu xmmword [rsp + 0x38], xmm0
mov word [rsp + 0x28], r13w
lea rdx, [0x1400a8d88]
lea rcx, [rsp + 0x28]
call fcn.1400066f4
nop
lea r8, [rbx + 0xa0]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0xe0]
call fcn.1400084e4
nop
lea rcx, [rsp + 0x28]
call fcn.140006690
mov qword [rsp + 0x28], r13
movdqa xmm0, xmmword [0x1400b40c0]
movdqu xmmword [rsp + 0x38], xmm0
mov word [rsp + 0x28], r13w
lea rdx, str.XenosConfig.injectMode
lea rcx, [rsp + 0x28]
call fcn.1400066f4
nop
lea r8, [rbx + 0xa4]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0xe0]
call fcn.1400084e4
nop
lea rcx, [rsp + 0x28]
call fcn.140006690
mov qword [rsp + 0x28], r13
movdqa xmm0, xmmword [0x1400b40c0]
movdqu xmmword [rsp + 0x38], xmm0
mov word [rsp + 0x28], r13w
lea rdx, str.XenosConfig.delay
lea rcx, [rsp + 0x28]
call fcn.1400066f4
nop
lea r8, [rbx + 0xa8]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0xe0]
call fcn.1400084e4
nop
lea rcx, [rsp + 0x28]
call fcn.140006690
mov qword [rsp + 0x28], r13
movdqa xmm0, xmmword [0x1400b40c0]
movdqu xmmword [rsp + 0x38], xmm0
mov word [rsp + 0x28], r13w
lea rdx, [0x1400a8e10]
lea rcx, [rsp + 0x28]
call fcn.1400066f4
nop
lea r8, [rbx + 0xac]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0xe0]
call fcn.1400084e4
nop
lea rcx, [rsp + 0x28]
call fcn.140006690
mov qword [rsp + 0x28], r13
movdqa xmm0, xmmword [0x1400b40c0]
movdqu xmmword [rsp + 0x38], xmm0
mov word [rsp + 0x28], r13w
lea rdx, str.XenosConfig.skip
lea rcx, [rsp + 0x28]
call fcn.1400066f4
nop
lea r8, [rbx + 0xb0]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0xe0]
call fcn.1400084e4
nop
lea rcx, [rsp + 0x28]
call fcn.140006690
mov qword [rsp + 0x28], r13
movdqa xmm0, xmmword [0x1400b40c0]
movdqu xmmword [rsp + 0x38], xmm0
mov word [rsp + 0x28], r13w
lea rdx, str.XenosConfig.procCmdLine
lea rcx, [rsp + 0x28]
call fcn.1400066f4
nop
lea r8, [rbx + 0x38]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0xe0]
call fcn.140008594
nop
lea rcx, [rsp + 0x28]
call fcn.140006690
mov qword [rsp + 0x28], r13
movdqa xmm0, xmmword [0x1400b40c0]
movdqu xmmword [rsp + 0x38], xmm0
mov word [rsp + 0x28], r13w
lea rdx, str.XenosConfig.initRoutine
lea rcx, [rsp + 0x28]
call fcn.1400066f4
nop
lea r8, [rbx + 0x58]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0xe0]
call fcn.140008594
nop
lea rcx, [rsp + 0x28]
call fcn.140006690
mov qword [rsp + 0x28], r13
movdqa xmm0, xmmword [0x1400b40c0]
movdqu xmmword [rsp + 0x38], xmm0
mov word [rsp + 0x28], r13w
lea rdx, str.XenosConfig.initArgs
lea rcx, [rsp + 0x28]
call fcn.1400066f4
nop
lea r8, [rbx + 0x78]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0xe0]
call fcn.140008594
nop
lea rcx, [rsp + 0x28]
call fcn.140006690
nop
lea rcx, [rsp + 0xe0]
call fcn.140003388
nop
lea rcx, [rsp + 0xb8]
call fcn.140006690
mov al, 1
jmp 0x140003cd2
mov rcx, qword [rsp + 0x1a8]
xor rcx, rsp
call fcn.140068fb0
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret