Function at 0x180005910
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 0x1800059b7
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.180008d30
lea r8, [0x180005470]
mov rdx, rax
lea rcx, [rbp - 0x60]
call fcn.1800165e0
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 0x180005a43
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.1800089f0
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 0x180006002
mov r14, qword [rbp + 0xb0]
mov rdx, r13
lea rcx, [rbp + 0x100]
call fcn.180008d30
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 0x18000611f
mov qword [rsp + 0x70], 7
cmp rdi, 8
jae 0x180005afe
mov qword [rsp + 0x68], rdi
movups xmm0, xmmword [r15]
movups xmmword [rsp + 0x58], xmm0
jmp 0x180005bb1
mov rbx, rdi
or rbx, 7
cmp rbx, rax
jbe 0x180005b1d
mov rbx, rax
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
jmp 0x180005b4d
cmp rbx, 0xa
mov eax, 0xa
cmovb rbx, rax
lea rcx, [rbx + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x180006119
add rcx, rcx
cmp rcx, 0x1000
jb 0x180005b7c
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x180006119
mov rcx, rax
call fcn.180020ec8
mov rcx, rax
test rax, rax
je 0x1800060ef
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x180005b8a
test rcx, rcx
je 0x180005b88
call fcn.180020ec8
jmp 0x180005b8a
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.1800232f0
mov rbx, qword [rsp + 0x20]
mov rdx, rbx
lea rcx, [rbp - 0x20]
call fcn.180008d30
nop
lea r8, [rsp + 0x58]
mov rdx, rax
lea rcx, [rbp + 0xc8]
call fcn.180015fe0
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 0x180005e20
test al, 0x10
je 0x180005e20
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.180008d30
mov rbx, rax
mov rdx, qword [rsp + 0x28]
lea rcx, [rbp + 0x20]
call fcn.180008d30
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp + 0x40]
call fcn.180015fe0
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 0x180006101
mov qword [rbp - 0x70], 7
cmp rdi, 8
jae 0x180005ca9
mov qword [rbp - 0x78], rdi
movups xmm0, xmmword [r15]
movups xmmword [rsp + 0x78], xmm0
jmp 0x180005d52
mov rbx, rdi
or rbx, 7
cmp rbx, rcx
jbe 0x180005cc8
mov rbx, rcx
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
jmp 0x180005cf8
cmp rbx, 0xa
mov ecx, 0xa
cmovb rbx, rcx
lea rcx, [rbx + 1]
movabs rdx, 0x7fffffffffffffff
cmp rcx, rdx
ja 0x1800060fb
add rcx, rcx
cmp rcx, 0x1000
jb 0x180005d27
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1800060fb
mov rcx, rax
call fcn.180020ec8
mov rcx, rax
test rax, rax
je 0x1800060f5
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x180005d31
test rcx, rcx
je 0x180005d31
call fcn.180020ec8
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.1800232f0
nop
mov r8, r13
lea rdx, [rsp + 0x78]
lea rcx, [rbp - 0x60]
call fcn.180005910
mov rbx, rax
lea rax, [rbp + 0xb0]
cmp rax, rbx
je 0x180005dea
test r14, r14
je 0x180005dbd
mov rdx, qword [rbp + 0xb8]
mov rcx, r14
call fcn.180009b60
sub rsi, r14
and rsi, 0xffffffffffffffe0
mov rax, r14
cmp rsi, 0x1000
jb 0x180005db2
add rsi, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800060f5
mov rdx, rsi
mov rcx, r14
call fcn.180020ec0
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.1800089f0
mov r9, qword [rbp + 0xb8]
sub r9, r14
sar r9, 5
mov rdx, qword [r12 + 8]
mov r8, r14
mov rcx, r12
call fcn.18000a4e0
mov r13, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x20]
jmp 0x180005f59
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 0x180005e4a
test al, 0x10
jne 0x180005e4a
mov al, 1
jmp 0x180005e4c
xor al, al
test al, al
je 0x180005f29
lea rax, [rbp + 0x60]
mov qword [rsp + 0x50], rax
lea rdx, [rbp + 0x100]
lea rcx, [rbp + 0x60]
call fcn.180008d30
mov rbx, rax
mov rdi, qword [rsp + 0x28]
mov rdx, rdi
lea rcx, [rbp + 0x80]
call fcn.180008d30
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp - 0x48]
call fcn.180015fe0
nop
mov rdx, qword [r12 + 8]
cmp rdx, qword [r12 + 0x10]
je 0x180005ed6
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 0x180005ee2
mov r8, rax
mov rcx, r12
call fcn.18000ab30
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 8
jb 0x180005f22
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180005f1d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180006107
call fcn.180020ec0
mov rbx, qword [rsp + 0x20]
jmp 0x180005f5e
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 0x180005fa5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xc8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180005f9f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000610d
call fcn.180020ec0
nop
mov rdx, qword [rbp + 0x118]
cmp rdx, 8
jb 0x180005feb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x100]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180005fe6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180006113
call fcn.180020ec0
add r13, 0x20
mov qword [rsp + 0x38], r13
xor r15d, r15d
cmp r13, qword [rsp + 0x40]
jne 0x180005a80
lea rcx, [rbp + 0xb0]
call fcn.1800089f0
nop
lea rcx, [rbp + 0xe8]
call fcn.1800089f0
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x18000605b
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x180006056
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800060e3
mov rcx, r8
call fcn.180020ec0
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov word [rbx], r15w
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x1800060a6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x1800060a1
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800060e9
mov rcx, r8
call fcn.180020ec0
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.180020ea0
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.180027fe0
nop
call fcn.180027fe0
nop
call fcn.180027fe0
nop
call fcn.180027fe0
int3
call fcn.180003440
int3
call fcn.1800034e0
nop
call fcn.180027fe0
nop
call fcn.180027fe0
nop
call fcn.180027fe0
nop
call fcn.180003440
int3
call fcn.1800034e0
int3