Function at 0x18000be10
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 0x18000be58
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.180013970
mov ebx, 0x60
mov dword [rsp + 0x20], ebx
xorps xmm0, xmm0
movdqa xmmword [rbp], xmm0
lea rdx, [rsp + 0x50]
lea rcx, [rbp]
call fcn.180012da0
test eax, eax
jne 0x18000c23e
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x18000bee3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000bede
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000bede
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18011b8e4
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
mov rdi, qword [rbp + 8]
test rdi, rdi
je 0x18000beff
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 0x18000bf19
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 0x18000bf69
mov eax, r12d
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x18000bf61
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 0x18000bf61
mov rdi, qword [rbp + 8]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_htonl]
jmp 0x18000bf65
mov rdi, qword [rbp + 8]
mov ebx, dword [rsp + 0x20]
nop dword [rax]
mov r14, qword [rbp + 0x10]
test r14, r14
je 0x18000c180
mov r8d, 3
lea rdx, [rsp + 0x70]
mov rcx, r14
call fcn.1800083d0
mov rax, qword [rsp + 0x70]
mov edx, dword [rsp + 0x78]
test edx, edx
je 0x18000bfac
lea ecx, [rax - 1]
test ecx, 0xfffffff7
jne 0x18000c21e
cmp eax, 2
jne 0x18000c039
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.180013970
or ebx, 0xc
or ebx, 1
mov dword [rsp + 0x20], ebx
lea rcx, [r14 + 0x20]
lea rdx, [rbp - 0x70]
call fcn.180007850
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.180007640
test eax, eax
jne 0x18000c03e
mov r15b, 1
jmp 0x18000c041
mov rsi, qword [rsp + 0x48]
xor r15b, r15b
test bl, 2
je 0x18000c0a3
and ebx, 0xfffffffd
mov dword [rsp + 0x20], ebx
mov rdx, qword [rbp - 0x58]
cmp rdx, 7
jbe 0x18000c092
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000c088
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000c16b
call fcn.18011b8e4
mov rsi, qword [rsp + 0x48]
mov qword [rbp - 0x60], r13
mov qword [rbp - 0x58], 7
mov word [rbp - 0x70], r13w
test bl, 1
je 0x18000c0ec
and ebx, 0xfffffffe
mov dword [rsp + 0x20], ebx
cmp rsi, 7
jbe 0x18000c0ec
lea rdx, [rsi*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000c0e7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000c172
call fcn.18011b8e4
test r15b, r15b
je 0x18000c155
lea rdx, [r14 + 0x20]
lea rcx, [rbp - 0x50]
call fcn.1800111d0
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 0x18000c155
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000c150
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000c179
call fcn.18011b8e4
lea rcx, [rbp + 0x10]
call fcn.1800089b0
test eax, eax
jne 0x18000c22f
jmp 0x18000bf70
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 0x18000c1bd
mov eax, r12d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x18000c1b9
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 0x18000c1b9
mov rcx, qword [rbp + 0x18]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rdi, qword [rbp + 8]
test rdi, rdi
je 0x18000c1f1
mov eax, r12d
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x18000c1f1
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 0x18000c1f1
mov rcx, qword [rbp + 8]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.18011b440
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.180008300
int3
mov edx, eax
lea rcx, str.recursive_directory_iterator::operator
call fcn.180008210
nop
lea r8, [rsp + 0x50]
mov edx, eax
lea rcx, str.recursive_directory_iterator::recursive_directory_iterator
call fcn.180008300
int3