Function at 0x1400033e8
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 [0x1400f3080]
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 0x14000347e
lea rcx, [r11 - 0x150]
call fcn.140025590
nop
mov dword [rsp + 0x20], 1
lea r8d, [r13 + 0x18]
lea rdx, str.XenosCurrentProfile.xpr
mov rcx, rax
call fcn.140009530
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 0x14000349b
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x30]
call fcn.140004ce4
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.140004ce4
nop
test dil, 4
je 0x1400034cd
and edi, 0xfffffffb
lea rcx, [rsp + 0x30]
call fcn.140004c00
nop
test dil, 2
je 0x1400034e1
and edi, 0xfffffffd
lea rcx, [rsp + 0x68]
call fcn.140004c00
nop
test dil, 1
je 0x1400034f7
and edi, 0xfffffffe
lea rcx, [rsp + 0x88]
call fcn.140004c00
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 0x140003530
lea rcx, [rsp + 0xc0]
call fcn.140004c00
xor al, al
jmp 0x140003cbd
lea rcx, [rsp + 0xe0]
call fcn.140004154
nop
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0xe0]
call fcn.140002584
movdqa xmm0, xmmword [0x1400d76e0]
movdqu xmmword [rsp + 0x78], xmm0
mov word [rsp + 0x68], r13w
lea rdx, [0x1400cba50]
lea rcx, [rsp + 0x68]
call fcn.140004c64
nop
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0xe0]
call fcn.140003db4
mov sil, al
lea rcx, [rsp + 0x68]
call fcn.140004c00
test sil, sil
je 0x1400037b0
movdqa xmm0, xmmword [0x1400d76e0]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], r13w
lea rdx, [0x1400cba80]
lea rcx, [rsp + 0x30]
call fcn.140004c64
nop
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x170]
lea rcx, [rsp + 0xe0]
call fcn.140007f58
nop
lea rcx, [rsp + 0x30]
call fcn.140004c00
mov r15, qword [rsp + 0x1a0]
mov r12, qword [rsp + 0x198]
mov rsi, qword [rsp + 0x190]
mov qword [rsp + 0x78], r13
mov qword [rsp + 0x80], r13
lea rdx, [rsp + 0x170]
lea rcx, [rsp + 0x68]
call fcn.140004ce4
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x98], r13
mov qword [rsp + 0xa0], r13
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x88]
call fcn.140004ce4
mov qword [rsp + 0xa8], rsi
mov qword [rsp + 0xb0], r12
mov qword [rsp + 0xb8], r15
lea rcx, [rsp + 0x68]
call fcn.140004c00
or edi, 0x10
movdqa xmm0, xmmword [0x1400d76e0]
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 0x14000378a
lea rdx, [0x1400f8768]
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.140004c64
or edi, 0x20
mov rdx, qword [rbx + 8]
cmp rdx, qword [rbx + 0x10]
je 0x140003724
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 0x140003732
lea r8, [rsp + 0x68]
mov rcx, rbx
call fcn.140008258
nop
lea rcx, [rsp + 0x68]
call fcn.140004c00
test r15, r15
je 0x140003779
lea rdx, [rsp + 0x88]
cmp qword [rsp + 0xa0], 8
cmovae rdx, qword [rsp + 0x88]
mov r8, r15
mov rcx, rsi
call fcn.140004618
mov rsi, rax
mov qword [rsp + 0xa8], rax
mov rcx, rax
jmp 0x1400036a4
mov rsi, qword [rsi + 0x58]
mov qword [rsp + 0xa8], rsi
jmp 0x14000369e
lea rcx, [rsp + 0x30]
call fcn.140004c00
nop
lea rcx, [rsp + 0x88]
call fcn.140004c00
nop
lea rcx, [rsp + 0x170]
call fcn.140004c00
movdqa xmm0, xmmword [0x1400d76e0]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], r13w
lea rdx, [0x1400cbab0]
lea rcx, [rsp + 0x30]
call fcn.140004c64
nop
lea r8, [rbx + 0x9c]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xe0]
call fcn.14000845c
nop
lea rcx, [rsp + 0x30]
call fcn.140004c00
movdqa xmm0, xmmword [0x1400d76e0]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], r13w
lea rdx, str.XenosConfig.procName
lea rcx, [rsp + 0x30]
call fcn.140004c64
nop
lea r8, [rbx + 0x18]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xe0]
call fcn.140008514
nop
lea rcx, [rsp + 0x30]
call fcn.140004c00
movdqa xmm0, xmmword [0x1400d76e0]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], r13w
lea rdx, str.XenosConfig.hijack
lea rcx, [rsp + 0x30]
call fcn.140004c64
nop
lea r8, [rbx + 0xb4]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xe0]
call fcn.14000859c
nop
lea rcx, [rsp + 0x30]
call fcn.140004c00
movdqa xmm0, xmmword [0x1400d76e0]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], r13w
lea rdx, str.XenosConfig.unlink
lea rcx, [rsp + 0x30]
call fcn.140004c64
nop
lea r8, [rbx + 0xb5]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xe0]
call fcn.14000859c
nop
lea rcx, [rsp + 0x30]
call fcn.140004c00
movdqa xmm0, xmmword [0x1400d76e0]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], r13w
lea rdx, str.XenosConfig.erasePE
lea rcx, [rsp + 0x30]
call fcn.140004c64
nop
lea r8, [rbx + 0xb6]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xe0]
call fcn.14000859c
nop
lea rcx, [rsp + 0x30]
call fcn.140004c00
movdqa xmm0, xmmword [0x1400d76e0]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], r13w
lea rdx, str.XenosConfig.close
lea rcx, [rsp + 0x30]
call fcn.140004c64
nop
lea r8, [rbx + 0xb7]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xe0]
call fcn.14000859c
nop
lea rcx, [rsp + 0x30]
call fcn.140004c00
movdqa xmm0, xmmword [0x1400d76e0]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], r13w
lea rdx, [0x1400cbbb8]
lea rcx, [rsp + 0x30]
call fcn.140004c64
nop
lea r8, [rbx + 0xb8]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xe0]
call fcn.14000859c
nop
lea rcx, [rsp + 0x30]
call fcn.140004c00
movdqa xmm0, xmmword [0x1400d76e0]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], r13w
lea rdx, str.XenosConfig.injIndef
lea rcx, [rsp + 0x30]
call fcn.140004c64
nop
lea r8, [rbx + 0xb9]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xe0]
call fcn.14000859c
nop
lea rcx, [rsp + 0x30]
call fcn.140004c00
movdqa xmm0, xmmword [0x1400d76e0]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], r13w
lea rdx, [0x1400cbc18]
lea rcx, [rsp + 0x30]
call fcn.140004c64
nop
lea r8, [rbx + 0xa0]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xe0]
call fcn.14000845c
nop
lea rcx, [rsp + 0x30]
call fcn.140004c00
movdqa xmm0, xmmword [0x1400d76e0]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], r13w
lea rdx, str.XenosConfig.injectMode
lea rcx, [rsp + 0x30]
call fcn.140004c64
nop
lea r8, [rbx + 0xa4]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xe0]
call fcn.14000845c
nop
lea rcx, [rsp + 0x30]
call fcn.140004c00
movdqa xmm0, xmmword [0x1400d76e0]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], r13w
lea rdx, str.XenosConfig.delay
lea rcx, [rsp + 0x30]
call fcn.140004c64
nop
lea r8, [rbx + 0xa8]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xe0]
call fcn.14000845c
nop
lea rcx, [rsp + 0x30]
call fcn.140004c00
movdqa xmm0, xmmword [0x1400d76e0]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], r13w
lea rdx, [0x1400cbca0]
lea rcx, [rsp + 0x30]
call fcn.140004c64
nop
lea r8, [rbx + 0xac]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xe0]
call fcn.14000845c
nop
lea rcx, [rsp + 0x30]
call fcn.140004c00
movdqa xmm0, xmmword [0x1400d76e0]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], r13w
lea rdx, str.XenosConfig.skip
lea rcx, [rsp + 0x30]
call fcn.140004c64
nop
lea r8, [rbx + 0xb0]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xe0]
call fcn.14000845c
nop
lea rcx, [rsp + 0x30]
call fcn.140004c00
movdqa xmm0, xmmword [0x1400d76e0]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], r13w
lea rdx, str.XenosConfig.procCmdLine
lea rcx, [rsp + 0x30]
call fcn.140004c64
nop
lea r8, [rbx + 0x38]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xe0]
call fcn.140008514
nop
lea rcx, [rsp + 0x30]
call fcn.140004c00
movdqa xmm0, xmmword [0x1400d76e0]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], r13w
lea rdx, str.XenosConfig.initRoutine
lea rcx, [rsp + 0x30]
call fcn.140004c64
nop
lea r8, [rbx + 0x58]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xe0]
call fcn.140008514
nop
lea rcx, [rsp + 0x30]
call fcn.140004c00
movdqa xmm0, xmmword [0x1400d76e0]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], r13w
lea rdx, str.XenosConfig.initArgs
lea rcx, [rsp + 0x30]
call fcn.140004c64
nop
lea r8, [rbx + 0x78]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xe0]
call fcn.140008514
nop
lea rcx, [rsp + 0x30]
call fcn.140004c00
nop
lea rcx, [rsp + 0x148]
call fcn.140004c00
nop
mov rax, qword [rsp + 0x140]
test rax, rax
je 0x140003c7d
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x138]
test rcx, rcx
je 0x140003ce5
mov rax, qword [rcx]
lea rdx, [rsp + 0x20]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x138]
test rcx, rcx
je 0x140003caa
mov rdx, qword [rcx]
mov r8, qword [rdx + 0x20]
lea rax, [rsp + 0x100]
cmp rcx, rax
setne dl
call r8
mov qword [rsp + 0x138], r13
lea rcx, [rsp + 0xc0]
call fcn.140004c00
mov al, 1
jmp 0x140003cbd
mov rcx, qword [rsp + 0x1a8]
xor rcx, rsp
call fcn.14006bb00
mov rbx, qword [rsp + 0x1f0]
add rsp, 0x1b0
pop r15
pop r13
pop r12
pop rdi
pop rsi
ret
call fcn.1400695d8
int3