Function at 0x1800054e0
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 [0x18005f038]
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 0x180005587
mov r9, qword [rdx]
mov rcx, qword [0x180061f28]
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.180008900
lea r8, [0x180005040]
mov rdx, rax
lea rcx, [rbp - 0x60]
call fcn.180016130
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 0x180005613
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.1800085c0
mov r9, r14
sub r9, r13
sar r9, 5
mov rcx, qword [0x180061f28]
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 0x180005bd2
mov r14, qword [rbp + 0xb0]
mov rdx, r13
lea rcx, [rbp + 0x100]
call fcn.180008900
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 0x180005cef
mov qword [rsp + 0x70], 7
cmp rdi, 8
jae 0x1800056ce
mov qword [rsp + 0x68], rdi
movups xmm0, xmmword [r15]
movups xmmword [rsp + 0x58], xmm0
jmp 0x180005781
mov rbx, rdi
or rbx, 7
cmp rbx, rax
jbe 0x1800056ed
mov rbx, rax
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
jmp 0x18000571d
cmp rbx, 0xa
mov eax, 0xa
cmovb rbx, rax
lea rcx, [rbx + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x180005ce9
add rcx, rcx
cmp rcx, 0x1000
jb 0x18000574c
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x180005ce9
mov rcx, rax
call fcn.180020a18
mov rcx, rax
test rax, rax
je 0x180005cbf
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x18000575a
test rcx, rcx
je 0x180005758
call fcn.180020a18
jmp 0x18000575a
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.180022e40
mov rbx, qword [rsp + 0x20]
mov rdx, rbx
lea rcx, [rbp - 0x20]
call fcn.180008900
nop
lea r8, [rsp + 0x58]
mov rdx, rax
lea rcx, [rbp + 0xc8]
call fcn.180015b30
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 0x1800059f0
test al, 0x10
je 0x1800059f0
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.180008900
mov rbx, rax
mov rdx, qword [rsp + 0x28]
lea rcx, [rbp + 0x20]
call fcn.180008900
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp + 0x40]
call fcn.180015b30
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 0x180005cd1
mov qword [rbp - 0x70], 7
cmp rdi, 8
jae 0x180005879
mov qword [rbp - 0x78], rdi
movups xmm0, xmmword [r15]
movups xmmword [rsp + 0x78], xmm0
jmp 0x180005922
mov rbx, rdi
or rbx, 7
cmp rbx, rcx
jbe 0x180005898
mov rbx, rcx
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
jmp 0x1800058c8
cmp rbx, 0xa
mov ecx, 0xa
cmovb rbx, rcx
lea rcx, [rbx + 1]
movabs rdx, 0x7fffffffffffffff
cmp rcx, rdx
ja 0x180005ccb
add rcx, rcx
cmp rcx, 0x1000
jb 0x1800058f7
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x180005ccb
mov rcx, rax
call fcn.180020a18
mov rcx, rax
test rax, rax
je 0x180005cc5
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x180005901
test rcx, rcx
je 0x180005901
call fcn.180020a18
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.180022e40
nop
mov r8, r13
lea rdx, [rsp + 0x78]
lea rcx, [rbp - 0x60]
call fcn.1800054e0
mov rbx, rax
lea rax, [rbp + 0xb0]
cmp rax, rbx
je 0x1800059ba
test r14, r14
je 0x18000598d
mov rdx, qword [rbp + 0xb8]
mov rcx, r14
call fcn.1800096b0
sub rsi, r14
and rsi, 0xffffffffffffffe0
mov rax, r14
cmp rsi, 0x1000
jb 0x180005982
add rsi, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180005cc5
mov rdx, rsi
mov rcx, r14
call fcn.180020a10
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.1800085c0
mov r9, qword [rbp + 0xb8]
sub r9, r14
sar r9, 5
mov rdx, qword [r12 + 8]
mov r8, r14
mov rcx, r12
call fcn.18000a030
mov r13, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x20]
jmp 0x180005b29
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 0x180005a1a
test al, 0x10
jne 0x180005a1a
mov al, 1
jmp 0x180005a1c
xor al, al
test al, al
je 0x180005af9
lea rax, [rbp + 0x60]
mov qword [rsp + 0x50], rax
lea rdx, [rbp + 0x100]
lea rcx, [rbp + 0x60]
call fcn.180008900
mov rbx, rax
mov rdi, qword [rsp + 0x28]
mov rdx, rdi
lea rcx, [rbp + 0x80]
call fcn.180008900
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp - 0x48]
call fcn.180015b30
nop
mov rdx, qword [r12 + 8]
cmp rdx, qword [r12 + 0x10]
je 0x180005aa6
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 0x180005ab2
mov r8, rax
mov rcx, r12
call fcn.18000a680
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 8
jb 0x180005af2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180005aed
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180005cd7
call fcn.180020a10
mov rbx, qword [rsp + 0x20]
jmp 0x180005b2e
lea r9, [rbp + 0xc8]
cmp qword [rbp + 0xe0], 8
cmovae r9, qword [rbp + 0xc8]
mov rcx, qword [0x180061f28]
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 0x180005b75
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xc8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180005b6f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180005cdd
call fcn.180020a10
nop
mov rdx, qword [rbp + 0x118]
cmp rdx, 8
jb 0x180005bbb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x100]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180005bb6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180005ce3
call fcn.180020a10
add r13, 0x20
mov qword [rsp + 0x38], r13
xor r15d, r15d
cmp r13, qword [rsp + 0x40]
jne 0x180005650
lea rcx, [rbp + 0xb0]
call fcn.1800085c0
nop
lea rcx, [rbp + 0xe8]
call fcn.1800085c0
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x180005c2b
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x180005c26
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180005cb3
mov rcx, r8
call fcn.180020a10
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov word [rbx], r15w
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x180005c76
lea rdx, [rdx*2 + 2]
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x180005c71
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180005cb9
mov rcx, r8
call fcn.180020a10
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.1800209f0
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.180027abc
nop
call fcn.180027abc
nop
call fcn.180027abc
nop
call fcn.180027abc
int3
call fcn.180003440
int3
call fcn.1800034e0
nop
call fcn.180027abc
nop
call fcn.180027abc
nop
call fcn.180027abc
nop
call fcn.180003440
int3
call fcn.1800034e0
int3