Function at 0x140029ff0
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 [0x1400c7368]
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 0x14002a05f
lea rcx, [fcn.140074f00]
mov qword [rdi], rcx
mov qword [rdi + 8], r13
mov rax, rdi
jmp 0x14002a6db
cmp r14, r9
jae 0x14002a07a
lea rcx, [fcn.140074f00]
mov qword [rdi], rcx
mov qword [rdi + 8], r13
mov rax, rdi
jmp 0x14002a6db
mov rcx, r12
call fcn.14002bba0
test al, al
jne 0x14002a09c
lea rcx, [fcn.140074f00]
mov qword [rdi], rcx
mov qword [rdi + 8], r13
mov rax, rdi
jmp 0x14002a6db
lea rdx, [rsp + 0x170]
mov rcx, r12
call fcn.14002bc20
mov rdx, qword [r12 + 0x10]
mov rcx, r12
cmp qword [r12 + 0x18], 8
jb 0x14002a0c0
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.14002b130
mov ebx, eax
lea rcx, [rsp + 0x170]
call fcn.14001e270
test ebx, ebx
je 0x14002a11a
lea rcx, [fcn.140074f00]
mov qword [rdi], rcx
mov qword [rdi + 8], r13
mov rax, rdi
jmp 0x14002a6db
lea rdx, [rsp + 0x110]
mov rcx, r12
call fcn.14001f620
nop
test r14, r14
je 0x14002a3ec
lfence
xor r13b, r13b
mov rdx, r14
lea rcx, [rsp + 0x110]
call fcn.140029f40
test al, al
je 0x14002a3af
xor ebx, ebx
mov r14d, ebx
lea rdx, [rsp + 0x110]
lea rcx, [rsp + 0xf0]
call fcn.140019ce0
nop
nop dword [rax]
cmp qword [rsp + 0x100], 0
je 0x14002a31b
mov rax, r14
inc r14
cmp rax, rsi
jae 0x14002a31b
lea rcx, [rsp + 0xf0]
call fcn.140029720
test al, al
je 0x14002a1f7
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 0x14002a1f4
lea rcx, [fcn.140074f00]
mov qword [rdi], rcx
mov qword [rdi + 8], rbx
lea rcx, [rsp + 0xf0]
call fcn.14001e270
nop
lea rcx, [rsp + 0x110]
call fcn.14001e270
mov rax, rdi
jmp 0x14002a6db
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.14001d3f0
cmp rax, rbx
je 0x14002a28b
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x14002a23c
cmp cx, 0x2f
jne 0x14002a242
add rax, 2
jmp 0x14002a228
lea rdx, [rbx - 2]
movzx ecx, word [rdx]
cmp cx, 0x5c
je 0x14002a25f
cmp cx, 0x2f
je 0x14002a25f
mov rbx, rdx
cmp rax, rdx
je 0x14002a28b
jmp 0x14002a242
cmp rax, rbx
je 0x14002a28b
nop dword [rax]
nop dword [rax + rax]
lea rdx, [rbx - 2]
movzx ecx, word [rdx]
cmp cx, 0x5c
je 0x14002a283
cmp cx, 0x2f
jne 0x14002a28b
mov rbx, rdx
cmp rax, rdx
jne 0x14002a270
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.14001e9d0
or r15d, 0xe
lea rcx, [rsp + 0xf0]
call fcn.14001e270
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 0x14002a170
mov rdx, qword [rsp + 0x108]
cmp rdx, 8
jb 0x14002a363
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xf0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002a35e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002a706
call fcn.140035d5c
mov qword [rsp + 0x108], 7
test r13b, r13b
je 0x14002a3aa
xor r13d, r13d
mov dword [rsp + 0x58], r13d
lea rax, str._s_n_
mov qword [rsp + 0x60], rax
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x110]
call fcn.14002b3a0
cmp dword [rsp + 0x58], r13d
jne 0x14002a70c
jmp 0x14002a4c3
mov r14, qword [rsp + 0x48]
xor r13d, r13d
lfence
mov rdx, r14
lea rcx, [rsp + 0x110]
call fcn.140029f40
test al, al
je 0x14002a3ec
lea rcx, [fcn.140074f00]
mov qword [rdi], rcx
mov qword [rdi + 8], r13
lea rcx, [rsp + 0x110]
call fcn.14001e270
mov rax, rdi
jmp 0x14002a6db
mov qword [rsp + 0x150], r13
movdqa xmm0, xmmword [0x1400a7530]
movdqu xmmword [rsp + 0x160], xmm0
mov word [rsp + 0x150], r13w
mov r8d, 0xc
lea rdx, str.RPC_Control
lea rcx, [rsp + 0x150]
call fcn.14001e9d0
nop
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x40], r13
lfence
mov ecx, 0x40
call fcn.140035d20
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 0x14002a554
mov r9, rsi
mov r8, r15
lea rdx, [rsp + 0xd8]
lea rcx, [rsp + 0x38]
call fcn.140018210
movups xmm6, xmmword [rax]
movsd xmm0, qword [rax + 0x10]
movsd qword [rsp + 0xd0], xmm0
cmp byte [rsp + 0xd0], 0
jne 0x14002a54b
cmp qword [rsp + 0x40], rbx
je 0x14002a726
jmp 0x14002a4cd
mov r14, qword [rsp + 0x48]
jmp 0x14002a3b2
lea rax, [rsp + 0x38]
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], r13
lfence
mov ecx, 0x40
call fcn.140035d20
mov rbx, rax
mov qword [rsp + 0x98], rax
lea rcx, [rax + 0x20]
mov rdx, rsi
call fcn.140019ce0
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.14001d680
mov r14, qword [rsp + 0x38]
movabs rbx, 0x3ffffffffffffff
add rsi, 0x20
jmp 0x14002a46e
mov r8, 0xffffffffffffffff
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x110]
call fcn.140029510
movzx r14d, al
mov rcx, qword [rsp + 0x38]
mov rsi, qword [rcx + 8]
cmp byte [rsi + 0x19], 0
jne 0x14002a5ba
mov r8, qword [rsi + 0x10]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x38]
call fcn.140018190
mov rbx, rsi
mov rsi, qword [rsi]
lea rcx, [rbx + 0x20]
call fcn.14001e270
mov edx, 0x40
mov rcx, rbx
call fcn.140035d5c
cmp byte [rsi + 0x19], 0
je 0x14002a580
mov rcx, qword [rsp + 0x38]
mov edx, 0x40
call fcn.140035d5c
nop
lea r9, [0x14001aae0]
mov edx, 0x20
lea r8d, [rdx - 0x1f]
lea rcx, [rsp + 0x150]
call fcn.140036c0c
test r14b, r14b
je 0x14002a60a
lea rcx, [fcn.140074f00]
mov qword [rdi], rcx
mov qword [rdi + 8], r13
lea rcx, [rsp + 0x110]
call fcn.14001e270
mov rax, rdi
jmp 0x14002a6db
mov rcx, r12
cmp qword [r12 + 0x18], 8
jb 0x14002a619
mov rcx, qword [r12]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [rsp + 0x30], 0xffffffff
cmp qword [r12 + 0x18], 8
jb 0x14002a633
mov r12, qword [r12]
mov dword [rsp + 0x20], 0x180
mov r9d, 0x20
mov r8d, 0x501
mov rdx, r12
lea rcx, [rsp + 0x30]
call fcn.1400778e8
test eax, eax
je 0x14002a678
lea rcx, [fcn.140074f00]
mov qword [rdi], rcx
mov qword [rdi + 8], r13
lea rcx, [rsp + 0x110]
call fcn.14001e270
mov rax, rdi
jmp 0x14002a6db
lea rdx, [0x1400a84bc]
mov ecx, dword [rsp + 0x30]
call fcn.140076314
test rax, rax
jne 0x14002a6b6
mov ecx, dword [rsp + 0x30]
call fcn.140077aac
lea rcx, [fcn.140074f00]
mov qword [rdi], rcx
mov qword [rdi + 8], r13
lea rcx, [rsp + 0x110]
call fcn.14001e270
mov rax, rdi
jmp 0x14002a6db
lea rcx, [fcn.140074f00]
mov qword [rdi], rcx
mov qword [rdi + 8], rax
lea rcx, [rsp + 0x110]
call fcn.14001e270
mov rax, rdi
jmp 0x14002a6db
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.140035e00
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.140074d98
int3
lea r8, [rsp + 0x110]
lea rdx, [rsp + 0x58]
lea rcx, str.create_directories
call fcn.14002aca0
nop
call fcn.14001e1f0
int3