Function at 0x1400378d0
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 [0x140106b98]
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 0x14003793f
lea rcx, [fcn.140098cc0]
mov qword [rdi], rcx
mov qword [rdi + 8], r13
mov rax, rdi
jmp 0x140037fbb
cmp r14, r9
jae 0x14003795a
lea rcx, [fcn.140098cc0]
mov qword [rdi], rcx
mov qword [rdi + 8], r13
mov rax, rdi
jmp 0x140037fbb
mov rcx, r12
call fcn.140023bd0
test al, al
jne 0x14003797c
lea rcx, [fcn.140098cc0]
mov qword [rdi], rcx
mov qword [rdi + 8], r13
mov rax, rdi
jmp 0x140037fbb
lea rdx, [rsp + 0x170]
mov rcx, r12
call fcn.1400399e0
mov rdx, qword [r12 + 0x10]
mov rcx, r12
cmp qword [r12 + 0x18], 8
jb 0x1400379a0
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.140038f10
mov ebx, eax
lea rcx, [rsp + 0x170]
call fcn.140002890
test ebx, ebx
je 0x1400379fa
lea rcx, [fcn.140098cc0]
mov qword [rdi], rcx
mov qword [rdi + 8], r13
mov rax, rdi
jmp 0x140037fbb
lea rdx, [rsp + 0x110]
mov rcx, r12
call fcn.140023c80
nop
test r14, r14
je 0x140037ccc
lfence
xor r13b, r13b
mov rdx, r14
lea rcx, [rsp + 0x110]
call fcn.140037840
test al, al
je 0x140037c8f
xor ebx, ebx
mov r14d, ebx
lea rdx, [rsp + 0x110]
lea rcx, [rsp + 0xf0]
call fcn.140020440
nop
nop dword [rax]
cmp qword [rsp + 0x100], 0
je 0x140037bfb
mov rax, r14
inc r14
cmp rax, rsi
jae 0x140037bfb
lea rcx, [rsp + 0xf0]
call fcn.140036990
test al, al
je 0x140037ad7
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 0x140037ad4
lea rcx, [fcn.140098cc0]
mov qword [rdi], rcx
mov qword [rdi + 8], rbx
lea rcx, [rsp + 0xf0]
call fcn.140002890
nop
lea rcx, [rsp + 0x110]
call fcn.140002890
mov rax, rdi
jmp 0x140037fbb
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.140022df0
cmp rax, rbx
je 0x140037b6b
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x140037b1c
cmp cx, 0x2f
jne 0x140037b22
add rax, 2
jmp 0x140037b08
lea rdx, [rbx - 2]
movzx ecx, word [rdx]
cmp cx, 0x5c
je 0x140037b3f
cmp cx, 0x2f
je 0x140037b3f
mov rbx, rdx
cmp rax, rdx
je 0x140037b6b
jmp 0x140037b22
cmp rax, rbx
je 0x140037b6b
nop dword [rax]
nop dword [rax + rax]
lea rdx, [rbx - 2]
movzx ecx, word [rdx]
cmp cx, 0x5c
je 0x140037b63
cmp cx, 0x2f
jne 0x140037b6b
mov rbx, rdx
cmp rax, rdx
jne 0x140037b50
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.1400099f0
or r15d, 0xe
lea rcx, [rsp + 0xf0]
call fcn.140002890
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 0x140037a50
mov rdx, qword [rsp + 0x108]
cmp rdx, 8
jb 0x140037c43
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xf0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140037c3e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140037fe6
call fcn.14006b8b4
mov qword [rsp + 0x108], 7
test r13b, r13b
je 0x140037c8a
xor r13d, r13d
mov dword [rsp + 0x58], r13d
lea rax, [0x140106060]
mov qword [rsp + 0x60], rax
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x110]
call fcn.140039180
cmp dword [rsp + 0x58], r13d
jne 0x140037fec
jmp 0x140037da3
mov r14, qword [rsp + 0x48]
xor r13d, r13d
lfence
mov rdx, r14
lea rcx, [rsp + 0x110]
call fcn.140037840
test al, al
je 0x140037ccc
lea rcx, [fcn.140098cc0]
mov qword [rdi], rcx
mov qword [rdi + 8], r13
lea rcx, [rsp + 0x110]
call fcn.140002890
mov rax, rdi
jmp 0x140037fbb
mov qword [rsp + 0x150], r13
movdqa xmm0, xmmword [0x1400dbfa0]
movdqu xmmword [rsp + 0x160], xmm0
mov word [rsp + 0x150], r13w
mov r8d, 0xc
lea rdx, str.RPC_Control
lea rcx, [rsp + 0x150]
call fcn.1400099f0
nop
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x40], r13
lfence
mov ecx, 0x40
call fcn.14006b878
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 0x140037e34
mov r9, rsi
mov r8, r15
lea rdx, [rsp + 0xd8]
lea rcx, [rsp + 0x38]
call fcn.14001f490
movups xmm6, xmmword [rax]
movsd xmm0, qword [rax + 0x10]
movsd qword [rsp + 0xd0], xmm0
cmp byte [rsp + 0xd0], 0
jne 0x140037e2b
cmp qword [rsp + 0x40], rbx
je 0x140038006
jmp 0x140037dad
mov r14, qword [rsp + 0x48]
jmp 0x140037c92
lea rax, [rsp + 0x38]
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], r13
lfence
mov ecx, 0x40
call fcn.14006b878
mov rbx, rax
mov qword [rsp + 0x98], rax
lea rcx, [rax + 0x20]
mov rdx, rsi
call fcn.140020440
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.140022ff0
mov r14, qword [rsp + 0x38]
movabs rbx, 0x3ffffffffffffff
add rsi, 0x20
jmp 0x140037d4e
mov r8, 0xffffffffffffffff
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x110]
call fcn.140036890
movzx r14d, al
mov rcx, qword [rsp + 0x38]
mov rsi, qword [rcx + 8]
cmp byte [rsi + 0x19], 0
jne 0x140037e9a
mov r8, qword [rsi + 0x10]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x38]
call fcn.14001f410
mov rbx, rsi
mov rsi, qword [rsi]
lea rcx, [rbx + 0x20]
call fcn.140002890
mov edx, 0x40
mov rcx, rbx
call fcn.14006b8b4
cmp byte [rsi + 0x19], 0
je 0x140037e60
mov rcx, qword [rsp + 0x38]
mov edx, 0x40
call fcn.14006b8b4
nop
lea r9, [fcn.140002300]
mov edx, 0x20
lea r8d, [rdx - 0x1f]
lea rcx, [rsp + 0x150]
call fcn.14006c750
test r14b, r14b
je 0x140037eea
lea rcx, [fcn.140098cc0]
mov qword [rdi], rcx
mov qword [rdi + 8], r13
lea rcx, [rsp + 0x110]
call fcn.140002890
mov rax, rdi
jmp 0x140037fbb
mov rcx, r12
cmp qword [r12 + 0x18], 8
jb 0x140037ef9
mov rcx, qword [r12]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [rsp + 0x30], 0xffffffff
cmp qword [r12 + 0x18], 8
jb 0x140037f13
mov r12, qword [r12]
mov dword [rsp + 0x20], 0x180
mov r9d, 0x20
mov r8d, 0x501
mov rdx, r12
lea rcx, [rsp + 0x30]
call fcn.1400ad5bc
test eax, eax
je 0x140037f58
lea rcx, [fcn.140098cc0]
mov qword [rdi], rcx
mov qword [rdi + 8], r13
lea rcx, [rsp + 0x110]
call fcn.140002890
mov rax, rdi
jmp 0x140037fbb
lea rdx, [0x1400ddf64]
mov ecx, dword [rsp + 0x30]
call fcn.1400abfe8
test rax, rax
jne 0x140037f96
mov ecx, dword [rsp + 0x30]
call fcn.1400ad780
lea rcx, [fcn.140098cc0]
mov qword [rdi], rcx
mov qword [rdi + 8], r13
lea rcx, [rsp + 0x110]
call fcn.140002890
mov rax, rdi
jmp 0x140037fbb
lea rcx, [fcn.140098cc0]
mov qword [rdi], rcx
mov qword [rdi + 8], rax
lea rcx, [rsp + 0x110]
call fcn.140002890
mov rax, rdi
jmp 0x140037fbb
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.14006b950
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.14007ce08
int3
lea r8, [rsp + 0x110]
lea rdx, [rsp + 0x58]
lea rcx, str.create_directories
call fcn.140038b80
nop
call fcn.140023590
int3