Function at 0x18000ba20
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 [0x18018f080]
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 0x18000ba68
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.180012f60
mov ebx, 0x60
mov dword [rsp + 0x20], ebx
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x20], xmm0
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x20]
call fcn.180011f80
test eax, eax
jne 0x18000be9e
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x18000baf3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000baee
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000baee
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18011b354
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
mov rdi, qword [rbp - 0x18]
test rdi, rdi
je 0x18000bb0f
lock inc dword [rdi + 8]
mov rdi, qword [rbp - 0x18]
mov ebx, dword [rsp + 0x20]
movaps xmm0, xmmword [rbp - 0x20]
movdqa xmmword [rbp - 0x10], xmm0
test rdi, rdi
je 0x18000bb29
lock inc dword [rdi + 8]
mov rdi, qword [rbp - 0x18]
mov ebx, dword [rsp + 0x20]
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x20], xmm1
mov r12d, 0xffffffff
test rdi, rdi
je 0x18000bb79
mov eax, r12d
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x18000bb71
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 0x18000bb71
mov rdi, qword [rbp - 0x18]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_htonl]
jmp 0x18000bb75
mov rdi, qword [rbp - 0x18]
mov ebx, dword [rsp + 0x20]
nop dword [rax]
mov r14, qword [rbp - 0x10]
test r14, r14
je 0x18000bde0
lea rdx, [rsp + 0x70]
mov rcx, r14
call fcn.180006460
mov rax, qword [rsp + 0x70]
mov edx, dword [rsp + 0x78]
test edx, edx
je 0x18000bbb6
lea ecx, [rax - 1]
test ecx, 0xfffffff7
jne 0x18000be7e
cmp eax, 2
jne 0x18000bc43
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.180012f60
or ebx, 0xc
or ebx, 1
mov dword [rsp + 0x20], ebx
lea rcx, [r14 + 0x20]
lea rdx, [rbp - 0x70]
call fcn.180005730
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 - 0x50], xmm0
lea rdx, [rbp - 0x50]
mov rcx, rax
call fcn.180005520
test eax, eax
jne 0x18000bc48
mov r15b, 1
jmp 0x18000bc4b
mov rsi, qword [rsp + 0x48]
xor r15b, r15b
test bl, 2
je 0x18000bcad
and ebx, 0xfffffffd
mov dword [rsp + 0x20], ebx
mov rdx, qword [rbp - 0x58]
cmp rdx, 7
jbe 0x18000bc9c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000bc92
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000bdcb
call fcn.18011b354
mov rsi, qword [rsp + 0x48]
mov qword [rbp - 0x60], r13
mov qword [rbp - 0x58], 7
mov word [rbp - 0x70], r13w
test bl, 1
je 0x18000bcf6
and ebx, 0xfffffffe
mov dword [rsp + 0x20], ebx
cmp rsi, 7
jbe 0x18000bcf6
lea rdx, [rsi*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000bcf1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000bdd2
call fcn.18011b354
test r15b, r15b
je 0x18000bdb5
lea rdx, [r14 + 0x20]
lea rcx, [rbp]
call fcn.1800105c0
or ebx, 0x10
mov dword [rsp + 0x20], ebx
lea rcx, [rbp]
cmp qword [rbp + 0x18], 7
cmova rcx, qword [rbp]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x18000bd3b
lea rdx, str.Falha_ao_excluir_o_arquivo:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
jmp 0x18000bd49
lea rdx, str.Arquivo_exclu
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.180011950
lea rdx, [rbp]
cmp qword [rbp + 0x18], 7
mov r8, qword [rbp + 0x10]
cmova rdx, qword [rbp]
mov rcx, rax
call fcn.180014300
lea rdx, [0x180011b30]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
nop
mov rdx, qword [rbp + 0x18]
cmp rdx, 7
jbe 0x18000bdb5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000bdb0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000bdd9
call fcn.18011b354
lea rcx, [rbp - 0x10]
call fcn.180006a70
test eax, eax
jne 0x18000be8f
jmp 0x18000bb80
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 - 8]
test rcx, rcx
je 0x18000be1d
mov eax, r12d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x18000be19
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 0x18000be19
mov rcx, qword [rbp - 8]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rdi, qword [rbp - 0x18]
test rdi, rdi
je 0x18000be51
mov eax, r12d
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x18000be51
mov rbx, qword [rbp - 0x18]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], r12d
cmp r12d, 1
jne 0x18000be51
mov rcx, qword [rbp - 0x18]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.18011aeb0
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.180006310
int3
mov edx, eax
lea rcx, str.recursive_directory_iterator::operator
call fcn.180006220
nop
lea r8, [rsp + 0x50]
mov edx, eax
lea rcx, str.recursive_directory_iterator::recursive_directory_iterator
call fcn.180006310
int3