Function at 0x140003624
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 [0x1400ee020]
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 0x140003693
lea rcx, [rsp + 0xa0]
call fcn.140024c00
nop
mov dword [rsp + 0x20], 1
lea r8, str.Br1tneySpearsCurrentProfile.xpr
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.14000811c
nop
lea esi, [r12 + 3]
jmp 0x1400036b1
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], r12
lea rcx, [rsp + 0x28]
call fcn.140006938
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.140006938
nop
mov ebx, 8
test sil, 4
je 0x140003701
and esi, 0xfffffffb
mov rdx, qword [rsp + 0x40]
cmp rdx, rbx
jb 0x140003701
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
call fcn.140008edc
nop
test sil, 2
je 0x14000373d
and esi, 0xfffffffd
mov rdx, qword [rsp + 0x78]
cmp rdx, rbx
jb 0x140003726
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
call fcn.140008edc
mov qword [rsp + 0x70], r12
mov edi, 7
mov qword [rsp + 0x78], rdi
mov word [rsp + 0x60], r12w
jmp 0x140003742
mov edi, 7
test sil, 1
je 0x14000376d
and esi, 0xfffffffe
mov rdx, qword [rsp + 0xb8]
cmp rdx, rbx
jb 0x14000376d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xa0]
call fcn.140008edc
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 0x1400037ba
mov rdx, qword [rsp + 0x98]
cmp rdx, rbx
jb 0x1400037b3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x80]
call fcn.140008edc
xor al, al
jmp 0x140004041
lea rcx, [rsp + 0xe0]
call fcn.1400044b4
nop
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0xe0]
call fcn.1400025e4
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], rdi
mov word [rsp + 0x28], r12w
lea rdx, [0x1400cd148]
lea rcx, [rsp + 0x28]
call fcn.1400068b8
nop
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0xe0]
call fcn.14000458c
mov r15b, al
mov rdx, qword [rsp + 0x40]
cmp rdx, rbx
jb 0x140003830
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
call fcn.140008edc
test r15b, r15b
je 0x140003a96
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], rdi
mov word [rsp + 0x60], r12w
lea rdx, [0x1400cd188]
lea rcx, [rsp + 0x60]
call fcn.1400068b8
nop
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x170]
lea rcx, [rsp + 0xe0]
call fcn.140008000
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, rbx
jb 0x140003892
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
call fcn.140008edc
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.140006938
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.140006938
mov qword [rsp + 0xc0], r15
mov qword [rsp + 0xc8], r13
mov qword [rsp + 0xd0], r12
mov rdx, qword [rsp + 0x40]
cmp rdx, rbx
jb 0x14000393a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
call fcn.140008edc
or esi, ebx
movdqa xmm0, xmmword [0x1400d86d0]
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 0x140003a56
lea rdx, [0x1400f36a0]
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.1400068b8
or esi, 0x10
mov rdx, qword [r14 + 8]
cmp rdx, qword [r14 + 0x10]
je 0x1400039e4
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 0x1400039f6
lea r8, [rsp + 0x60]
mov rcx, r14
call fcn.1400083c8
mov rdx, qword [rsp + 0x78]
cmp rdx, rbx
jb 0x140003a0d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
call fcn.140008edc
xor eax, eax
test r13, r13
je 0x140003a45
lea rdx, [rsp + 0xa0]
cmp r12, rbx
cmovae rdx, qword [rsp + 0xa0]
mov r8, r13
mov rcx, r15
call fcn.1400062d4
mov r15, rax
mov qword [rsp + 0xc0], rax
xor eax, eax
jmp 0x14000396f
mov r15, qword [r15 + 0x58]
mov qword [rsp + 0xc0], r15
jmp 0x14000396f
cmp r12, rbx
jb 0x140003a71
lea rdx, [r12*2 + 2]
mov rcx, qword [rsp + 0xa0]
call fcn.140008edc
nop
mov rdx, qword [rsp + 0x188]
cmp rdx, rbx
jb 0x140003a93
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x170]
call fcn.140008edc
xor r12d, r12d
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], rdi
mov word [rsp + 0x28], r12w
lea rdx, str.Br1tneySpearsConfig.manualMapFlags
lea rcx, [rsp + 0x28]
call fcn.1400068b8
nop
lea r8, [r14 + 0x9c]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0xe0]
call fcn.14000853c
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, rbx
jb 0x140003aee
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
call fcn.140008edc
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], rdi
mov word [rsp + 0x28], r12w
lea rdx, str.Br1tneySpearsConfig.procName
lea rcx, [rsp + 0x28]
call fcn.1400068b8
nop
lea r8, [r14 + 0x18]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0xe0]
call fcn.140008620
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, rbx
jb 0x140003b43
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
call fcn.140008edc
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], rdi
mov word [rsp + 0x28], r12w
lea rdx, str.Br1tneySpearsConfig.hijack
lea rcx, [rsp + 0x28]
call fcn.1400068b8
nop
lea r8, [r14 + 0xb4]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0xe0]
call fcn.1400086cc
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, rbx
jb 0x140003b9b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
call fcn.140008edc
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], rdi
mov word [rsp + 0x28], r12w
lea rdx, [0x1400cd1c8]
lea rcx, [rsp + 0x28]
call fcn.1400068b8
nop
lea r8, [r14 + 0xb5]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0xe0]
call fcn.1400086cc
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, rbx
jb 0x140003bf3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
call fcn.140008edc
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], rdi
mov word [rsp + 0x28], r12w
lea rdx, [0x1400cd288]
lea rcx, [rsp + 0x28]
call fcn.1400068b8
nop
lea r8, [r14 + 0xb6]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0xe0]
call fcn.1400086cc
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, rbx
jb 0x140003c4b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
call fcn.140008edc
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], rdi
mov word [rsp + 0x28], r12w
lea rdx, str.Br1tneySpearsConfig.close
lea rcx, [rsp + 0x28]
call fcn.1400068b8
nop
lea r8, [r14 + 0xb7]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0xe0]
call fcn.1400086cc
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, rbx
jb 0x140003ca3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
call fcn.140008edc
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], rdi
mov word [rsp + 0x28], r12w
lea rdx, str.Br1tneySpearsConfig.krnHandle
lea rcx, [rsp + 0x28]
call fcn.1400068b8
nop
lea r8, [r14 + 0xb8]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0xe0]
call fcn.1400086cc
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, rbx
jb 0x140003cfb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
call fcn.140008edc
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], rdi
mov word [rsp + 0x28], r12w
lea rdx, [0x1400cd338]
lea rcx, [rsp + 0x28]
call fcn.1400068b8
nop
lea r8, [r14 + 0xb9]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0xe0]
call fcn.1400086cc
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, rbx
jb 0x140003d53
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
call fcn.140008edc
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], rdi
mov word [rsp + 0x28], r12w
lea rdx, str.Br1tneySpearsConfig.processMode
lea rcx, [rsp + 0x28]
call fcn.1400068b8
nop
lea r8, [r14 + 0xa0]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0xe0]
call fcn.14000853c
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, rbx
jb 0x140003dab
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
call fcn.140008edc
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], rdi
mov word [rsp + 0x28], r12w
lea rdx, str.Br1tneySpearsConfig.injectMode
lea rcx, [rsp + 0x28]
call fcn.1400068b8
nop
lea r8, [r14 + 0xa4]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0xe0]
call fcn.14000853c
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, rbx
jb 0x140003e03
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
call fcn.140008edc
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], rdi
mov word [rsp + 0x28], r12w
lea rdx, str.Br1tneySpearsConfig.delay
lea rcx, [rsp + 0x28]
call fcn.1400068b8
nop
lea r8, [r14 + 0xa8]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0xe0]
call fcn.14000853c
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, rbx
jb 0x140003e5b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
call fcn.140008edc
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], rdi
mov word [rsp + 0x28], r12w
lea rdx, str.Br1tneySpearsConfig.period
lea rcx, [rsp + 0x28]
call fcn.1400068b8
nop
lea r8, [r14 + 0xac]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0xe0]
call fcn.14000853c
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, rbx
jb 0x140003eb3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
call fcn.140008edc
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], rdi
mov word [rsp + 0x28], r12w
lea rdx, str.Br1tneySpearsConfig.skip
lea rcx, [rsp + 0x28]
call fcn.1400068b8
nop
lea r8, [r14 + 0xb0]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0xe0]
call fcn.14000853c
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, rbx
jb 0x140003f0b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
call fcn.140008edc
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], rdi
mov word [rsp + 0x28], r12w
lea rdx, str.Br1tneySpearsConfig.procCmdLine
lea rcx, [rsp + 0x28]
call fcn.1400068b8
nop
lea r8, [r14 + 0x38]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0xe0]
call fcn.140008620
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, rbx
jb 0x140003f60
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
call fcn.140008edc
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], rdi
mov word [rsp + 0x28], r12w
lea rdx, str.Br1tneySpearsConfig.initRoutine
lea rcx, [rsp + 0x28]
call fcn.1400068b8
nop
lea r8, [r14 + 0x58]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0xe0]
call fcn.140008620
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, rbx
jb 0x140003fb5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
call fcn.140008edc
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], rdi
mov word [rsp + 0x28], r12w
lea rdx, str.Br1tneySpearsConfig.initArgs
lea rcx, [rsp + 0x28]
call fcn.1400068b8
nop
lea r8, [r14 + 0x78]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0xe0]
call fcn.140008620
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, rbx
jb 0x14000400b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
call fcn.140008edc
nop
lea rcx, [rsp + 0xe0]
call fcn.140003584
nop
mov rdx, qword [rsp + 0x98]
cmp rdx, rbx
jb 0x14000403b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x80]
call fcn.140008edc
mov al, 1
jmp 0x140004041
mov rcx, qword [rsp + 0x1a8]
xor rcx, rsp
call fcn.14006a770
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