Function at 0x140003644
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 [0x1400f0020]
xor rax, rsp
mov qword [rsp + 0x1a8], rax
mov r14, rcx
xor r12d, r12d
mov dword [rsp + 0x20], r12d
cmp qword [rdx + 0x10], r12
jne 0x1400036b3
lea rcx, [rsp + 0xa0]
call fcn.1400249b0
nop
mov dword [rsp + 0x20], 1
lea r8, str.XenosCurrentProfile.xpr
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.14000812c
nop
lea esi, [r12 + 3]
jmp 0x1400036d1
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], r12
lea rcx, [rsp + 0x28]
call fcn.140006910
lea rax, [rsp + 0x28]
mov esi, 4
mov dword [rsp + 0x20], esi
mov qword [rsp + 0x90], r12
mov qword [rsp + 0x98], r12
mov rdx, rax
lea rcx, [rsp + 0x80]
call fcn.140006910
nop
mov ebx, 8
test sil, 4
je 0x140003721
and esi, 0xfffffffb
mov rdx, qword [rsp + 0x40]
cmp rdx, rbx
jb 0x140003721
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
call fcn.140008df4
nop
test sil, 2
je 0x14000375d
and esi, 0xfffffffd
mov rdx, qword [rsp + 0x78]
cmp rdx, rbx
jb 0x140003746
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
call fcn.140008df4
mov qword [rsp + 0x70], r12
mov edi, 7
mov qword [rsp + 0x78], rdi
mov word [rsp + 0x60], r12w
jmp 0x140003762
mov edi, 7
test sil, 1
je 0x14000378d
and esi, 0xfffffffe
mov rdx, qword [rsp + 0xb8]
cmp rdx, rbx
jb 0x14000378d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xa0]
call fcn.140008df4
lea rcx, [rsp + 0x80]
cmp qword [rsp + 0x98], rbx
cmovae rcx, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400037da
mov rdx, qword [rsp + 0x98]
cmp rdx, rbx
jb 0x1400037d3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x80]
call fcn.140008df4
xor al, al
jmp 0x140004061
lea rcx, [rsp + 0xe0]
call fcn.14000441c
nop
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0xe0]
call fcn.140002608
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], rdi
mov word [rsp + 0x28], r12w
lea rdx, [0x1400ced80]
lea rcx, [rsp + 0x28]
call fcn.140006890
nop
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0xe0]
call fcn.1400044f4
mov r15b, al
mov rdx, qword [rsp + 0x40]
cmp rdx, rbx
jb 0x140003850
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
call fcn.140008df4
test r15b, r15b
je 0x140003ab6
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], rdi
mov word [rsp + 0x60], r12w
lea rdx, [0x1400cedb0]
lea rcx, [rsp + 0x60]
call fcn.140006890
nop
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x170]
lea rcx, [rsp + 0xe0]
call fcn.140007f5c
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, rbx
jb 0x1400038b2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
call fcn.140008df4
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], rdi
mov word [rsp + 0x60], r12w
mov r12, qword [rsp + 0x1a0]
mov r13, qword [rsp + 0x198]
mov r15, qword [rsp + 0x190]
and qword [rsp + 0x38], 0
and qword [rsp + 0x40], 0
lea rdx, [rsp + 0x170]
lea rcx, [rsp + 0x28]
call fcn.140006910
lea rax, [rsp + 0x28]
mov qword [rsp + 0x20], rax
and qword [rsp + 0xb0], 0
and qword [rsp + 0xb8], 0
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0xa0]
call fcn.140006910
mov qword [rsp + 0xc0], r15
mov qword [rsp + 0xc8], r13
mov qword [rsp + 0xd0], r12
mov rdx, qword [rsp + 0x40]
cmp rdx, rbx
jb 0x14000395a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
call fcn.140008df4
or esi, ebx
movdqa xmm0, xmmword [0x1400da1c0]
movdqu xmmword [rsp + 0x38], xmm0
xor eax, eax
mov word [rsp + 0x28], ax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rax
mov r12, qword [rsp + 0xb8]
mov r13, qword [rsp + 0xb0]
cmp r15, qword [rsp + 0x48]
je 0x140003a76
lea rdx, [0x1400f57b0]
cmp qword [r15 + 8], rax
cmovne rdx, qword [r15 + 8]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rdi
mov word [rsp + 0x60], ax
lea rcx, [rsp + 0x60]
call fcn.140006890
or esi, 0x10
mov rdx, qword [r14 + 8]
cmp rdx, qword [r14 + 0x10]
je 0x140003a04
xor eax, eax
mov qword [rdx + 0x10], rax
mov qword [rdx + 0x18], rax
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x70]
movups xmmword [rdx + 0x10], xmm1
mov qword [rsp + 0x70], rax
mov rdx, rdi
mov qword [rsp + 0x78], rdx
mov word [rsp + 0x60], ax
add qword [r14 + 8], 0x20
jmp 0x140003a16
lea r8, [rsp + 0x60]
mov rcx, r14
call fcn.1400083d8
mov rdx, qword [rsp + 0x78]
cmp rdx, rbx
jb 0x140003a2d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
call fcn.140008df4
xor eax, eax
test r13, r13
je 0x140003a65
lea rdx, [rsp + 0xa0]
cmp r12, rbx
cmovae rdx, qword [rsp + 0xa0]
mov r8, r13
mov rcx, r15
call fcn.1400062a4
mov r15, rax
mov qword [rsp + 0xc0], rax
xor eax, eax
jmp 0x14000398f
mov r15, qword [r15 + 0x58]
mov qword [rsp + 0xc0], r15
jmp 0x14000398f
cmp r12, rbx
jb 0x140003a91
lea rdx, [r12*2 + 2]
mov rcx, qword [rsp + 0xa0]
call fcn.140008df4
nop
mov rdx, qword [rsp + 0x188]
cmp rdx, rbx
jb 0x140003ab3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x170]
call fcn.140008df4
xor r12d, r12d
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], rdi
mov word [rsp + 0x28], r12w
lea rdx, [0x1400cede0]
lea rcx, [rsp + 0x28]
call fcn.140006890
nop
lea r8, [r14 + 0x9c]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0xe0]
call fcn.14000854c
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, rbx
jb 0x140003b0e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
call fcn.140008df4
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], rdi
mov word [rsp + 0x28], r12w
lea rdx, str.XenosConfig.procName
lea rcx, [rsp + 0x28]
call fcn.140006890
nop
lea r8, [r14 + 0x18]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0xe0]
call fcn.140008630
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, rbx
jb 0x140003b63
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
call fcn.140008df4
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], rdi
mov word [rsp + 0x28], r12w
lea rdx, str.XenosConfig.hijack
lea rcx, [rsp + 0x28]
call fcn.140006890
nop
lea r8, [r14 + 0xb4]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0xe0]
call fcn.1400086dc
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, rbx
jb 0x140003bbb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
call fcn.140008df4
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], rdi
mov word [rsp + 0x28], r12w
lea rdx, str.XenosConfig.unlink
lea rcx, [rsp + 0x28]
call fcn.140006890
nop
lea r8, [r14 + 0xb5]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0xe0]
call fcn.1400086dc
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, rbx
jb 0x140003c13
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
call fcn.140008df4
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], rdi
mov word [rsp + 0x28], r12w
lea rdx, str.XenosConfig.erasePE
lea rcx, [rsp + 0x28]
call fcn.140006890
nop
lea r8, [r14 + 0xb6]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0xe0]
call fcn.1400086dc
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, rbx
jb 0x140003c6b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
call fcn.140008df4
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], rdi
mov word [rsp + 0x28], r12w
lea rdx, str.XenosConfig.close
lea rcx, [rsp + 0x28]
call fcn.140006890
nop
lea r8, [r14 + 0xb7]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0xe0]
call fcn.1400086dc
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, rbx
jb 0x140003cc3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
call fcn.140008df4
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], rdi
mov word [rsp + 0x28], r12w
lea rdx, [0x1400ceee8]
lea rcx, [rsp + 0x28]
call fcn.140006890
nop
lea r8, [r14 + 0xb8]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0xe0]
call fcn.1400086dc
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, rbx
jb 0x140003d1b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
call fcn.140008df4
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], rdi
mov word [rsp + 0x28], r12w
lea rdx, str.XenosConfig.injIndef
lea rcx, [rsp + 0x28]
call fcn.140006890
nop
lea r8, [r14 + 0xb9]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0xe0]
call fcn.1400086dc
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, rbx
jb 0x140003d73
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
call fcn.140008df4
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], rdi
mov word [rsp + 0x28], r12w
lea rdx, [0x1400cef48]
lea rcx, [rsp + 0x28]
call fcn.140006890
nop
lea r8, [r14 + 0xa0]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0xe0]
call fcn.14000854c
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, rbx
jb 0x140003dcb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
call fcn.140008df4
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], rdi
mov word [rsp + 0x28], r12w
lea rdx, str.XenosConfig.injectMode
lea rcx, [rsp + 0x28]
call fcn.140006890
nop
lea r8, [r14 + 0xa4]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0xe0]
call fcn.14000854c
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, rbx
jb 0x140003e23
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
call fcn.140008df4
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], rdi
mov word [rsp + 0x28], r12w
lea rdx, str.XenosConfig.delay
lea rcx, [rsp + 0x28]
call fcn.140006890
nop
lea r8, [r14 + 0xa8]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0xe0]
call fcn.14000854c
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, rbx
jb 0x140003e7b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
call fcn.140008df4
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], rdi
mov word [rsp + 0x28], r12w
lea rdx, [0x1400cefd0]
lea rcx, [rsp + 0x28]
call fcn.140006890
nop
lea r8, [r14 + 0xac]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0xe0]
call fcn.14000854c
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, rbx
jb 0x140003ed3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
call fcn.140008df4
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], rdi
mov word [rsp + 0x28], r12w
lea rdx, str.XenosConfig.skip
lea rcx, [rsp + 0x28]
call fcn.140006890
nop
lea r8, [r14 + 0xb0]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0xe0]
call fcn.14000854c
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, rbx
jb 0x140003f2b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
call fcn.140008df4
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], rdi
mov word [rsp + 0x28], r12w
lea rdx, str.XenosConfig.procCmdLine
lea rcx, [rsp + 0x28]
call fcn.140006890
nop
lea r8, [r14 + 0x38]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0xe0]
call fcn.140008630
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, rbx
jb 0x140003f80
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
call fcn.140008df4
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], rdi
mov word [rsp + 0x28], r12w
lea rdx, str.XenosConfig.initRoutine
lea rcx, [rsp + 0x28]
call fcn.140006890
nop
lea r8, [r14 + 0x58]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0xe0]
call fcn.140008630
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, rbx
jb 0x140003fd5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
call fcn.140008df4
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], rdi
mov word [rsp + 0x28], r12w
lea rdx, str.XenosConfig.initArgs
lea rcx, [rsp + 0x28]
call fcn.140006890
nop
lea r8, [r14 + 0x78]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0xe0]
call fcn.140008630
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, rbx
jb 0x14000402b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
call fcn.140008df4
nop
lea rcx, [rsp + 0xe0]
call fcn.1400035a8
nop
mov rdx, qword [rsp + 0x98]
cmp rdx, rbx
jb 0x14000405b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x80]
call fcn.140008df4
mov al, 1
jmp 0x140004061
mov rcx, qword [rsp + 0x1a8]
xor rcx, rsp
call fcn.14006a730
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