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

Disassembly:
mov r11, rsp
push rsi
push rdi
push r12
push r13
push r15
sub rsp, 0x1b0
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov rax, qword [0x1400fb088]
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 0x140003fae
lea rcx, [r11 - 0x150]
call fcn.140028870
nop
mov dword [rsp + 0x20], 1
lea r8d, [r13 + 0x18]
lea rdx, str.XenosCurrentProfile.xpr
mov rcx, rax
call fcn.14000a14c
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x78], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 7
mov word [rax], r13w
lea rdx, [rsp + 0x68]
lea edi, [r13 + 0xb]
jmp 0x140003fcb
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x30]
call fcn.14000572c
lea rdx, [rsp + 0x30]
mov edi, 4
mov dword [rsp + 0x20], edi
xorps xmm0, xmm0
movdqu xmmword [rsp + 0xd0], xmm0
lea rcx, [rsp + 0xc0]
call fcn.14000572c
nop
test dil, 4
je 0x140003ffd
and edi, 0xfffffffb
lea rcx, [rsp + 0x30]
call fcn.14000564c
nop
test dil, 2
je 0x140004011
and edi, 0xfffffffd
lea rcx, [rsp + 0x68]
call fcn.14000564c
nop
test dil, 1
je 0x140004027
and edi, 0xfffffffe
lea rcx, [rsp + 0x88]
call fcn.14000564c
lea rcx, [rsp + 0xc0]
cmp qword [rsp + 0xd8], 8
cmovae rcx, qword [rsp + 0xc0]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140004060
lea rcx, [rsp + 0xc0]
call fcn.14000564c
xor al, al
jmp 0x1400047f0
lea rcx, [rsp + 0xe0]
call fcn.140004b80
nop
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0xe0]
call fcn.1400026f4
movdqa xmm0, xmmword [0x1400dbe30]
movdqu xmmword [rsp + 0x78], xmm0
mov word [rsp + 0x68], r13w
lea rdx, [0x1400cf980]
lea rcx, [rsp + 0x68]
call fcn.1400056b0
nop
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0xe0]
call fcn.1400048ec
mov sil, al
lea rcx, [rsp + 0x68]
call fcn.14000564c
test sil, sil
je 0x1400042e5
movdqa xmm0, xmmword [0x1400dbe30]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], r13w
lea rdx, [0x1400cf9b0]
lea rcx, [rsp + 0x30]
call fcn.1400056b0
nop
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x170]
lea rcx, [rsp + 0xe0]
call fcn.140008d54
nop
lea rcx, [rsp + 0x30]
call fcn.14000564c
lea rax, [rsp + 0x68]
mov qword [rsp + 0x78], r13
mov qword [rsp + 0x80], r13
lea rdx, [rsp + 0x170]
lea rcx, [rsp + 0x68]
call fcn.14000572c
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r15, qword [rsp + 0x1a0]
mov r12, qword [rsp + 0x198]
mov rsi, qword [rsp + 0x190]
mov qword [rsp + 0x98], r13
mov qword [rsp + 0xa0], r13
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x88]
call fcn.14000572c
mov qword [rsp + 0xa8], rsi
mov qword [rsp + 0xb0], r12
mov qword [rsp + 0xb8], r15
lea rcx, [rsp + 0x68]
call fcn.14000564c
or edi, 0x10
movdqa xmm0, xmmword [0x1400dbe30]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], r13w
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r13
mov r15, qword [rsp + 0x98]
mov rcx, rsi
mov rax, rsi
cmp rax, qword [rsp + 0x50]
je 0x1400042bf
lea rdx, [0x140100888]
cmp qword [rcx + 8], r13
cmovne rdx, qword [rcx + 8]
mov qword [rsp + 0x78], r13
mov qword [rsp + 0x80], 7
mov word [rsp + 0x68], r13w
lea rcx, [rsp + 0x68]
call fcn.1400056b0
or edi, 0x20
mov rdx, qword [rbx + 8]
cmp qword [rbx + 0x10], rdx
je 0x140004259
mov qword [rdx + 0x10], r13
mov qword [rdx + 0x18], r13
movups xmm0, xmmword [rsp + 0x68]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x78]
movups xmmword [rdx + 0x10], xmm1
mov qword [rsp + 0x78], r13
mov qword [rsp + 0x80], 7
mov word [rsp + 0x68], r13w
add qword [rbx + 8], 0x20
jmp 0x140004267
lea r8, [rsp + 0x68]
mov rcx, rbx
call fcn.140008f1c
nop
lea rcx, [rsp + 0x68]
call fcn.14000564c
test r15, r15
je 0x1400042ae
lea rdx, [rsp + 0x88]
cmp qword [rsp + 0xa0], 8
cmovae rdx, qword [rsp + 0x88]
mov r8, r15
mov rcx, rsi
call fcn.140005064
mov rsi, rax
mov qword [rsp + 0xa8], rax
mov rcx, rax
jmp 0x1400041d9
mov rsi, qword [rsi + 0x58]
mov qword [rsp + 0xa8], rsi
jmp 0x1400041d3
lea rcx, [rsp + 0x30]
call fcn.14000564c
nop
lea rcx, [rsp + 0x88]
call fcn.14000564c
nop
lea rcx, [rsp + 0x170]
call fcn.14000564c
movdqa xmm0, xmmword [0x1400dbe30]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], r13w
lea rdx, [0x1400cf9e0]
lea rcx, [rsp + 0x30]
call fcn.1400056b0
nop
lea r8, [rbx + 0x9c]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xe0]
call fcn.140009128
nop
lea rcx, [rsp + 0x30]
call fcn.14000564c
movdqa xmm0, xmmword [0x1400dbe30]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], r13w
lea rdx, str.XenosConfig.procName
lea rcx, [rsp + 0x30]
call fcn.1400056b0
nop
lea r8, [rbx + 0x18]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xe0]
call fcn.1400091e0
nop
lea rcx, [rsp + 0x30]
call fcn.14000564c
movdqa xmm0, xmmword [0x1400dbe30]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], r13w
lea rdx, str.XenosConfig.hijack
lea rcx, [rsp + 0x30]
call fcn.1400056b0
nop
lea r8, [rbx + 0xb4]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xe0]
call fcn.140009268
nop
lea rcx, [rsp + 0x30]
call fcn.14000564c
movdqa xmm0, xmmword [0x1400dbe30]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], r13w
lea rdx, str.XenosConfig.unlink
lea rcx, [rsp + 0x30]
call fcn.1400056b0
nop
lea r8, [rbx + 0xb5]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xe0]
call fcn.140009268
nop
lea rcx, [rsp + 0x30]
call fcn.14000564c
movdqa xmm0, xmmword [0x1400dbe30]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], r13w
lea rdx, str.XenosConfig.erasePE
lea rcx, [rsp + 0x30]
call fcn.1400056b0
nop
lea r8, [rbx + 0xb6]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xe0]
call fcn.140009268
nop
lea rcx, [rsp + 0x30]
call fcn.14000564c
movdqa xmm0, xmmword [0x1400dbe30]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], r13w
lea rdx, str.XenosConfig.close
lea rcx, [rsp + 0x30]
call fcn.1400056b0
nop
lea r8, [rbx + 0xb7]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xe0]
call fcn.140009268
nop
lea rcx, [rsp + 0x30]
call fcn.14000564c
movdqa xmm0, xmmword [0x1400dbe30]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], r13w
lea rdx, [0x1400cfae8]
lea rcx, [rsp + 0x30]
call fcn.1400056b0
nop
lea r8, [rbx + 0xb8]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xe0]
call fcn.140009268
nop
lea rcx, [rsp + 0x30]
call fcn.14000564c
movdqa xmm0, xmmword [0x1400dbe30]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], r13w
lea rdx, str.XenosConfig.injIndef
lea rcx, [rsp + 0x30]
call fcn.1400056b0
nop
lea r8, [rbx + 0xb9]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xe0]
call fcn.140009268
nop
lea rcx, [rsp + 0x30]
call fcn.14000564c
movdqa xmm0, xmmword [0x1400dbe30]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], r13w
lea rdx, [0x1400cfb48]
lea rcx, [rsp + 0x30]
call fcn.1400056b0
nop
lea r8, [rbx + 0xa0]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xe0]
call fcn.140009128
nop
lea rcx, [rsp + 0x30]
call fcn.14000564c
movdqa xmm0, xmmword [0x1400dbe30]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], r13w
lea rdx, str.XenosConfig.injectMode
lea rcx, [rsp + 0x30]
call fcn.1400056b0
nop
lea r8, [rbx + 0xa4]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xe0]
call fcn.140009128
nop
lea rcx, [rsp + 0x30]
call fcn.14000564c
movdqa xmm0, xmmword [0x1400dbe30]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], r13w
lea rdx, str.XenosConfig.delay
lea rcx, [rsp + 0x30]
call fcn.1400056b0
nop
lea r8, [rbx + 0xa8]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xe0]
call fcn.140009128
nop
lea rcx, [rsp + 0x30]
call fcn.14000564c
movdqa xmm0, xmmword [0x1400dbe30]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], r13w
lea rdx, [0x1400cfbd0]
lea rcx, [rsp + 0x30]
call fcn.1400056b0
nop
lea r8, [rbx + 0xac]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xe0]
call fcn.140009128
nop
lea rcx, [rsp + 0x30]
call fcn.14000564c
movdqa xmm0, xmmword [0x1400dbe30]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], r13w
lea rdx, str.XenosConfig.skip
lea rcx, [rsp + 0x30]
call fcn.1400056b0
nop
lea r8, [rbx + 0xb0]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xe0]
call fcn.140009128
nop
lea rcx, [rsp + 0x30]
call fcn.14000564c
movdqa xmm0, xmmword [0x1400dbe30]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], r13w
lea rdx, str.XenosConfig.procCmdLine
lea rcx, [rsp + 0x30]
call fcn.1400056b0
nop
lea r8, [rbx + 0x38]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xe0]
call fcn.1400091e0
nop
lea rcx, [rsp + 0x30]
call fcn.14000564c
movdqa xmm0, xmmword [0x1400dbe30]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], r13w
lea rdx, str.XenosConfig.initRoutine
lea rcx, [rsp + 0x30]
call fcn.1400056b0
nop
lea r8, [rbx + 0x58]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xe0]
call fcn.1400091e0
nop
lea rcx, [rsp + 0x30]
call fcn.14000564c
movdqa xmm0, xmmword [0x1400dbe30]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], r13w
lea rdx, str.XenosConfig.initArgs
lea rcx, [rsp + 0x30]
call fcn.1400056b0
nop
lea r8, [rbx + 0x78]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xe0]
call fcn.1400091e0
nop
lea rcx, [rsp + 0x30]
call fcn.14000564c
nop
lea rcx, [rsp + 0x148]
call fcn.14000564c
nop
mov rax, qword [rsp + 0x140]
test rax, rax
je 0x1400047b3
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x138]
test rcx, rcx
je 0x140004818
mov rax, qword [rcx]
lea rdx, [rsp + 0x20]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x138]
test rcx, rcx
je 0x1400047dd
mov r8, qword [rcx]
lea rax, [rsp + 0x100]
cmp rcx, rax
setne dl
call qword [r8 + 0x20]
mov qword [rsp + 0x138], r13
lea rcx, [rsp + 0xc0]
call fcn.14000564c
mov al, 1
jmp 0x1400047f0
mov rcx, qword [rsp + 0x1a8]
xor rcx, rsp
call fcn.14006fa50
mov rbx, qword [rsp + 0x1f0]
add rsp, 0x1b0
pop r15
pop r13
pop r12
pop rdi
pop rsi
ret
call fcn.14006d5b4
int3