Function at 0x140006de0
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 0x140007292
test rdx, rdx
je 0x140007292
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.1400ad180
mov rcx, qword [r14 + 0x108]
call fcn.14000fcc0
mov rdi, qword [r14 + 0x108]
xor r13d, r13d
mov qword [rsp + 0x20], rax
mov ecx, dword [rdi]
sub ecx, 1
je 0x140006e99
cmp ecx, 1
jne 0x140006f15
mov rax, qword [rdi + 0x18]
mov qword [rbx], rax
jmp 0x140006f15
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 0x140006ee8
bt eax, 0xa
jae 0x140006ee8
mov rcx, rdi
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140006edc
test al, 0x10
je 0x140006edc
mov rcx, rdi
call fcn.1400d89e4
jmp 0x140006ee4
mov rcx, rdi
call fcn.1400bd7ac
test eax, eax
jne 0x140006f15
lea rdx, [rbp - 0x30]
mov rcx, rdi
call fcn.1400d849c
test eax, eax
jne 0x140006f15
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.140010370
test eax, eax
jne 0x14000725b
lea rdx, [rsp + 0x30]
mov rcx, r14
call fcn.140007730
mov r12d, eax
test eax, eax
jne 0x140007261
mov edx, dword [rsp + 0x34]
mov r8d, dword [rsp + 0x38]
mov dword [rbx + 0x10], edx
shr edx, 0x18
cmp edx, 1
jne 0x140006f76
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 0x140007261
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.1400d5428
cmp rax, rsi
jb 0x140006fbd
mov edi, esi
jmp 0x140006fd2
mov rdx, rsi
lea rcx, [rsp + 0x5c]
call fcn.1400d5428
mov rdi, rax
test rax, rax
je 0x140006ff9
test r15, r15
jne 0x140006fe9
call fcn.1400bce48
mov dword [rax], 0x16
call fcn.1400bcc9c
jmp 0x140006ff9
mov r8, rdi
lea rdx, [rsp + 0x5c]
mov rcx, r15
call fcn.1400ad4b0
cmp rdi, rsi
jae 0x14000700f
sub rsi, rdi
lea rcx, [rdi + r15]
mov r8, rsi
xor edx, edx
call fcn.1400ad180
mov esi, 0x20
lea rcx, [rsp + 0x3c]
mov edx, esi
lea r15, [rbx + 0xa2]
call fcn.1400d5428
cmp rax, rsi
jb 0x140007030
mov edi, esi
jmp 0x140007045
mov rdx, rsi
lea rcx, [rsp + 0x3c]
call fcn.1400d5428
mov rdi, rax
test rax, rax
je 0x14000706c
test r15, r15
jne 0x14000705c
call fcn.1400bce48
mov dword [rax], 0x16
call fcn.1400bcc9c
jmp 0x14000706c
mov r8, rdi
lea rdx, [rsp + 0x3c]
mov rcx, r15
call fcn.1400ad4b0
cmp rdi, rsi
jae 0x140007082
sub rsi, rdi
lea rcx, [rdi + r15]
mov r8, rsi
xor edx, edx
call fcn.1400ad180
mov r15, qword [rsp + 0x110]
mov rsi, qword [rsp + 0x160]
add rbx, 0x20
je 0x140007261
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 0x1400070c0
jmp 0x140007261
mov r12d, 0xbba
mov rdx, qword [rsp + 0x20]
xor r8d, r8d
mov rcx, qword [r14 + 0x108]
call fcn.140010370
mov r13, qword [rsp + 0x118]
mov eax, r12d
mov r12, qword [rsp + 0x120]
mov rdi, qword [rsp + 0x128]
jmp 0x140007297
mov eax, 0x8fc
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.1400ab870
add rsp, 0x130
pop r14
pop rbx
pop rbp
ret