Function at 0x14003b060
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 [0x1402854d8]
xor rax, rsp
mov qword [rbp], rax
mov rbx, rdx
mov r14, rcx
test rcx, rcx
je 0x14003b512
test rdx, rdx
je 0x14003b512
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.140107f60
mov rcx, qword [r14 + 0x108]
call fcn.140044360
mov rdi, qword [r14 + 0x108]
xor r13d, r13d
mov qword [rsp + 0x20], rax
mov ecx, dword [rdi]
sub ecx, 1
je 0x14003b119
cmp ecx, 1
jne 0x14003b195
mov rax, qword [rdi + 0x18]
mov qword [rbx], rax
jmp 0x14003b195
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 0x14003b168
bt eax, 0xa
jae 0x14003b168
mov rcx, rdi
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14003b15c
test al, 0x10
je 0x14003b15c
mov rcx, rdi
call fcn.1401338c4
jmp 0x14003b164
mov rcx, rdi
call fcn.14011868c
test eax, eax
jne 0x14003b195
lea rdx, [rbp - 0x30]
mov rcx, rdi
call fcn.14013337c
test eax, eax
jne 0x14003b195
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.140044a10
test eax, eax
jne 0x14003b4db
lea rdx, [rsp + 0x30]
mov rcx, r14
call fcn.14003b9b0
mov r12d, eax
test eax, eax
jne 0x14003b4e1
mov edx, dword [rsp + 0x34]
mov r8d, dword [rsp + 0x38]
mov dword [rbx + 0x10], edx
shr edx, 0x18
cmp edx, 1
jne 0x14003b1f6
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 0x14003b4e1
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.140130308
cmp rax, rsi
jb 0x14003b23d
mov edi, esi
jmp 0x14003b252
mov rdx, rsi
lea rcx, [rsp + 0x5c]
call fcn.140130308
mov rdi, rax
test rax, rax
je 0x14003b279
test r15, r15
jne 0x14003b269
call fcn.140117d28
mov dword [rax], 0x16
call fcn.140117b7c
jmp 0x14003b279
mov r8, rdi
lea rdx, [rsp + 0x5c]
mov rcx, r15
call fcn.140108290
cmp rdi, rsi
jae 0x14003b28f
sub rsi, rdi
lea rcx, [rdi + r15]
mov r8, rsi
xor edx, edx
call fcn.140107f60
mov esi, 0x20
lea rcx, [rsp + 0x3c]
mov edx, esi
lea r15, [rbx + 0xa2]
call fcn.140130308
cmp rax, rsi
jb 0x14003b2b0
mov edi, esi
jmp 0x14003b2c5
mov rdx, rsi
lea rcx, [rsp + 0x3c]
call fcn.140130308
mov rdi, rax
test rax, rax
je 0x14003b2ec
test r15, r15
jne 0x14003b2dc
call fcn.140117d28
mov dword [rax], 0x16
call fcn.140117b7c
jmp 0x14003b2ec
mov r8, rdi
lea rdx, [rsp + 0x3c]
mov rcx, r15
call fcn.140108290
cmp rdi, rsi
jae 0x14003b302
sub rsi, rdi
lea rcx, [rdi + r15]
mov r8, rsi
xor edx, edx
call fcn.140107f60
mov r15, qword [rsp + 0x110]
mov rsi, qword [rsp + 0x160]
add rbx, 0x20
je 0x14003b4e1
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 0x14003b340
jmp 0x14003b4e1
mov r12d, 0xbba
mov rdx, qword [rsp + 0x20]
xor r8d, r8d
mov rcx, qword [r14 + 0x108]
call fcn.140044a10
mov r13, qword [rsp + 0x118]
mov eax, r12d
mov r12, qword [rsp + 0x120]
mov rdi, qword [rsp + 0x128]
jmp 0x14003b517
mov eax, 0x8fc
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.140106650
add rsp, 0x130
pop r14
pop rbx
pop rbp
ret