Function at 0x1800135f0
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2f0]
sub rsp, 0x3f0
mov rax, qword [0x180028040]
xor rax, rsp
mov qword [rbp + 0x2e0], rax
mov rdi, rcx
xor esi, esi
mov dword [rsp + 0x20], esi
cmp dword [0x1800280b4], esi
jle 0x180013e12
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
mov qword [rbp - 0x10], rsi
mov qword [rbp - 8], rsi
lea ecx, [rsi + 0x50]
call fcn.18001c798
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rbp - 0x10], rax
mov r12, 0xffffffffffffffff
mov rbx, r12
nop dword [rax]
inc rbx
cmp byte [rdi + rbx], 0
jne 0x180013670
call fcn.18001c080
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rbx
lea r8, [rsp + 0x30]
mov edx, eax
lea rcx, [rsp + 0x40]
call fcn.1800116e0
mov r13d, 0x30
xorps xmm0, xmm0
movdqa xmmword [rbp], xmm0
lea rdx, [rsp + 0x40]
lea rcx, [rbp]
call fcn.180017160
test eax, eax
jne 0x180013e51
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x180013702
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800136fd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800136fd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18001c790
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
mov rcx, qword [rbp + 8]
test rcx, rcx
je 0x18001371a
lock inc dword [rcx + 8]
mov rcx, qword [rbp + 8]
movaps xmm0, xmmword [rbp]
movdqa xmmword [rbp + 0x10], xmm0
test rcx, rcx
je 0x180013730
lock inc dword [rcx + 8]
mov rcx, qword [rbp + 8]
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x80], xmm1
test rcx, rcx
je 0x180013771
mov eax, r12d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x180013771
mov rbx, qword [rbp + 8]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r12d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x180013771
mov rcx, qword [rbp + 8]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov r15, qword [rbp + 0x10]
test r15, r15
je 0x180013c11
movups xmm0, xmmword [r15]
movaps xmmword [rbp + 0x40], xmm0
movups xmm1, xmmword [r15 + 0x10]
movaps xmmword [rbp + 0x50], xmm1
lea rdx, [r15 + 0x20]
lea rcx, [rbp + 0x60]
call fcn.180011ce0
nop
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x40]
call fcn.1800126a0
mov rax, qword [rsp + 0x60]
mov edx, dword [rsp + 0x68]
test edx, edx
je 0x1800137c7
lea ecx, [rax - 1]
test ecx, 0xfffffff7
jne 0x180013e65
cmp eax, 2
je 0x180013816
mov rdx, qword [rbp + 0x78]
cmp rdx, 7
jbe 0x180013b40
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180013b39
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180013b39
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rcx, [rbp + 0x60]
cmp qword [rbp + 0x78], 7
cmova rcx, qword [rbp + 0x60]
mov rax, qword [rbp + 0x70]
lea r11, [rcx + rax*2]
mov r10, r11
mov rdx, r11
call fcn.180011850
cmp rax, r11
je 0x18001387b
nop dword [rax]
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x18001384f
cmp cx, 0x2f
jne 0x180013858
add rax, 2
cmp rax, r11
jne 0x180013840
cmp rax, r11
je 0x18001387b
nop dword [rax]
lea rdx, [r10 - 2]
movzx ecx, word [rdx]
cmp cx, 0x5c
je 0x18001387b
cmp cx, 0x2f
je 0x18001387b
mov r10, rdx
cmp rax, rdx
jne 0x180013860
mov qword [rbp - 0x40], r10
sub r11, r10
sar r11, 1
mov qword [rbp - 0x38], r11
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x80]
call fcn.1800182d0
nop
lea rdx, [rbp + 0x20]
lea rcx, [rbp - 0x80]
call fcn.180016e60
or r13d, 0xc
mov rdx, qword [rbp - 0x68]
cmp rdx, 7
jbe 0x1800138e8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800138e3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180013be7
call fcn.18001c790
mov qword [rbp - 0x70], rsi
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], si
lea rdi, [rbp + 0x20]
mov r14, qword [rbp + 0x38]
cmp r14, 0xf
cmova rdi, qword [rbp + 0x20]
cmp qword [rbp + 0x30], 0xc
jb 0x180013a01
mov rbx, rdi
movzx esi, byte [0x180021e80]
nop
cmp byte [rbx], sil
jne 0x18001393e
mov r8d, 0xc
lea rdx, [0x180021e80]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x18001394c
cmp rbx, rdi
je 0x1800139ff
dec rbx
jmp 0x180013920
xor esi, esi
cmp rbx, rdi
jne 0x180013a01
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], rsi
mov qword [rbp - 0x48], rsi
lea r8d, [rsi + 4]
lea rbx, str..log
mov rdx, rbx
lea rcx, [rbp - 0x60]
call fcn.180005870
or r13d, 1
lea r8, [rbp + 0x20]
mov r14, qword [rbp + 0x38]
cmp r14, 0xf
cmova r8, qword [rbp + 0x20]
mov r10, qword [rbp + 0x30]
cmp r10, 4
jb 0x1800139ef
lea rax, [r10 - 4]
mov rdx, r12
cmp rax, r12
cmovb rdx, rax
add rdx, r8
movzx r9d, byte [str..log]
cmp byte [rdx], r9b
jne 0x1800139e0
mov rax, rsi
nop dword [rax]
movzx ecx, byte [rdx + rax]
inc rax
cmp cl, byte [rbx + rax - 1]
jne 0x1800139d7
cmp rax, 4
jne 0x1800139c0
mov eax, esi
jmp 0x1800139dc
sbb eax, eax
or eax, 1
test eax, eax
je 0x1800139ea
cmp rdx, r8
je 0x1800139ef
dec rdx
jmp 0x1800139b5
sub rdx, r8
jmp 0x1800139f2
mov rdx, r12
sub r10, qword [rbp - 0x50]
cmp rdx, r10
jne 0x180013a01
mov bl, 1
jmp 0x180013a03
xor esi, esi
xor bl, bl
test r13b, 1
je 0x180013a4c
and r13d, 0xfffffffe
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x180013a4c
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180013a43
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180013bee
call fcn.18001c790
mov r14, qword [rbp + 0x38]
test bl, bl
je 0x180013ac5
mov rdi, qword [rbp - 0x10]
movabs rax, 0x333333333333333
cmp qword [rbp - 8], rax
je 0x180013bf5
lea rax, [rbp - 0x10]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rsi
mov ecx, 0x50
call fcn.18001c798
mov rbx, rax
mov qword [rsp + 0x78], rax
movaps xmm0, xmmword [rbp + 0x40]
movups xmmword [rax + 0x10], xmm0
movaps xmm1, xmmword [rbp + 0x50]
movups xmmword [rax + 0x20], xmm1
lea rcx, [rax + 0x30]
lea rdx, [rbp + 0x60]
call fcn.180011ce0
nop
inc qword [rbp - 8]
mov rax, qword [rdi + 8]
mov qword [rbx], rdi
mov qword [rbx + 8], rax
mov qword [rsp + 0x78], rsi
mov qword [rdi + 8], rbx
mov qword [rax], rbx
mov r14, qword [rbp + 0x38]
cmp r14, 0xf
jbe 0x180013afe
lea rdx, [r14 + 1]
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180013af8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180013c03
call fcn.18001c790
nop
mov rdx, qword [rbp + 0x78]
cmp rdx, 7
jbe 0x180013b40
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180013b39
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180013c0a
call fcn.18001c790
nop
lea rdx, [rbp + 0x90]
mov rcx, qword [r15 + 0x40]
call fcn.18001c2e0
cmp eax, 0x12
je 0x180013b97
test eax, eax
jne 0x180013e49
cmp word [rbp + 0xbc], 0x2e
jne 0x180013b83
movzx eax, word [rbp + 0xbe]
test ax, ax
je 0x180013b40
cmp ax, 0x2e
jne 0x180013b83
cmp word [rbp + 0xc0], 0
je 0x180013b40
lea rdx, [rbp + 0x90]
mov rcx, r15
call fcn.1800129a0
jmp 0x180013775
mov r15, rsi
mov qword [rbp + 0x10], rsi
mov rbx, qword [rbp + 0x18]
mov qword [rbp + 0x18], rsi
test rbx, rbx
je 0x180013775
mov eax, r12d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x180013771
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r12d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x180013771
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
jmp 0x180013771
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
lea rcx, str.list_too_long
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, qword [rbp + 0x18]
test rcx, rcx
je 0x180013c4b
mov eax, r12d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x180013c4b
mov rbx, qword [rbp + 0x18]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r12d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x180013c4b
mov rcx, qword [rbp + 0x18]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rbp + 8]
test rcx, rcx
je 0x180013c83
mov eax, r12d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x180013c83
mov rbx, qword [rbp + 8]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], r12d
cmp r12d, 1
jne 0x180013c83
mov rcx, qword [rbp + 8]
mov rax, qword [rcx]
call qword [rax + 8]
movsxd rax, dword [0x1800280b4]
mov rdx, qword [rbp - 8]
cmp rdx, rax
jb 0x180013d8a
lea r8, [0x180012bd0]
mov rcx, qword [rbp - 0x10]
call fcn.180018420
mov eax, dword [0x1800280b4]
sub eax, 1
movsxd rcx, eax
mov rdx, qword [rbp - 0x10]
mov rbx, qword [rdx]
jns 0x180013ccc
neg rcx
nop
mov rbx, qword [rbx + 8]
sub rcx, 1
jne 0x180013cc0
jmp 0x180013cdb
test eax, eax
jle 0x180013cdb
mov rbx, qword [rbx]
dec rcx
test rcx, rcx
jg 0x180013cd0
cmp rbx, rdx
je 0x180013d8e
lea rcx, [rbx + 0x30]
cmp qword [rbx + 0x48], 7
jbe 0x180013cf3
mov rcx, qword [rbx + 0x30]
mov rax, qword [rbx + 0x40]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rbp], xmm0
lea r8, [rbp]
mov edx, 0xfde9
lea rcx, [rsp + 0x40]
call fcn.180016d00
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmova rcx, qword [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x180013d6e
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180013d69
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180013d83
call fcn.18001c790
mov rax, qword [rbx]
mov rbx, rax
mov rdx, qword [rbp - 0x10]
cmp rax, rdx
jne 0x180013ce4
jmp 0x180013d8e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdx, qword [rbp - 0x10]
mov rax, qword [rdx + 8]
mov qword [rax], rsi
mov rbx, qword [rdx]
test rbx, rbx
je 0x180013e04
nop dword [rax]
mov rdi, qword [rbx]
mov rdx, qword [rbx + 0x48]
cmp rdx, 7
jbe 0x180013ddf
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbx + 0x30]
cmp rdx, 0x1000
jb 0x180013dda
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180013e42
mov rcx, r8
call fcn.18001c790
mov qword [rbx + 0x40], rsi
mov qword [rbx + 0x48], 7
mov word [rbx + 0x30], si
mov edx, 0x50
mov rcx, rbx
call fcn.18001c790
mov rbx, rdi
test rdi, rdi
jne 0x180013da0
mov edx, 0x50
mov rcx, qword [rbp - 0x10]
call fcn.18001c790
mov rcx, qword [rbp + 0x2e0]
xor rcx, rsp
call fcn.18001c770
lea r11, [rsp + 0x3f0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov edx, eax
call fcn.180012540
nop
lea r8, [rsp + 0x40]
mov edx, eax
lea rcx, str.directory_iterator::directory_iterator
call fcn.180012630
nop
lea r8, [rbp + 0x60]
lea rcx, str.directory_entry::status
call fcn.180012630
int3