Function at 0x140011d20
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 [0x1402a98a8]
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 [0x1401e5030]
movdqu xmmword [rbp - 0x40], xmm1
mov word [rbp - 0x50], r13w
lea rdx, [rbp - 0x50]
call fcn.140012090
test al, al
je 0x140012009
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 0x140011da3
test al, 0x10
je 0x140011dd5
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x30]
call fcn.140013000
nop
mov edi, 1
mov dword [rbp - 0x60], edi
cmp qword [rax + 0x18], 8
jb 0x140011dc3
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140011dd9
test al, 0x10
jne 0x140011dd9
mov bl, 1
jmp 0x140011ddb
xor bl, bl
test dil, 1
je 0x140011e39
and edi, 0xfffffffe
mov dword [rbp - 0x60], edi
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x140011e27
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140011e22
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140012080
call fcn.1401812c4
movdqa xmm0, xmmword [0x1401e5030]
movdqu xmmword [rbp - 0x20], xmm0
mov word [rbp - 0x30], r13w
test bl, bl
jne 0x140012009
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 0x140011eab
test al, 0x10
je 0x140011eab
lea rax, [rbp - 0x50]
cmp rsi, rax
je 0x140011e81
lea rdx, [rbp - 0x50]
cmp qword [rbp - 0x38], 8
cmovae rdx, qword [rbp - 0x50]
mov r8, qword [rbp - 0x40]
mov rcx, rsi
call fcn.140006d70
lea rax, [rbp - 0x50]
cmp r15, rax
je 0x140011ea4
lea rdx, [rbp - 0x50]
cmp qword [rbp - 0x38], 8
cmovae rdx, qword [rbp - 0x50]
mov r8, qword [rbp - 0x40]
mov rcx, r15
call fcn.140006d70
mov bl, 1
jmp 0x14001200b
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 0x140011f2b
lea rcx, [r10 - 1]
mov rax, 0xffffffffffffffff
cmp rcx, rax
cmovb rax, rcx
lea rbx, [r9 + rax*2]
lea r12, [0x1401e62c8]
mov r8, rbx
sub r8, r12
nop dword [rax]
cmp word [rbx], 0x5c
jne 0x140011f1c
mov edx, 1
mov rcx, r12
nop
movzx eax, word [rcx]
cmp word [r8 + rcx], ax
jne 0x140011f1c
add rcx, 2
sub rdx, 1
jne 0x140011f00
sub rbx, r9
sar rbx, 1
jmp 0x140011f32
cmp rbx, r9
je 0x140011f2b
sub rbx, 2
sub r8, 2
jmp 0x140011ef0
mov rbx, 0xffffffffffffffff
cmp rbx, 0xffffffffffffffff
je 0x140012009
lea rax, [rbp - 0x50]
cmp rsi, rax
je 0x140011f5e
lea rdx, [rbp - 0x50]
cmp qword [rbp - 0x38], 8
cmovae rdx, r11
mov r8, r10
mov rcx, rsi
call fcn.140006d70
nop
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
movdqa xmm1, xmmword [0x1401e5030]
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.140006d70
or edi, 8
mov dword [rbp - 0x60], edi
lea rdx, [rbp - 0x30]
mov rcx, r15
call fcn.140011760
and edi, 0xfffffff7
mov dword [rbp - 0x60], edi
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x140011ff3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140011fee
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140012086
call fcn.1401812c4
movdqa xmm0, xmmword [0x1401e5030]
movdqu xmmword [rbp - 0x20], xmm0
mov word [rbp - 0x30], r13w
mov bl, 1
jmp 0x14001200b
xor bl, bl
mov rdx, qword [rbp - 0x38]
cmp rdx, 8
jb 0x140012047
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012042
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001207a
call fcn.1401812c4
movdqa xmm0, xmmword [0x1401e5030]
movdqu xmmword [rbp - 0x40], xmm0
mov word [rbp - 0x50], r13w
movzx eax, bl
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1401813e0
add rsp, 0x80
pop r15
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.1401a2d8c
nop
call fcn.1401a2d8c
nop
call fcn.1401a2d8c
int3