Function at 0x140006e20
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 [0x140214ec8]
xor rax, rsp
mov qword [rbp], rax
mov rbx, rdx
mov r14, rcx
test rcx, rcx
je 0x1400072d2
test rdx, rdx
je 0x1400072d2
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.1400ad590
mov rcx, qword [r14 + 0x108]
call fcn.14000fd00
mov rdi, qword [r14 + 0x108]
xor r13d, r13d
mov qword [rsp + 0x20], rax
mov ecx, dword [rdi]
sub ecx, 1
je 0x140006ed9
cmp ecx, 1
jne 0x140006f55
mov rax, qword [rdi + 0x18]
mov qword [rbx], rax
jmp 0x140006f55
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 0x140006f28
bt eax, 0xa
jae 0x140006f28
mov rcx, rdi
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140006f1c
test al, 0x10
je 0x140006f1c
mov rcx, rdi
call fcn.1400d8df4
jmp 0x140006f24
mov rcx, rdi
call fcn.1400bdbbc
test eax, eax
jne 0x140006f55
lea rdx, [rbp - 0x30]
mov rcx, rdi
call fcn.1400d88ac
test eax, eax
jne 0x140006f55
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.1400103b0
test eax, eax
jne 0x14000729b
lea rdx, [rsp + 0x30]
mov rcx, r14
call fcn.140007770
mov r12d, eax
test eax, eax
jne 0x1400072a1
mov edx, dword [rsp + 0x34]
mov r8d, dword [rsp + 0x38]
mov dword [rbx + 0x10], edx
shr edx, 0x18
cmp edx, 1
jne 0x140006fb6
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 0x1400072a1
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.1400d5838
cmp rax, rsi
jb 0x140006ffd
mov edi, esi
jmp 0x140007012
mov rdx, rsi
lea rcx, [rsp + 0x5c]
call fcn.1400d5838
mov rdi, rax
test rax, rax
je 0x140007039
test r15, r15
jne 0x140007029
call fcn.1400bd258
mov dword [rax], 0x16
call fcn.1400bd0ac
jmp 0x140007039
mov r8, rdi
lea rdx, [rsp + 0x5c]
mov rcx, r15
call fcn.1400ad8c0
cmp rdi, rsi
jae 0x14000704f
sub rsi, rdi
lea rcx, [rdi + r15]
mov r8, rsi
xor edx, edx
call fcn.1400ad590
mov esi, 0x20
lea rcx, [rsp + 0x3c]
mov edx, esi
lea r15, [rbx + 0xa2]
call fcn.1400d5838
cmp rax, rsi
jb 0x140007070
mov edi, esi
jmp 0x140007085
mov rdx, rsi
lea rcx, [rsp + 0x3c]
call fcn.1400d5838
mov rdi, rax
test rax, rax
je 0x1400070ac
test r15, r15
jne 0x14000709c
call fcn.1400bd258
mov dword [rax], 0x16
call fcn.1400bd0ac
jmp 0x1400070ac
mov r8, rdi
lea rdx, [rsp + 0x3c]
mov rcx, r15
call fcn.1400ad8c0
cmp rdi, rsi
jae 0x1400070c2
sub rsi, rdi
lea rcx, [rdi + r15]
mov r8, rsi
xor edx, edx
call fcn.1400ad590
mov r15, qword [rsp + 0x110]
mov rsi, qword [rsp + 0x160]
add rbx, 0x20
je 0x1400072a1
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 0x140007100
jmp 0x1400072a1
mov r12d, 0xbba
mov rdx, qword [rsp + 0x20]
xor r8d, r8d
mov rcx, qword [r14 + 0x108]
call fcn.1400103b0
mov r13, qword [rsp + 0x118]
mov eax, r12d
mov r12, qword [rsp + 0x120]
mov rdi, qword [rsp + 0x128]
jmp 0x1400072d7
mov eax, 0x8fc
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.1400abc80
add rsp, 0x130
pop r14
pop rbx
pop rbp
ret