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

Disassembly:
mov r11, rsp
push rbp
push rbx
push r14
lea rbp, [r11 - 0x48]
sub rsp, 0x130
mov rax, qword [0x14021a328]
xor rax, rsp
mov qword [rbp], rax
mov rbx, rdx
mov r14, rcx
test rcx, rcx
je 0x1400072b2
test rdx, rdx
je 0x1400072b2
xorps xmm0, xmm0
mov qword [r11 - 0x20], rdi
xor eax, eax
mov qword [r11 - 0x28], r12
xor edx, edx
mov qword [r11 - 0x30], r13
mov r8d, 0xc8
mov dword [rbp - 0x40], eax
mov rcx, rbx
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
call fcn.1400ae310
mov rcx, qword [r14 + 0x108]
call fcn.14000fc90
mov rdi, qword [r14 + 0x108]
xor r13d, r13d
mov qword [rsp + 0x20], rax
mov ecx, dword [rdi]
sub ecx, 1
je 0x140006eb9
cmp ecx, 1
jne 0x140006f35
mov rax, qword [rdi + 0x18]
mov qword [rbx], rax
jmp 0x140006f35
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
mov rdi, qword [rdi + 8]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140006f08
bt eax, 0xa
jae 0x140006f08
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140006efc
test al, 0x10
je 0x140006efc
mov rcx, rdi
call fcn.1400d95ec
jmp 0x140006f04
mov rcx, rdi
call fcn.1400bd14c
test eax, eax
jne 0x140006f35
lea rdx, [rbp - 0x30]
mov rcx, rdi
call fcn.1400d90a4
test eax, eax
jne 0x140006f35
mov eax, 0x4000
test word [rbp - 0x2a], ax
mov eax, dword [rbp - 0x1c]
cmovne eax, r13d
cdqe
mov qword [rbx], rax
mov rax, qword [rbp - 0x10]
mov qword [rbx + 8], rax
mov rcx, qword [r14 + 0x108]
xor r8d, r8d
xor edx, edx
call fcn.140010340
test eax, eax
jne 0x14000727b
lea rdx, [rsp + 0x30]
mov rcx, r14
call fcn.140007750
mov r12d, eax
test eax, eax
jne 0x140007281
mov edx, dword [rsp + 0x34]
mov r8d, dword [rsp + 0x38]
mov dword [rbx + 0x10], edx
shr edx, 0x18
cmp edx, 1
jne 0x140006f96
mov rax, qword [rbx]
cmp rax, 0xc
mov dword [rbx + 0x14], r8d
mov dword [rbx + 0x1c], 0x5359454b
lea ecx, [rax - 0xc]
cmovb ecx, r13d
mov dword [rbx + 0x18], ecx
cmp edx, 2
jne 0x140007281
mov eax, dword [rbp - 0x44]
lea rcx, [rsp + 0x5c]
mov qword [rsp + 0x160], rsi
mov esi, 0x40
mov dword [rbx + 0x18], eax
mov edx, esi
mov eax, dword [rbp - 0x40]
mov qword [rsp + 0x110], r15
lea r15, [rbx + 0x61]
mov dword [rbx + 0x14], r8d
mov dword [rbx + 0x1c], eax
call fcn.1400d5db8
cmp rax, rsi
jb 0x140006fdd
mov edi, esi
jmp 0x140006ff2
mov rdx, rsi
lea rcx, [rsp + 0x5c]
call fcn.1400d5db8
mov rdi, rax
test rax, rax
je 0x140007019
test r15, r15
jne 0x140007009
call fcn.1400bc8b4
mov dword [rax], 0x16
call fcn.1400bc708
jmp 0x140007019
mov r8, rdi
lea rdx, [rsp + 0x5c]
mov rcx, r15
call fcn.1400ae640
cmp rdi, rsi
jae 0x14000702f
sub rsi, rdi
lea rcx, [rdi + r15]
mov r8, rsi
xor edx, edx
call fcn.1400ae310
mov esi, 0x20
lea rcx, [rsp + 0x3c]
mov edx, esi
lea r15, [rbx + 0xa2]
call fcn.1400d5db8
cmp rax, rsi
jb 0x140007050
mov edi, esi
jmp 0x140007065
mov rdx, rsi
lea rcx, [rsp + 0x3c]
call fcn.1400d5db8
mov rdi, rax
test rax, rax
je 0x14000708c
test r15, r15
jne 0x14000707c
call fcn.1400bc8b4
mov dword [rax], 0x16
call fcn.1400bc708
jmp 0x14000708c
mov r8, rdi
lea rdx, [rsp + 0x3c]
mov rcx, r15
call fcn.1400ae640
cmp rdi, rsi
jae 0x1400070a2
sub rsi, rdi
lea rcx, [rdi + r15]
mov r8, rsi
xor edx, edx
call fcn.1400ae310
mov r15, qword [rsp + 0x110]
mov rsi, qword [rsp + 0x160]
add rbx, 0x20
je 0x140007281
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm0
lea r8d, [rax + 0x57]
movups xmmword [rbx + 0x20], xmm0
movups xmmword [rbx + 0x30], xmm0
mov byte [rbx + 0x40], al
add rbx, 2
nop dword [rax + rax]
movzx edx, byte [rbp + r13 - 0x64]
mov eax, 0x30
movzx ecx, dl
and dl, 0xf
shr cl, 4
cmp cl, 0xa
cmovae eax, r8d
add al, cl
mov byte [rbx - 2], al
cmp dl, 0xa
mov eax, 0x30
cmovae eax, r8d
add al, dl
movzx edx, byte [rbp + r13 - 0x63]
mov byte [rbx - 1], al
movzx ecx, dl
shr cl, 4
and dl, 0xf
cmp cl, 0xa
mov eax, 0x30
cmovae eax, r8d
add al, cl
mov byte [rbx], al
cmp dl, 0xa
mov eax, 0x30
cmovae eax, r8d
add al, dl
movzx edx, byte [rbp + r13 - 0x62]
mov byte [rbx + 1], al
movzx ecx, dl
shr cl, 4
and dl, 0xf
cmp cl, 0xa
mov eax, 0x30
cmovae eax, r8d
add al, cl
mov byte [rbx + 2], al
cmp dl, 0xa
mov eax, 0x30
cmovae eax, r8d
add al, dl
movzx edx, byte [rbp + r13 - 0x61]
mov byte [rbx + 3], al
movzx ecx, dl
shr cl, 4
and dl, 0xf
cmp cl, 0xa
mov eax, 0x30
cmovae eax, r8d
add al, cl
mov byte [rbx + 4], al
cmp dl, 0xa
mov eax, 0x30
cmovae eax, r8d
add al, dl
movzx edx, byte [rbp + r13 - 0x60]
mov byte [rbx + 5], al
movzx ecx, dl
shr cl, 4
and dl, 0xf
cmp cl, 0xa
mov eax, 0x30
cmovae eax, r8d
add al, cl
mov byte [rbx + 6], al
cmp dl, 0xa
mov eax, 0x30
cmovae eax, r8d
add al, dl
movzx edx, byte [rbp + r13 - 0x5f]
mov byte [rbx + 7], al
movzx ecx, dl
shr cl, 4
and dl, 0xf
cmp cl, 0xa
mov eax, 0x30
cmovae eax, r8d
add al, cl
mov byte [rbx + 8], al
cmp dl, 0xa
mov eax, 0x30
cmovae eax, r8d
lea rbx, [rbx + 0x10]
add al, dl
movzx edx, byte [rbp + r13 - 0x5e]
mov byte [rbx - 7], al
movzx ecx, dl
shr cl, 4
and dl, 0xf
cmp cl, 0xa
mov eax, 0x30
cmovae eax, r8d
add al, cl
mov byte [rbx - 6], al
cmp dl, 0xa
mov eax, 0x30
cmovae eax, r8d
add al, dl
movzx edx, byte [rbp + r13 - 0x5d]
mov byte [rbx - 5], al
movzx ecx, dl
shr cl, 4
and dl, 0xf
cmp cl, 0xa
mov eax, 0x30
cmovae eax, r8d
add al, cl
mov byte [rbx - 4], al
cmp dl, 0xa
mov eax, 0x30
cmovae eax, r8d
add r13, 8
add al, dl
mov byte [rbx - 3], al
cmp r13, 0x20
jb 0x1400070e0
jmp 0x140007281
mov r12d, 0xbba
mov rdx, qword [rsp + 0x20]
xor r8d, r8d
mov rcx, qword [r14 + 0x108]
call fcn.140010340
mov r13, qword [rsp + 0x118]
mov eax, r12d
mov r12, qword [rsp + 0x120]
mov rdi, qword [rsp + 0x128]
jmp 0x1400072b7
mov eax, 0x8fc
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.1400ac830
add rsp, 0x130
pop r14
pop rbx
pop rbp
ret