Function at 0x140029fd0
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 [0x1400c7338]
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 0x14002a03f
lea rcx, [fcn.140074ee0]
mov qword [rdi], rcx
mov qword [rdi + 8], r13
mov rax, rdi
jmp 0x14002a6bb
cmp r14, r9
jae 0x14002a05a
lea rcx, [fcn.140074ee0]
mov qword [rdi], rcx
mov qword [rdi + 8], r13
mov rax, rdi
jmp 0x14002a6bb
mov rcx, r12
call fcn.14002bb80
test al, al
jne 0x14002a07c
lea rcx, [fcn.140074ee0]
mov qword [rdi], rcx
mov qword [rdi + 8], r13
mov rax, rdi
jmp 0x14002a6bb
lea rdx, [rsp + 0x170]
mov rcx, r12
call fcn.14002bc00
mov rdx, qword [r12 + 0x10]
mov rcx, r12
cmp qword [r12 + 0x18], 8
jb 0x14002a0a0
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.14002b110
mov ebx, eax
lea rcx, [rsp + 0x170]
call fcn.14001e250
test ebx, ebx
je 0x14002a0fa
lea rcx, [fcn.140074ee0]
mov qword [rdi], rcx
mov qword [rdi + 8], r13
mov rax, rdi
jmp 0x14002a6bb
lea rdx, [rsp + 0x110]
mov rcx, r12
call fcn.14001f600
nop
test r14, r14
je 0x14002a3cc
lfence
xor r13b, r13b
mov rdx, r14
lea rcx, [rsp + 0x110]
call fcn.140029f20
test al, al
je 0x14002a38f
xor ebx, ebx
mov r14d, ebx
lea rdx, [rsp + 0x110]
lea rcx, [rsp + 0xf0]
call fcn.140019cc0
nop
nop dword [rax]
cmp qword [rsp + 0x100], 0
je 0x14002a2fb
mov rax, r14
inc r14
cmp rax, rsi
jae 0x14002a2fb
lea rcx, [rsp + 0xf0]
call fcn.140029700
test al, al
je 0x14002a1d7
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 0x14002a1d4
lea rcx, [fcn.140074ee0]
mov qword [rdi], rcx
mov qword [rdi + 8], rbx
lea rcx, [rsp + 0xf0]
call fcn.14001e250
nop
lea rcx, [rsp + 0x110]
call fcn.14001e250
mov rax, rdi
jmp 0x14002a6bb
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.14001d3d0
cmp rax, rbx
je 0x14002a26b
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x14002a21c
cmp cx, 0x2f
jne 0x14002a222
add rax, 2
jmp 0x14002a208
lea rdx, [rbx - 2]
movzx ecx, word [rdx]
cmp cx, 0x5c
je 0x14002a23f
cmp cx, 0x2f
je 0x14002a23f
mov rbx, rdx
cmp rax, rdx
je 0x14002a26b
jmp 0x14002a222
cmp rax, rbx
je 0x14002a26b
nop dword [rax]
nop dword [rax + rax]
lea rdx, [rbx - 2]
movzx ecx, word [rdx]
cmp cx, 0x5c
je 0x14002a263
cmp cx, 0x2f
jne 0x14002a26b
mov rbx, rdx
cmp rax, rdx
jne 0x14002a250
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.14001e9b0
or r15d, 0xe
lea rcx, [rsp + 0xf0]
call fcn.14001e250
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 0x14002a150
mov rdx, qword [rsp + 0x108]
cmp rdx, 8
jb 0x14002a343
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xf0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002a33e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002a6e6
call fcn.140035d3c
mov qword [rsp + 0x108], 7
test r13b, r13b
je 0x14002a38a
xor r13d, r13d
mov dword [rsp + 0x58], r13d
lea rax, [0x1400c6338]
mov qword [rsp + 0x60], rax
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x110]
call fcn.14002b380
cmp dword [rsp + 0x58], r13d
jne 0x14002a6ec
jmp 0x14002a4a3
mov r14, qword [rsp + 0x48]
xor r13d, r13d
lfence
mov rdx, r14
lea rcx, [rsp + 0x110]
call fcn.140029f20
test al, al
je 0x14002a3cc
lea rcx, [fcn.140074ee0]
mov qword [rdi], rcx
mov qword [rdi + 8], r13
lea rcx, [rsp + 0x110]
call fcn.14001e250
mov rax, rdi
jmp 0x14002a6bb
mov qword [rsp + 0x150], r13
movdqa xmm0, xmmword [0x1400a7490]
movdqu xmmword [rsp + 0x160], xmm0
mov word [rsp + 0x150], r13w
mov r8d, 0xc
lea rdx, str.RPC_Control
lea rcx, [rsp + 0x150]
call fcn.14001e9b0
nop
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x40], r13
lfence
mov ecx, 0x40
call fcn.140035d00
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 0x14002a534
mov r9, rsi
mov r8, r15
lea rdx, [rsp + 0xd8]
lea rcx, [rsp + 0x38]
call fcn.1400181f0
movups xmm6, xmmword [rax]
movsd xmm0, qword [rax + 0x10]
movsd qword [rsp + 0xd0], xmm0
cmp byte [rsp + 0xd0], 0
jne 0x14002a52b
cmp qword [rsp + 0x40], rbx
je 0x14002a706
jmp 0x14002a4ad
mov r14, qword [rsp + 0x48]
jmp 0x14002a392
lea rax, [rsp + 0x38]
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], r13
lfence
mov ecx, 0x40
call fcn.140035d00
mov rbx, rax
mov qword [rsp + 0x98], rax
lea rcx, [rax + 0x20]
mov rdx, rsi
call fcn.140019cc0
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.14001d660
mov r14, qword [rsp + 0x38]
movabs rbx, 0x3ffffffffffffff
add rsi, 0x20
jmp 0x14002a44e
mov r8, 0xffffffffffffffff
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x110]
call fcn.1400294f0
movzx r14d, al
mov rcx, qword [rsp + 0x38]
mov rsi, qword [rcx + 8]
cmp byte [rsi + 0x19], 0
jne 0x14002a59a
mov r8, qword [rsi + 0x10]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x38]
call fcn.140018170
mov rbx, rsi
mov rsi, qword [rsi]
lea rcx, [rbx + 0x20]
call fcn.14001e250
mov edx, 0x40
mov rcx, rbx
call fcn.140035d3c
cmp byte [rsi + 0x19], 0
je 0x14002a560
mov rcx, qword [rsp + 0x38]
mov edx, 0x40
call fcn.140035d3c
nop
lea r9, [0x14001aac0]
mov edx, 0x20
lea r8d, [rdx - 0x1f]
lea rcx, [rsp + 0x150]
call fcn.140036bec
test r14b, r14b
je 0x14002a5ea
lea rcx, [fcn.140074ee0]
mov qword [rdi], rcx
mov qword [rdi + 8], r13
lea rcx, [rsp + 0x110]
call fcn.14001e250
mov rax, rdi
jmp 0x14002a6bb
mov rcx, r12
cmp qword [r12 + 0x18], 8
jb 0x14002a5f9
mov rcx, qword [r12]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [rsp + 0x30], 0xffffffff
cmp qword [r12 + 0x18], 8
jb 0x14002a613
mov r12, qword [r12]
mov dword [rsp + 0x20], 0x180
mov r9d, 0x20
mov r8d, 0x501
mov rdx, r12
lea rcx, [rsp + 0x30]
call fcn.1400778c8
test eax, eax
je 0x14002a658
lea rcx, [fcn.140074ee0]
mov qword [rdi], rcx
mov qword [rdi + 8], r13
lea rcx, [rsp + 0x110]
call fcn.14001e250
mov rax, rdi
jmp 0x14002a6bb
lea rdx, [0x1400a841c]
mov ecx, dword [rsp + 0x30]
call fcn.1400762f4
test rax, rax
jne 0x14002a696
mov ecx, dword [rsp + 0x30]
call fcn.140077a8c
lea rcx, [fcn.140074ee0]
mov qword [rdi], rcx
mov qword [rdi + 8], r13
lea rcx, [rsp + 0x110]
call fcn.14001e250
mov rax, rdi
jmp 0x14002a6bb
lea rcx, [fcn.140074ee0]
mov qword [rdi], rcx
mov qword [rdi + 8], rax
lea rcx, [rsp + 0x110]
call fcn.14001e250
mov rax, rdi
jmp 0x14002a6bb
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.140035de0
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.140074d78
int3
lea r8, [rsp + 0x110]
lea rdx, [rsp + 0x58]
lea rcx, str.create_directories
call fcn.14002ac80
nop
call fcn.14001e1d0
int3