Function at 0x7ff72e2f80e0
Capabilities:
Delete directory
Delete file

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1b0
movaps xmmword [rsp + 0x1a0], xmm6
mov rax, qword [0x7ff72e3c3a28]
xor rax, rsp
mov qword [rsp + 0x190], rax
mov rsi, r9
mov qword [rsp + 0x70], r9
mov r14, r8
mov qword [rsp + 0x48], r8
mov r12, rdx
mov rdi, rcx
mov qword [rsp + 0x50], rcx
xor r13d, r13d
mov r15d, r13d
mov dword [rsp + 0x68], r13d
cmp qword [rdx + 0x10], r13
jne 0x7ff72e2f814f
lea rcx, [fcn.7ff72e355250]
mov qword [rdi], rcx
mov qword [rdi + 8], r13
mov rax, rdi
jmp 0x7ff72e2f87cb
cmp r14, r9
jae 0x7ff72e2f816a
lea rcx, [fcn.7ff72e355250]
mov qword [rdi], rcx
mov qword [rdi + 8], r13
mov rax, rdi
jmp 0x7ff72e2f87cb
mov rcx, r12
call fcn.7ff72e2d8270
test al, al
jne 0x7ff72e2f818c
lea rcx, [fcn.7ff72e355250]
mov qword [rdi], rcx
mov qword [rdi + 8], r13
mov rax, rdi
jmp 0x7ff72e2f87cb
lea rdx, [rsp + 0x170]
mov rcx, r12
call fcn.7ff72e2fa4a0
mov rdx, qword [r12 + 0x10]
mov rcx, r12
cmp qword [r12 + 0x18], 8
jb 0x7ff72e2f81b0
mov rcx, qword [r12]
mov qword [rsp + 0x80], rcx
mov qword [rsp + 0x88], rdx
movaps xmm0, xmmword [rsp + 0x80]
movdqa xmmword [rsp + 0xa0], xmm0
lea rdx, [rsp + 0xa0]
mov rcx, rax
call fcn.7ff72e2f99c0
mov ebx, eax
lea rcx, [rsp + 0x170]
call fcn.7ff72e2c27f0
test ebx, ebx
je 0x7ff72e2f820a
lea rcx, [fcn.7ff72e355250]
mov qword [rdi], rcx
mov qword [rdi + 8], r13
mov rax, rdi
jmp 0x7ff72e2f87cb
lea rdx, [rsp + 0x110]
mov rcx, r12
call fcn.7ff72e2d8320
nop
test r14, r14
je 0x7ff72e2f84dc
lfence
xor r13b, r13b
mov rdx, r14
lea rcx, [rsp + 0x110]
call fcn.7ff72e2f8030
test al, al
je 0x7ff72e2f849f
xor ebx, ebx
mov r14d, ebx
lea rdx, [rsp + 0x110]
lea rcx, [rsp + 0xf0]
call fcn.7ff72e2d4a90
nop
nop dword [rax]
cmp qword [rsp + 0x100], 0
je 0x7ff72e2f840b
mov rax, r14
inc r14
cmp rax, rsi
jae 0x7ff72e2f840b
lea rcx, [rsp + 0xf0]
call fcn.7ff72e2f6d60
test al, al
je 0x7ff72e2f82e7
lea rcx, [rsp + 0xf0]
cmp qword [rsp + 0x108], 8
cmovae rcx, qword [rsp + 0xf0]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x7ff72e2f82e4
lea rcx, [fcn.7ff72e355250]
mov qword [rdi], rcx
mov qword [rdi + 8], rbx
lea rcx, [rsp + 0xf0]
call fcn.7ff72e2c27f0
nop
lea rcx, [rsp + 0x110]
call fcn.7ff72e2c27f0
mov rax, rdi
jmp 0x7ff72e2f87cb
mov r13b, 1
lea rsi, [rsp + 0xf0]
cmp qword [rsp + 0x108], 8
cmovae rsi, qword [rsp + 0xf0]
mov rax, qword [rsp + 0x100]
lea rbx, [rsi + rax*2]
mov rdx, rbx
mov rcx, rsi
call fcn.7ff72e2d7480
cmp rax, rbx
je 0x7ff72e2f837b
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x7ff72e2f832c
cmp cx, 0x2f
jne 0x7ff72e2f8332
add rax, 2
jmp 0x7ff72e2f8318
lea rdx, [rbx - 2]
movzx ecx, word [rdx]
cmp cx, 0x5c
je 0x7ff72e2f834f
cmp cx, 0x2f
je 0x7ff72e2f834f
mov rbx, rdx
cmp rax, rdx
je 0x7ff72e2f837b
jmp 0x7ff72e2f8332
cmp rax, rbx
je 0x7ff72e2f837b
nop dword [rax]
nop dword [rax + rax]
lea rdx, [rbx - 2]
movzx ecx, word [rdx]
cmp cx, 0x5c
je 0x7ff72e2f8373
cmp cx, 0x2f
jne 0x7ff72e2f837b
mov rbx, rdx
cmp rax, rdx
jne 0x7ff72e2f8360
sub rbx, rsi
sar rbx, 1
xor eax, eax
mov qword [rsp + 0x130], rax
mov qword [rsp + 0x140], rax
mov qword [rsp + 0x148], 7
mov r8, rbx
mov rdx, rsi
lea rcx, [rsp + 0x130]
call fcn.7ff72e2c9920
or r15d, 0xe
lea rcx, [rsp + 0xf0]
call fcn.7ff72e2c27f0
movups xmm0, xmmword [rsp + 0x130]
movups xmmword [rsp + 0xf0], xmm0
movups xmm1, xmmword [rsp + 0x140]
movups xmmword [rsp + 0x100], xmm1
xor ebx, ebx
mov qword [rsp + 0x140], rbx
mov qword [rsp + 0x148], 7
mov word [rsp + 0x130], bx
mov rsi, qword [rsp + 0x70]
jmp 0x7ff72e2f8260
mov rdx, qword [rsp + 0x108]
cmp rdx, 8
jb 0x7ff72e2f8453
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xf0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff72e2f844e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x7ff72e2f87f6
call fcn.7ff72e329cb8
mov qword [rsp + 0x108], 7
test r13b, r13b
je 0x7ff72e2f849a
xor r13d, r13d
mov dword [rsp + 0x58], r13d
lea rax, [0x7ff72e3c39e0]
mov qword [rsp + 0x60], rax
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x110]
call fcn.7ff72e2f9c30
cmp dword [rsp + 0x58], r13d
jne 0x7ff72e2f87fc
jmp 0x7ff72e2f85b3
mov r14, qword [rsp + 0x48]
xor r13d, r13d
lfence
mov rdx, r14
lea rcx, [rsp + 0x110]
call fcn.7ff72e2f8030
test al, al
je 0x7ff72e2f84dc
lea rcx, [fcn.7ff72e355250]
mov qword [rdi], rcx
mov qword [rdi + 8], r13
lea rcx, [rsp + 0x110]
call fcn.7ff72e2c27f0
mov rax, rdi
jmp 0x7ff72e2f87cb
mov qword [rsp + 0x150], r13
movdqa xmm0, xmmword [0x7ff72e399360]
movdqu xmmword [rsp + 0x160], xmm0
mov word [rsp + 0x150], r13w
mov r8d, 0xc
lea rdx, str.RPC_Control
lea rcx, [rsp + 0x150]
call fcn.7ff72e2c9920
nop
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x40], r13
lfence
mov ecx, 0x40
call fcn.7ff72e329c7c
mov r14, rax
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rsp + 0x38], rax
lea rsi, [rsp + 0x150]
mov r15, rax
movabs rbx, 0x3ffffffffffffff
lea rax, [rsp + 0x170]
cmp rsi, rax
je 0x7ff72e2f8644
mov r9, rsi
mov r8, r15
lea rdx, [rsp + 0xd8]
lea rcx, [rsp + 0x38]
call fcn.7ff72e2d3ab0
movups xmm6, xmmword [rax]
movsd xmm0, qword [rax + 0x10]
movsd qword [rsp + 0xd0], xmm0
cmp byte [rsp + 0xd0], 0
jne 0x7ff72e2f863b
cmp qword [rsp + 0x40], rbx
je 0x7ff72e2f8816
jmp 0x7ff72e2f85bd
mov r14, qword [rsp + 0x48]
jmp 0x7ff72e2f84a2
lea rax, [rsp + 0x38]
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], r13
lfence
mov ecx, 0x40
call fcn.7ff72e329c7c
mov rbx, rax
mov qword [rsp + 0x98], rax
lea rcx, [rax + 0x20]
mov rdx, rsi
call fcn.7ff72e2d4a90
mov qword [rbx], r14
mov qword [rbx + 8], r14
mov qword [rbx + 0x10], r14
mov word [rbx + 0x18], 0
mov qword [rsp + 0x98], r13
movaps xmmword [rsp + 0xb0], xmm6
mov r8, rbx
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x38]
call fcn.7ff72e2d7680
mov r14, qword [rsp + 0x38]
movabs rbx, 0x3ffffffffffffff
add rsi, 0x20
jmp 0x7ff72e2f855e
mov r8, 0xffffffffffffffff
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x110]
call fcn.7ff72e2f6b50
movzx r14d, al
mov rcx, qword [rsp + 0x38]
mov rsi, qword [rcx + 8]
cmp byte [rsi + 0x19], 0
jne 0x7ff72e2f86aa
mov r8, qword [rsi + 0x10]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x38]
call fcn.7ff72e2d3a30
mov rbx, rsi
mov rsi, qword [rsi]
lea rcx, [rbx + 0x20]
call fcn.7ff72e2c27f0
mov edx, 0x40
mov rcx, rbx
call fcn.7ff72e329cb8
cmp byte [rsi + 0x19], 0
je 0x7ff72e2f8670
mov rcx, qword [rsp + 0x38]
mov edx, 0x40
call fcn.7ff72e329cb8
nop
lea r9, [fcn.7ff72e2c2260]
mov edx, 0x20
lea r8d, [rdx - 0x1f]
lea rcx, [rsp + 0x150]
call fcn.7ff72e32ab50
test r14b, r14b
je 0x7ff72e2f86fa
lea rcx, [fcn.7ff72e355250]
mov qword [rdi], rcx
mov qword [rdi + 8], r13
lea rcx, [rsp + 0x110]
call fcn.7ff72e2c27f0
mov rax, rdi
jmp 0x7ff72e2f87cb
mov rcx, r12
cmp qword [r12 + 0x18], 8
jb 0x7ff72e2f8709
mov rcx, qword [r12]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [rsp + 0x30], 0xffffffff
cmp qword [r12 + 0x18], 8
jb 0x7ff72e2f8723
mov r12, qword [r12]
mov dword [rsp + 0x20], 0x180
mov r9d, 0x20
mov r8d, 0x501
mov rdx, r12
lea rcx, [rsp + 0x30]
call fcn.7ff72e36baa8
test eax, eax
je 0x7ff72e2f8768
lea rcx, [fcn.7ff72e355250]
mov qword [rdi], rcx
mov qword [rdi + 8], r13
lea rcx, [rsp + 0x110]
call fcn.7ff72e2c27f0
mov rax, rdi
jmp 0x7ff72e2f87cb
lea rdx, [0x7ff72e39bf24]
mov ecx, dword [rsp + 0x30]
call fcn.7ff72e36a4d4
test rax, rax
jne 0x7ff72e2f87a6
mov ecx, dword [rsp + 0x30]
call fcn.7ff72e36bc6c
lea rcx, [fcn.7ff72e355250]
mov qword [rdi], rcx
mov qword [rdi + 8], r13
lea rcx, [rsp + 0x110]
call fcn.7ff72e2c27f0
mov rax, rdi
jmp 0x7ff72e2f87cb
lea rcx, [fcn.7ff72e355250]
mov qword [rdi], rcx
mov qword [rdi + 8], rax
lea rcx, [rsp + 0x110]
call fcn.7ff72e2c27f0
mov rax, rdi
jmp 0x7ff72e2f87cb
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.7ff72e329d50
movaps xmm6, xmmword [rsp + 0x1a0]
add rsp, 0x1b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
call fcn.7ff72e33b2e8
int3
lea r8, [rsp + 0x110]
lea rdx, [rsp + 0x58]
lea rcx, str.create_directories
call fcn.7ff72e2f9550
nop
call fcn.7ff72e2d7c20
int3