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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r15
mov rbp, rsp
sub rsp, 0x80
mov qword [rbp - 0x58], 0xfffffffffffffffe
mov rax, qword [0x1402a6808]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov r15, r8
mov rsi, rdx
xor r13d, r13d
mov edi, r13d
mov dword [rbp - 0x60], r13d
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x40], xmm0
movdqa xmm1, xmmword [0x1401e3030]
movdqu xmmword [rbp - 0x40], xmm1
mov word [rbp - 0x50], r13w
lea rdx, [rbp - 0x50]
call fcn.140012080
test al, al
je 0x140011ff9
lea rcx, [rbp - 0x50]
cmp qword [rbp - 0x38], 8
cmovae rcx, qword [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140011d93
test al, 0x10
je 0x140011dc5
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x30]
call fcn.140012ff0
nop
mov edi, 1
mov dword [rbp - 0x60], edi
cmp qword [rax + 0x18], 8
jb 0x140011db3
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140011dc9
test al, 0x10
jne 0x140011dc9
mov bl, 1
jmp 0x140011dcb
xor bl, bl
test dil, 1
je 0x140011e29
and edi, 0xfffffffe
mov dword [rbp - 0x60], edi
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x140011e17
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140011e12
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140012070
call fcn.14017f5e4
movdqa xmm0, xmmword [0x1401e3030]
movdqu xmmword [rbp - 0x20], xmm0
mov word [rbp - 0x30], r13w
test bl, bl
jne 0x140011ff9
lea rcx, [rbp - 0x50]
cmp qword [rbp - 0x38], 8
cmovae rcx, qword [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140011e9b
test al, 0x10
je 0x140011e9b
lea rax, [rbp - 0x50]
cmp rsi, rax
je 0x140011e71
lea rdx, [rbp - 0x50]
cmp qword [rbp - 0x38], 8
cmovae rdx, qword [rbp - 0x50]
mov r8, qword [rbp - 0x40]
mov rcx, rsi
call fcn.140006d60
lea rax, [rbp - 0x50]
cmp r15, rax
je 0x140011e94
lea rdx, [rbp - 0x50]
cmp qword [rbp - 0x38], 8
cmovae rdx, qword [rbp - 0x50]
mov r8, qword [rbp - 0x40]
mov rcx, r15
call fcn.140006d60
mov bl, 1
jmp 0x140011ffb
lea r9, [rbp - 0x50]
mov r11, qword [rbp - 0x50]
cmp qword [rbp - 0x38], 8
cmovae r9, r11
mov r10, qword [rbp - 0x40]
cmp r10, 1
jb 0x140011f1b
lea rcx, [r10 - 1]
mov rax, 0xffffffffffffffff
cmp rcx, rax
cmovb rax, rcx
lea rbx, [r9 + rax*2]
lea r12, [0x1401e42c8]
mov r8, rbx
sub r8, r12
nop dword [rax]
cmp word [rbx], 0x5c
jne 0x140011f0c
mov edx, 1
mov rcx, r12
nop
movzx eax, word [rcx]
cmp word [r8 + rcx], ax
jne 0x140011f0c
add rcx, 2
sub rdx, 1
jne 0x140011ef0
sub rbx, r9
sar rbx, 1
jmp 0x140011f22
cmp rbx, r9
je 0x140011f1b
sub rbx, 2
sub r8, 2
jmp 0x140011ee0
mov rbx, 0xffffffffffffffff
cmp rbx, 0xffffffffffffffff
je 0x140011ff9
lea rax, [rbp - 0x50]
cmp rsi, rax
je 0x140011f4e
lea rdx, [rbp - 0x50]
cmp qword [rbp - 0x38], 8
cmovae rdx, r11
mov r8, r10
mov rcx, rsi
call fcn.140006d60
nop
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
movdqa xmm1, xmmword [0x1401e3030]
movdqu xmmword [rbp - 0x20], xmm1
mov word [rbp - 0x30], r13w
cmp qword [rbp - 0x40], rbx
cmovb rbx, qword [rbp - 0x40]
lea rdx, [rbp - 0x50]
cmp qword [rbp - 0x38], 8
cmovae rdx, qword [rbp - 0x50]
mov r8, rbx
lea rcx, [rbp - 0x30]
call fcn.140006d60
or edi, 8
mov dword [rbp - 0x60], edi
lea rdx, [rbp - 0x30]
mov rcx, r15
call fcn.140011750
and edi, 0xfffffff7
mov dword [rbp - 0x60], edi
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x140011fe3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140011fde
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140012076
call fcn.14017f5e4
movdqa xmm0, xmmword [0x1401e3030]
movdqu xmmword [rbp - 0x20], xmm0
mov word [rbp - 0x30], r13w
mov bl, 1
jmp 0x140011ffb
xor bl, bl
mov rdx, qword [rbp - 0x38]
cmp rdx, 8
jb 0x140012037
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012032
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001206a
call fcn.14017f5e4
movdqa xmm0, xmmword [0x1401e3030]
movdqu xmmword [rbp - 0x40], xmm0
mov word [rbp - 0x50], r13w
movzx eax, bl
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14017f700
add rsp, 0x80
pop r15
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.1401a10ac
nop
call fcn.1401a10ac
nop
call fcn.1401a10ac
int3