Function at 0x1400380e0
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 [0x140103a28]
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 0x14003814f
lea rcx, [fcn.140095250]
mov qword [rdi], rcx
mov qword [rdi + 8], r13
mov rax, rdi
jmp 0x1400387cb
cmp r14, r9
jae 0x14003816a
lea rcx, [fcn.140095250]
mov qword [rdi], rcx
mov qword [rdi + 8], r13
mov rax, rdi
jmp 0x1400387cb
mov rcx, r12
call fcn.140018270
test al, al
jne 0x14003818c
lea rcx, [fcn.140095250]
mov qword [rdi], rcx
mov qword [rdi + 8], r13
mov rax, rdi
jmp 0x1400387cb
lea rdx, [rsp + 0x170]
mov rcx, r12
call fcn.14003a4a0
mov rdx, qword [r12 + 0x10]
mov rcx, r12
cmp qword [r12 + 0x18], 8
jb 0x1400381b0
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.1400399c0
mov ebx, eax
lea rcx, [rsp + 0x170]
call fcn.1400027f0
test ebx, ebx
je 0x14003820a
lea rcx, [fcn.140095250]
mov qword [rdi], rcx
mov qword [rdi + 8], r13
mov rax, rdi
jmp 0x1400387cb
lea rdx, [rsp + 0x110]
mov rcx, r12
call fcn.140018320
nop
test r14, r14
je 0x1400384dc
lfence
xor r13b, r13b
mov rdx, r14
lea rcx, [rsp + 0x110]
call fcn.140038030
test al, al
je 0x14003849f
xor ebx, ebx
mov r14d, ebx
lea rdx, [rsp + 0x110]
lea rcx, [rsp + 0xf0]
call fcn.140014a90
nop
nop dword [rax]
cmp qword [rsp + 0x100], 0
je 0x14003840b
mov rax, r14
inc r14
cmp rax, rsi
jae 0x14003840b
lea rcx, [rsp + 0xf0]
call fcn.140036d60
test al, al
je 0x1400382e7
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 0x1400382e4
lea rcx, [fcn.140095250]
mov qword [rdi], rcx
mov qword [rdi + 8], rbx
lea rcx, [rsp + 0xf0]
call fcn.1400027f0
nop
lea rcx, [rsp + 0x110]
call fcn.1400027f0
mov rax, rdi
jmp 0x1400387cb
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.140017480
cmp rax, rbx
je 0x14003837b
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x14003832c
cmp cx, 0x2f
jne 0x140038332
add rax, 2
jmp 0x140038318
lea rdx, [rbx - 2]
movzx ecx, word [rdx]
cmp cx, 0x5c
je 0x14003834f
cmp cx, 0x2f
je 0x14003834f
mov rbx, rdx
cmp rax, rdx
je 0x14003837b
jmp 0x140038332
cmp rax, rbx
je 0x14003837b
nop dword [rax]
nop dword [rax + rax]
lea rdx, [rbx - 2]
movzx ecx, word [rdx]
cmp cx, 0x5c
je 0x140038373
cmp cx, 0x2f
jne 0x14003837b
mov rbx, rdx
cmp rax, rdx
jne 0x140038360
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.140009920
or r15d, 0xe
lea rcx, [rsp + 0xf0]
call fcn.1400027f0
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 0x140038260
mov rdx, qword [rsp + 0x108]
cmp rdx, 8
jb 0x140038453
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xf0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003844e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400387f6
call fcn.140069cb8
mov qword [rsp + 0x108], 7
test r13b, r13b
je 0x14003849a
xor r13d, r13d
mov dword [rsp + 0x58], r13d
lea rax, [0x1401039e0]
mov qword [rsp + 0x60], rax
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x110]
call fcn.140039c30
cmp dword [rsp + 0x58], r13d
jne 0x1400387fc
jmp 0x1400385b3
mov r14, qword [rsp + 0x48]
xor r13d, r13d
lfence
mov rdx, r14
lea rcx, [rsp + 0x110]
call fcn.140038030
test al, al
je 0x1400384dc
lea rcx, [fcn.140095250]
mov qword [rdi], rcx
mov qword [rdi + 8], r13
lea rcx, [rsp + 0x110]
call fcn.1400027f0
mov rax, rdi
jmp 0x1400387cb
mov qword [rsp + 0x150], r13
movdqa xmm0, xmmword [0x1400d9360]
movdqu xmmword [rsp + 0x160], xmm0
mov word [rsp + 0x150], r13w
mov r8d, 0xc
lea rdx, str.RPC_Control
lea rcx, [rsp + 0x150]
call fcn.140009920
nop
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x40], r13
lfence
mov ecx, 0x40
call fcn.140069c7c
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 0x140038644
mov r9, rsi
mov r8, r15
lea rdx, [rsp + 0xd8]
lea rcx, [rsp + 0x38]
call fcn.140013ab0
movups xmm6, xmmword [rax]
movsd xmm0, qword [rax + 0x10]
movsd qword [rsp + 0xd0], xmm0
cmp byte [rsp + 0xd0], 0
jne 0x14003863b
cmp qword [rsp + 0x40], rbx
je 0x140038816
jmp 0x1400385bd
mov r14, qword [rsp + 0x48]
jmp 0x1400384a2
lea rax, [rsp + 0x38]
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], r13
lfence
mov ecx, 0x40
call fcn.140069c7c
mov rbx, rax
mov qword [rsp + 0x98], rax
lea rcx, [rax + 0x20]
mov rdx, rsi
call fcn.140014a90
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.140017680
mov r14, qword [rsp + 0x38]
movabs rbx, 0x3ffffffffffffff
add rsi, 0x20
jmp 0x14003855e
mov r8, 0xffffffffffffffff
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x110]
call fcn.140036b50
movzx r14d, al
mov rcx, qword [rsp + 0x38]
mov rsi, qword [rcx + 8]
cmp byte [rsi + 0x19], 0
jne 0x1400386aa
mov r8, qword [rsi + 0x10]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x38]
call fcn.140013a30
mov rbx, rsi
mov rsi, qword [rsi]
lea rcx, [rbx + 0x20]
call fcn.1400027f0
mov edx, 0x40
mov rcx, rbx
call fcn.140069cb8
cmp byte [rsi + 0x19], 0
je 0x140038670
mov rcx, qword [rsp + 0x38]
mov edx, 0x40
call fcn.140069cb8
nop
lea r9, [fcn.140002260]
mov edx, 0x20
lea r8d, [rdx - 0x1f]
lea rcx, [rsp + 0x150]
call fcn.14006ab50
test r14b, r14b
je 0x1400386fa
lea rcx, [fcn.140095250]
mov qword [rdi], rcx
mov qword [rdi + 8], r13
lea rcx, [rsp + 0x110]
call fcn.1400027f0
mov rax, rdi
jmp 0x1400387cb
mov rcx, r12
cmp qword [r12 + 0x18], 8
jb 0x140038709
mov rcx, qword [r12]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [rsp + 0x30], 0xffffffff
cmp qword [r12 + 0x18], 8
jb 0x140038723
mov r12, qword [r12]
mov dword [rsp + 0x20], 0x180
mov r9d, 0x20
mov r8d, 0x501
mov rdx, r12
lea rcx, [rsp + 0x30]
call fcn.1400abaa8
test eax, eax
je 0x140038768
lea rcx, [fcn.140095250]
mov qword [rdi], rcx
mov qword [rdi + 8], r13
lea rcx, [rsp + 0x110]
call fcn.1400027f0
mov rax, rdi
jmp 0x1400387cb
lea rdx, [0x1400dbf24]
mov ecx, dword [rsp + 0x30]
call fcn.1400aa4d4
test rax, rax
jne 0x1400387a6
mov ecx, dword [rsp + 0x30]
call fcn.1400abc6c
lea rcx, [fcn.140095250]
mov qword [rdi], rcx
mov qword [rdi + 8], r13
lea rcx, [rsp + 0x110]
call fcn.1400027f0
mov rax, rdi
jmp 0x1400387cb
lea rcx, [fcn.140095250]
mov qword [rdi], rcx
mov qword [rdi + 8], rax
lea rcx, [rsp + 0x110]
call fcn.1400027f0
mov rax, rdi
jmp 0x1400387cb
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.140069d50
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.14007b2e8
int3
lea r8, [rsp + 0x110]
lea rdx, [rsp + 0x58]
lea rcx, str.create_directories
call fcn.140039550
nop
call fcn.140017c20
int3