Function at 0x140002b98
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 [0x1400f4080]
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 0x140002c2e
lea rcx, [r11 - 0x150]
call fcn.1400225c0
nop
mov dword [rsp + 0x20], 1
lea r8d, [r13 + 0x18]
lea rdx, [0x1400ca098]
mov rcx, rax
call fcn.1400080f4
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 0x140002c4b
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x30]
call fcn.140003e3c
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.140003e3c
nop
test dil, 4
je 0x140002c7d
and edi, 0xfffffffb
lea rcx, [rsp + 0x30]
call fcn.140003d5c
nop
test dil, 2
je 0x140002c91
and edi, 0xfffffffd
lea rcx, [rsp + 0x68]
call fcn.140003d5c
nop
test dil, 1
je 0x140002ca7
and edi, 0xfffffffe
lea rcx, [rsp + 0x88]
call fcn.140003d5c
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 0x140002ce0
lea rcx, [rsp + 0xc0]
call fcn.140003d5c
xor al, al
jmp 0x14000346f
lea rcx, [rsp + 0xe0]
call fcn.1400036d4
nop
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0xe0]
call fcn.140002648
movdqa xmm0, xmmword [0x1400d6210]
movdqu xmmword [rsp + 0x78], xmm0
mov word [rsp + 0x68], r13w
lea rdx, [0x1400ca0d0]
lea rcx, [rsp + 0x68]
call fcn.140003dc0
nop
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0xe0]
call fcn.14000356c
mov sil, al
lea rcx, [rsp + 0x68]
call fcn.140003d5c
test sil, sil
je 0x140002f65
movdqa xmm0, xmmword [0x1400d6210]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], r13w
lea rdx, [0x1400ca100]
lea rcx, [rsp + 0x30]
call fcn.140003dc0
nop
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x170]
lea rcx, [rsp + 0xe0]
call fcn.140006ee0
nop
lea rcx, [rsp + 0x30]
call fcn.140003d5c
mov r15, qword [rsp + 0x1a0]
mov r12, qword [rsp + 0x198]
mov rsi, qword [rsp + 0x190]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x78], r13
mov qword [rsp + 0x80], r13
lea rdx, [rsp + 0x170]
lea rcx, [rsp + 0x68]
call fcn.140003e3c
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.140003e3c
mov qword [rsp + 0xa8], rsi
mov qword [rsp + 0xb0], r12
mov qword [rsp + 0xb8], r15
lea rcx, [rsp + 0x68]
call fcn.140003d5c
or edi, 0x10
movdqa xmm0, xmmword [0x1400d6210]
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 0x140002f3f
lea rdx, [0x1400f97e8]
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.140003dc0
or edi, 0x20
mov rdx, qword [rbx + 8]
cmp qword [rbx + 0x10], rdx
je 0x140002ed9
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 0x140002ee7
lea r8, [rsp + 0x68]
mov rcx, rbx
call fcn.1400070a0
nop
lea rcx, [rsp + 0x68]
call fcn.140003d5c
test r15, r15
je 0x140002f2e
lea rdx, [rsp + 0x88]
cmp qword [rsp + 0xa0], 8
cmovae rdx, qword [rsp + 0x88]
mov r8, r15
mov rcx, rsi
call fcn.140003b8c
mov rsi, rax
mov qword [rsp + 0xa8], rax
mov rcx, rax
jmp 0x140002e59
mov rsi, qword [rsi + 0x58]
mov qword [rsp + 0xa8], rsi
jmp 0x140002e53
lea rcx, [rsp + 0x30]
call fcn.140003d5c
nop
lea rcx, [rsp + 0x88]
call fcn.140003d5c
nop
lea rcx, [rsp + 0x170]
call fcn.140003d5c
movdqa xmm0, xmmword [0x1400d6210]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], r13w
lea rdx, [0x1400ca130]
lea rcx, [rsp + 0x30]
call fcn.140003dc0
nop
lea r8, [rbx + 0x9c]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xe0]
call fcn.1400072ac
nop
lea rcx, [rsp + 0x30]
call fcn.140003d5c
movdqa xmm0, xmmword [0x1400d6210]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], r13w
lea rdx, str.XenosConfig.procName
lea rcx, [rsp + 0x30]
call fcn.140003dc0
nop
lea r8, [rbx + 0x18]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xe0]
call fcn.140007364
nop
lea rcx, [rsp + 0x30]
call fcn.140003d5c
movdqa xmm0, xmmword [0x1400d6210]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], r13w
lea rdx, str.XenosConfig.hijack
lea rcx, [rsp + 0x30]
call fcn.140003dc0
nop
lea r8, [rbx + 0xb4]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xe0]
call fcn.1400073ec
nop
lea rcx, [rsp + 0x30]
call fcn.140003d5c
movdqa xmm0, xmmword [0x1400d6210]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], r13w
lea rdx, str.XenosConfig.unlink
lea rcx, [rsp + 0x30]
call fcn.140003dc0
nop
lea r8, [rbx + 0xb5]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xe0]
call fcn.1400073ec
nop
lea rcx, [rsp + 0x30]
call fcn.140003d5c
movdqa xmm0, xmmword [0x1400d6210]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], r13w
lea rdx, str.XenosConfig.erasePE
lea rcx, [rsp + 0x30]
call fcn.140003dc0
nop
lea r8, [rbx + 0xb6]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xe0]
call fcn.1400073ec
nop
lea rcx, [rsp + 0x30]
call fcn.140003d5c
movdqa xmm0, xmmword [0x1400d6210]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], r13w
lea rdx, str.XenosConfig.close
lea rcx, [rsp + 0x30]
call fcn.140003dc0
nop
lea r8, [rbx + 0xb7]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xe0]
call fcn.1400073ec
nop
lea rcx, [rsp + 0x30]
call fcn.140003d5c
movdqa xmm0, xmmword [0x1400d6210]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], r13w
lea rdx, [0x1400ca238]
lea rcx, [rsp + 0x30]
call fcn.140003dc0
nop
lea r8, [rbx + 0xb8]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xe0]
call fcn.1400073ec
nop
lea rcx, [rsp + 0x30]
call fcn.140003d5c
movdqa xmm0, xmmword [0x1400d6210]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], r13w
lea rdx, [0x1400ca268]
lea rcx, [rsp + 0x30]
call fcn.140003dc0
nop
lea r8, [rbx + 0xb9]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xe0]
call fcn.1400073ec
nop
lea rcx, [rsp + 0x30]
call fcn.140003d5c
movdqa xmm0, xmmword [0x1400d6210]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], r13w
lea rdx, str.XenosConfig.processMode
lea rcx, [rsp + 0x30]
call fcn.140003dc0
nop
lea r8, [rbx + 0xa0]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xe0]
call fcn.1400072ac
nop
lea rcx, [rsp + 0x30]
call fcn.140003d5c
movdqa xmm0, xmmword [0x1400d6210]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], r13w
lea rdx, str.XenosConfig.injectMode
lea rcx, [rsp + 0x30]
call fcn.140003dc0
nop
lea r8, [rbx + 0xa4]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xe0]
call fcn.1400072ac
nop
lea rcx, [rsp + 0x30]
call fcn.140003d5c
movdqa xmm0, xmmword [0x1400d6210]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], r13w
lea rdx, str.XenosConfig.delay
lea rcx, [rsp + 0x30]
call fcn.140003dc0
nop
lea r8, [rbx + 0xa8]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xe0]
call fcn.1400072ac
nop
lea rcx, [rsp + 0x30]
call fcn.140003d5c
movdqa xmm0, xmmword [0x1400d6210]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], r13w
lea rdx, [0x1400ca320]
lea rcx, [rsp + 0x30]
call fcn.140003dc0
nop
lea r8, [rbx + 0xac]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xe0]
call fcn.1400072ac
nop
lea rcx, [rsp + 0x30]
call fcn.140003d5c
movdqa xmm0, xmmword [0x1400d6210]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], r13w
lea rdx, str.XenosConfig.skip
lea rcx, [rsp + 0x30]
call fcn.140003dc0
nop
lea r8, [rbx + 0xb0]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xe0]
call fcn.1400072ac
nop
lea rcx, [rsp + 0x30]
call fcn.140003d5c
movdqa xmm0, xmmword [0x1400d6210]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], r13w
lea rdx, [0x1400ca370]
lea rcx, [rsp + 0x30]
call fcn.140003dc0
nop
lea r8, [rbx + 0x38]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xe0]
call fcn.140007364
nop
lea rcx, [rsp + 0x30]
call fcn.140003d5c
movdqa xmm0, xmmword [0x1400d6210]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], r13w
lea rdx, str.XenosConfig.initRoutine
lea rcx, [rsp + 0x30]
call fcn.140003dc0
nop
lea r8, [rbx + 0x58]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xe0]
call fcn.140007364
nop
lea rcx, [rsp + 0x30]
call fcn.140003d5c
movdqa xmm0, xmmword [0x1400d6210]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], r13w
lea rdx, str.XenosConfig.initArgs
lea rcx, [rsp + 0x30]
call fcn.140003dc0
nop
lea r8, [rbx + 0x78]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xe0]
call fcn.140007364
nop
lea rcx, [rsp + 0x30]
call fcn.140003d5c
nop
lea rcx, [rsp + 0x148]
call fcn.140003d5c
nop
mov rax, qword [rsp + 0x140]
test rax, rax
je 0x140003433
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x138]
test rcx, rcx
je 0x140003497
mov rax, qword [rcx]
lea rdx, [rsp + 0x20]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x138]
test rcx, rcx
je 0x14000345c
mov rax, qword [rcx]
lea rdx, [rsp + 0x100]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov qword [rsp + 0x138], r13
lea rcx, [rsp + 0xc0]
call fcn.140003d5c
mov al, 1
jmp 0x14000346f
mov rcx, qword [rsp + 0x1a8]
xor rcx, rsp
call fcn.140069650
mov rbx, qword [rsp + 0x1f0]
add rsp, 0x1b0
pop r15
pop r13
pop r12
pop rdi
pop rsi
ret
call fcn.140067290
int3