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

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x130]
sub rsp, 0x230
mov rax, qword [0x18005e038]
xor rax, rsp
mov qword [rbp + 0x120], rax
mov rdi, r8
mov qword [rsp + 0x28], r8
mov rbx, rdx
mov qword [rsp + 0x20], rdx
mov r12, rcx
mov qword [rbp - 0x28], rcx
mov qword [rbp + 0xa0], rdx
mov qword [rbp + 0xa8], r8
xor r15d, r15d
mov dword [rsp + 0x30], r15d
xorps xmm0, xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xe8], xmm1
mov qword [rbp + 0xf8], r15
movdqu xmmword [rbp + 0xb0], xmm1
mov esi, r15d
mov qword [rbp + 0xc0], r15
movups xmmword [rcx], xmm0
mov qword [rcx], r15
mov qword [rcx + 8], r15
mov qword [rcx + 0x10], r15
mov dword [rsp + 0x30], 1
mov r9, rdx
cmp qword [rdx + 0x18], 8
jb 0x180005177
mov r9, qword [rdx]
mov rcx, qword [0x180060f58]
mov rax, qword [rcx]
mov r8d, 2
lea rdx, str.Searching_for_all_files_in__s
call qword [rax]
mov rdx, rbx
lea rcx, [rbp - 0x48]
call fcn.1800084f0
lea r8, [0x180004c30]
mov rdx, rax
lea rcx, [rbp - 0x60]
call fcn.180015520
mov rcx, rax
mov r14, r15
mov qword [rsp + 0x40], r15
mov r13, r15
mov qword [rsp + 0x38], r15
lea rax, [rbp + 0xe8]
cmp rax, rcx
je 0x180005203
mov r13, qword [rcx]
mov qword [rsp + 0x38], r13
mov qword [rbp + 0xe8], r13
mov r14, qword [rcx + 8]
mov qword [rsp + 0x40], r14
mov qword [rbp + 0xf0], r14
mov rax, qword [rcx + 0x10]
mov qword [rbp + 0xf8], rax
mov qword [rcx], r15
mov qword [rcx + 8], r15
mov qword [rcx + 0x10], r15
lea rcx, [rbp - 0x60]
call fcn.1800081b0
mov r9, r14
sub r9, r13
sar r9, 5
mov rcx, qword [0x180060f58]
mov rax, qword [rcx]
mov r8d, 2
lea rdx, str.Number_of_entities_in_current_directory__d
call qword [rax + 0x10]
cmp r13, r14
je 0x1800057c2
mov r14, qword [rbp + 0xb0]
mov rdx, r13
lea rcx, [rbp + 0x100]
call fcn.1800084f0
nop
lea rax, [rsp + 0x58]
mov qword [rbp - 0x68], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x70], r15
lea r15, [rbp + 0x100]
cmp qword [rbp + 0x118], 8
cmovae r15, qword [rbp + 0x100]
mov rdi, qword [rbp + 0x110]
movabs rax, 0x7ffffffffffffffe
cmp rdi, rax
ja 0x1800058df
mov qword [rsp + 0x70], 7
cmp rdi, 8
jae 0x1800052be
mov qword [rsp + 0x68], rdi
movups xmm0, xmmword [r15]
movups xmmword [rsp + 0x58], xmm0
jmp 0x180005371
mov rbx, rdi
or rbx, 7
cmp rbx, rax
jbe 0x1800052dd
mov rbx, rax
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
jmp 0x18000530d
cmp rbx, 0xa
mov eax, 0xa
cmovb rbx, rax
lea rcx, [rbx + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x1800058d9
add rcx, rcx
cmp rcx, 0x1000
jb 0x18000533c
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1800058d9
mov rcx, rax
call fcn.18001fe08
mov rcx, rax
test rax, rax
je 0x1800058af
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x18000534a
test rcx, rcx
je 0x180005348
call fcn.18001fe08
jmp 0x18000534a
xor eax, eax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x70], rbx
lea r8, [rdi*2 + 2]
mov rdx, r15
mov rcx, rax
call fcn.180022220
mov rbx, qword [rsp + 0x20]
mov rdx, rbx
lea rcx, [rbp - 0x20]
call fcn.1800084f0
nop
lea r8, [rsp + 0x58]
mov rdx, rax
lea rcx, [rbp + 0xc8]
call fcn.180014f20
nop
lea rcx, [rbp + 0xc8]
cmp qword [rbp + 0xe0], 8
cmovae rcx, qword [rbp + 0xc8]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1800055e0
test al, 0x10
je 0x1800055e0
lea rax, [rbp + 0x40]
mov qword [rsp + 0x48], rax
lea rax, [rbp]
mov qword [rbp - 0x68], rax
lea rdx, [rbp + 0x100]
lea rcx, [rbp]
call fcn.1800084f0
mov rbx, rax
mov rdx, qword [rsp + 0x28]
lea rcx, [rbp + 0x20]
call fcn.1800084f0
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp + 0x40]
call fcn.180014f20
mov r13, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
xor eax, eax
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], rax
lea r15, [rbp + 0xc8]
cmp qword [rbp + 0xe0], 8
cmovae r15, qword [rbp + 0xc8]
mov rdi, qword [rbp + 0xd8]
movabs rcx, 0x7ffffffffffffffe
cmp rdi, rcx
ja 0x1800058c1
mov qword [rbp - 0x70], 7
cmp rdi, 8
jae 0x180005469
mov qword [rbp - 0x78], rdi
movups xmm0, xmmword [r15]
movups xmmword [rsp + 0x78], xmm0
jmp 0x180005512
mov rbx, rdi
or rbx, 7
cmp rbx, rcx
jbe 0x180005488
mov rbx, rcx
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
jmp 0x1800054b8
cmp rbx, 0xa
mov ecx, 0xa
cmovb rbx, rcx
lea rcx, [rbx + 1]
movabs rdx, 0x7fffffffffffffff
cmp rcx, rdx
ja 0x1800058bb
add rcx, rcx
cmp rcx, 0x1000
jb 0x1800054e7
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1800058bb
mov rcx, rax
call fcn.18001fe08
mov rcx, rax
test rax, rax
je 0x1800058b5
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x1800054f1
test rcx, rcx
je 0x1800054f1
call fcn.18001fe08
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x78], rdi
mov qword [rbp - 0x70], rbx
lea r8, [rdi*2 + 2]
mov rdx, r15
mov rcx, rax
call fcn.180022220
nop
mov r8, r13
lea rdx, [rsp + 0x78]
lea rcx, [rbp - 0x60]
call fcn.1800050d0
mov rbx, rax
lea rax, [rbp + 0xb0]
cmp rax, rbx
je 0x1800055aa
test r14, r14
je 0x18000557d
mov rdx, qword [rbp + 0xb8]
mov rcx, r14
call fcn.1800092a0
sub rsi, r14
and rsi, 0xffffffffffffffe0
mov rax, r14
cmp rsi, 0x1000
jb 0x180005572
add rsi, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800058b5
mov rdx, rsi
mov rcx, r14
call fcn.18001fe00
mov r14, qword [rbx]
mov qword [rbp + 0xb0], r14
mov rax, qword [rbx + 8]
mov qword [rbp + 0xb8], rax
mov rsi, qword [rbx + 0x10]
mov qword [rbp + 0xc0], rsi
xor eax, eax
mov qword [rbx], rax
mov qword [rbx + 8], rax
mov qword [rbx + 0x10], rax
lea rcx, [rbp - 0x60]
call fcn.1800081b0
mov r9, qword [rbp + 0xb8]
sub r9, r14
sar r9, 5
mov rdx, qword [r12 + 8]
mov r8, r14
mov rcx, r12
call fcn.180009b90
mov r13, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x20]
jmp 0x180005719
lea rcx, [rbp + 0xc8]
cmp qword [rbp + 0xe0], 8
cmovae rcx, qword [rbp + 0xc8]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x18000560a
test al, 0x10
jne 0x18000560a
mov al, 1
jmp 0x18000560c
xor al, al
test al, al
je 0x1800056e9
lea rax, [rbp + 0x60]
mov qword [rsp + 0x50], rax
lea rdx, [rbp + 0x100]
lea rcx, [rbp + 0x60]
call fcn.1800084f0
mov rbx, rax
mov rdi, qword [rsp + 0x28]
mov rdx, rdi
lea rcx, [rbp + 0x80]
call fcn.1800084f0
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp - 0x48]
call fcn.180014f20
nop
mov rdx, qword [r12 + 8]
cmp rdx, qword [r12 + 0x10]
je 0x180005696
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
xor ecx, ecx
mov qword [rdx + 0x10], rcx
mov qword [rdx + 0x18], rcx
movups xmm0, xmmword [rax]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdx + 0x10], xmm1
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], 7
mov word [rax], cx
add qword [r12 + 8], 0x20
jmp 0x1800056a2
mov r8, rax
mov rcx, r12
call fcn.18000a1e0
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 8
jb 0x1800056e2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800056dd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800058c7
call fcn.18001fe00
mov rbx, qword [rsp + 0x20]
jmp 0x18000571e
lea r9, [rbp + 0xc8]
cmp qword [rbp + 0xe0], 8
cmovae r9, qword [rbp + 0xc8]
mov rcx, qword [0x180060f58]
mov rax, qword [rcx]
mov r8d, 2
lea rdx, str.Unsupported_file__s
call qword [rax]
mov rdi, qword [rsp + 0x28]
mov rdx, qword [rbp + 0xe0]
cmp rdx, 8
jb 0x180005765
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xc8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000575f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800058cd
call fcn.18001fe00
nop
mov rdx, qword [rbp + 0x118]
cmp rdx, 8
jb 0x1800057ab
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x100]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800057a6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800058d3
call fcn.18001fe00
add r13, 0x20
mov qword [rsp + 0x38], r13
xor r15d, r15d
cmp r13, qword [rsp + 0x40]
jne 0x180005240
lea rcx, [rbp + 0xb0]
call fcn.1800081b0
nop
lea rcx, [rbp + 0xe8]
call fcn.1800081b0
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x18000581b
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x180005816
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800058a3
mov rcx, r8
call fcn.18001fe00
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov word [rbx], r15w
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x180005866
lea rdx, [rdx*2 + 2]
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x180005861
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800058a9
mov rcx, r8
call fcn.18001fe00
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], 7
mov word [rdi], r15w
mov rax, r12
mov rcx, qword [rbp + 0x120]
xor rcx, rsp
call fcn.18001fde0
mov rbx, qword [rsp + 0x288]
add rsp, 0x230
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.180026e9c
nop
call fcn.180026e9c
nop
call fcn.180026e9c
nop
call fcn.180026e9c
int3
call fcn.180003440
int3
call fcn.1800034e0
nop
call fcn.180026e9c
nop
call fcn.180026e9c
nop
call fcn.180026e9c
nop
call fcn.180003440
int3
call fcn.1800034e0
int3