Function at 0x180004fe0
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 0x180005087
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.180008400
lea r8, [0x180004b40]
mov rdx, rax
lea rcx, [rbp - 0x60]
call fcn.180015430
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 0x180005113
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.1800080c0
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 0x1800056d2
mov r14, qword [rbp + 0xb0]
mov rdx, r13
lea rcx, [rbp + 0x100]
call fcn.180008400
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 0x1800057ef
mov qword [rsp + 0x70], 7
cmp rdi, 8
jae 0x1800051ce
mov qword [rsp + 0x68], rdi
movups xmm0, xmmword [r15]
movups xmmword [rsp + 0x58], xmm0
jmp 0x180005281
mov rbx, rdi
or rbx, 7
cmp rbx, rax
jbe 0x1800051ed
mov rbx, rax
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
jmp 0x18000521d
cmp rbx, 0xa
mov eax, 0xa
cmovb rbx, rax
lea rcx, [rbx + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x1800057e9
add rcx, rcx
cmp rcx, 0x1000
jb 0x18000524c
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1800057e9
mov rcx, rax
call fcn.18001fd18
mov rcx, rax
test rax, rax
je 0x1800057bf
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x18000525a
test rcx, rcx
je 0x180005258
call fcn.18001fd18
jmp 0x18000525a
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.180022130
mov rbx, qword [rsp + 0x20]
mov rdx, rbx
lea rcx, [rbp - 0x20]
call fcn.180008400
nop
lea r8, [rsp + 0x58]
mov rdx, rax
lea rcx, [rbp + 0xc8]
call fcn.180014e30
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 0x1800054f0
test al, 0x10
je 0x1800054f0
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.180008400
mov rbx, rax
mov rdx, qword [rsp + 0x28]
lea rcx, [rbp + 0x20]
call fcn.180008400
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp + 0x40]
call fcn.180014e30
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 0x1800057d1
mov qword [rbp - 0x70], 7
cmp rdi, 8
jae 0x180005379
mov qword [rbp - 0x78], rdi
movups xmm0, xmmword [r15]
movups xmmword [rsp + 0x78], xmm0
jmp 0x180005422
mov rbx, rdi
or rbx, 7
cmp rbx, rcx
jbe 0x180005398
mov rbx, rcx
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
jmp 0x1800053c8
cmp rbx, 0xa
mov ecx, 0xa
cmovb rbx, rcx
lea rcx, [rbx + 1]
movabs rdx, 0x7fffffffffffffff
cmp rcx, rdx
ja 0x1800057cb
add rcx, rcx
cmp rcx, 0x1000
jb 0x1800053f7
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1800057cb
mov rcx, rax
call fcn.18001fd18
mov rcx, rax
test rax, rax
je 0x1800057c5
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x180005401
test rcx, rcx
je 0x180005401
call fcn.18001fd18
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.180022130
nop
mov r8, r13
lea rdx, [rsp + 0x78]
lea rcx, [rbp - 0x60]
call fcn.180004fe0
mov rbx, rax
lea rax, [rbp + 0xb0]
cmp rax, rbx
je 0x1800054ba
test r14, r14
je 0x18000548d
mov rdx, qword [rbp + 0xb8]
mov rcx, r14
call fcn.1800091b0
sub rsi, r14
and rsi, 0xffffffffffffffe0
mov rax, r14
cmp rsi, 0x1000
jb 0x180005482
add rsi, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800057c5
mov rdx, rsi
mov rcx, r14
call fcn.18001fd10
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.1800080c0
mov r9, qword [rbp + 0xb8]
sub r9, r14
sar r9, 5
mov rdx, qword [r12 + 8]
mov r8, r14
mov rcx, r12
call fcn.180009aa0
mov r13, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x20]
jmp 0x180005629
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 0x18000551a
test al, 0x10
jne 0x18000551a
mov al, 1
jmp 0x18000551c
xor al, al
test al, al
je 0x1800055f9
lea rax, [rbp + 0x60]
mov qword [rsp + 0x50], rax
lea rdx, [rbp + 0x100]
lea rcx, [rbp + 0x60]
call fcn.180008400
mov rbx, rax
mov rdi, qword [rsp + 0x28]
mov rdx, rdi
lea rcx, [rbp + 0x80]
call fcn.180008400
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp - 0x48]
call fcn.180014e30
nop
mov rdx, qword [r12 + 8]
cmp rdx, qword [r12 + 0x10]
je 0x1800055a6
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 0x1800055b2
mov r8, rax
mov rcx, r12
call fcn.18000a0f0
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 8
jb 0x1800055f2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800055ed
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800057d7
call fcn.18001fd10
mov rbx, qword [rsp + 0x20]
jmp 0x18000562e
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 0x180005675
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xc8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000566f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800057dd
call fcn.18001fd10
nop
mov rdx, qword [rbp + 0x118]
cmp rdx, 8
jb 0x1800056bb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x100]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800056b6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800057e3
call fcn.18001fd10
add r13, 0x20
mov qword [rsp + 0x38], r13
xor r15d, r15d
cmp r13, qword [rsp + 0x40]
jne 0x180005150
lea rcx, [rbp + 0xb0]
call fcn.1800080c0
nop
lea rcx, [rbp + 0xe8]
call fcn.1800080c0
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x18000572b
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x180005726
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800057b3
mov rcx, r8
call fcn.18001fd10
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov word [rbx], r15w
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x180005776
lea rdx, [rdx*2 + 2]
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x180005771
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800057b9
mov rcx, r8
call fcn.18001fd10
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.18001fcf0
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.180026dac
nop
call fcn.180026dac
nop
call fcn.180026dac
nop
call fcn.180026dac
int3
call fcn.180003440
int3
call fcn.1800034e0
nop
call fcn.180026dac
nop
call fcn.180026dac
nop
call fcn.180026dac
nop
call fcn.180003440
int3
call fcn.1800034e0
int3