Function at 0x180007550
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 - 0x40]
sub rsp, 0x140
mov rax, qword [0x180138040]
xor rax, rsp
mov qword [rbp + 0x30], rax
xor r13d, r13d
mov dword [rsp + 0x20], r13d
mov r8, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 7
jbe 0x180007598
mov rcx, qword [rcx]
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x68], r13
mov rdx, rcx
lea rcx, [rsp + 0x50]
call fcn.180017fb0
mov ebx, 0x60
mov dword [rsp + 0x20], ebx
xorps xmm0, xmm0
movdqa xmmword [rbp], xmm0
lea rdx, [rsp + 0x50]
lea rcx, [rbp]
call fcn.180016d50
test eax, eax
jne 0x18000797e
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x180007623
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000761e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000761e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800be3c0
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
mov rdi, qword [rbp + 8]
test rdi, rdi
je 0x18000763f
lock inc dword [rdi + 8]
mov rdi, qword [rbp + 8]
mov ebx, dword [rsp + 0x20]
movaps xmm0, xmmword [rbp]
movdqa xmmword [rbp + 0x10], xmm0
test rdi, rdi
je 0x180007659
lock inc dword [rdi + 8]
mov rdi, qword [rbp + 8]
mov ebx, dword [rsp + 0x20]
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x20], xmm1
mov r12d, 0xffffffff
test rdi, rdi
je 0x1800076a9
mov eax, r12d
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x1800076a1
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 0x1800076a1
mov rdi, qword [rbp + 8]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
jmp 0x1800076a5
mov rdi, qword [rbp + 8]
mov ebx, dword [rsp + 0x20]
nop dword [rax]
mov r14, qword [rbp + 0x10]
test r14, r14
je 0x1800078c0
mov r8d, 3
lea rdx, [rsp + 0x70]
mov rcx, r14
call fcn.180005fa0
mov rax, qword [rsp + 0x70]
mov edx, dword [rsp + 0x78]
test edx, edx
je 0x1800076ec
lea ecx, [rax - 1]
test ecx, 0xfffffff7
jne 0x18000795e
cmp eax, 2
jne 0x180007779
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x48], r13
lea r8d, [rax + 2]
lea rdx, str..ini
lea rcx, [rsp + 0x30]
call fcn.180017fb0
or ebx, 0xc
or ebx, 1
mov dword [rsp + 0x20], ebx
lea rcx, [r14 + 0x20]
lea rdx, [rbp - 0x70]
call fcn.180005380
or ebx, 2
mov dword [rsp + 0x20], ebx
lea rcx, [rsp + 0x30]
mov rsi, qword [rsp + 0x48]
cmp rsi, 7
cmova rcx, qword [rsp + 0x30]
mov qword [rbp - 0x80], rcx
mov rcx, qword [rsp + 0x40]
mov qword [rbp - 0x78], rcx
movaps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rbp - 0x30], xmm0
lea rdx, [rbp - 0x30]
mov rcx, rax
call fcn.180005170
test eax, eax
jne 0x18000777e
mov r15b, 1
jmp 0x180007781
mov rsi, qword [rsp + 0x48]
xor r15b, r15b
test bl, 2
je 0x1800077e3
and ebx, 0xfffffffd
mov dword [rsp + 0x20], ebx
mov rdx, qword [rbp - 0x58]
cmp rdx, 7
jbe 0x1800077d2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800077c8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800078ab
call fcn.1800be3c0
mov rsi, qword [rsp + 0x48]
mov qword [rbp - 0x60], r13
mov qword [rbp - 0x58], 7
mov word [rbp - 0x70], r13w
test bl, 1
je 0x18000782c
and ebx, 0xfffffffe
mov dword [rsp + 0x20], ebx
cmp rsi, 7
jbe 0x18000782c
lea rdx, [rsi*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180007827
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800078b2
call fcn.1800be3c0
test r15b, r15b
je 0x180007895
lea rdx, [r14 + 0x20]
lea rcx, [rbp - 0x50]
call fcn.180015a50
or ebx, 0x10
mov dword [rsp + 0x20], ebx
lea rcx, [rbp - 0x50]
cmp qword [rbp - 0x38], 7
cmova rcx, qword [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rdx, qword [rbp - 0x38]
cmp rdx, 7
jbe 0x180007895
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180007890
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800078b9
call fcn.1800be3c0
lea rcx, [rbp + 0x10]
call fcn.180006660
test eax, eax
jne 0x18000796f
jmp 0x1800076b0
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]
int3
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 0x1800078fd
mov eax, r12d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1800078f9
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 0x1800078f9
mov rcx, qword [rbp + 0x18]
mov rax, qword [rcx]
call qword [rax + 8]
mov rdi, qword [rbp + 8]
test rdi, rdi
je 0x180007931
mov eax, r12d
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x180007931
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 0x180007931
mov rcx, qword [rbp + 8]
mov rax, qword [rcx]
call qword [rax + 8]
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.1800be3a0
lea r11, [rsp + 0x140]
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
lea r8, [r14 + 0x20]
lea rcx, str.directory_entry::status
call fcn.180005ed0
int3
mov edx, eax
lea rcx, str.recursive_directory_iterator::operator
call fcn.180005de0
nop
lea r8, [rsp + 0x50]
mov edx, eax
lea rcx, str.recursive_directory_iterator::recursive_directory_iterator
call fcn.180005ed0
int3