Function at 0x140020670
Capabilities:
Delete directory
Delete file

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x1404953c0]
xor rax, rsp
mov qword [rbp], rax
mov edi, edx
mov rsi, rcx
xor r12d, r12d
mov dword [rsp + 0x50], r12d
lea r14, [0x1404ac8d0]
mov qword [rsp + 0x58], r14
mov rcx, r14
call fcn.14002d900
nop
movzx ebx, byte [0x1404ac920]
lea rcx, [rsp + 0x58]
call fcn.14001d6c0
test bl, bl
je 0x1400206dd
mov eax, 0xe0001000
jmp 0x1400209e8
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x48], r12
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x48], 7
mov word [rbp - 0x60], r12w
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], r12
mov qword [rbp - 0x28], r12
mov qword [rbp - 0x30], r12
mov qword [rbp - 0x28], 7
mov word [rbp - 0x40], r12w
movups xmmword [rbp - 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x10], xmm1
movdqa xmm0, xmmword [0x14043ca90]
movdqu xmmword [rbp - 0x10], xmm0
mov word [rbp - 0x20], r12w
test edi, edi
je 0x14002081c
cmp edi, 1
je 0x14002074f
mov edi, 0xe0001005
jmp 0x140020967
lea rcx, [rbp - 0x80]
call fcn.1400fed10
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
mov r8d, ntohl
lea rdx, str.SHBridge.exe
lea rcx, [rsp + 0x60]
call fcn.140030be0
nop
mov r9, rbx
lea r8, [rsp + 0x60]
mov edx, 0xfde8
lea rcx, [rbp - 0x60]
call fcn.140017a60
movzx ebx, al
lea rcx, [rsp + 0x60]
call fcn.1400166f0
nop
lea rcx, [rbp - 0x80]
call fcn.1400166f0
test bl, bl
jne 0x1400207bf
mov edi, 0xe0001004
jmp 0x140020967
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x60]
call fcn.140030a90
mov eax, 1
mov dword [rsp + 0x50], eax
movdqa xmm0, xmmword [0x14043ca90]
movdqu xmmword [rbp - 0x10], xmm0
mov word [rbp - 0x20], r12w
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [rsp + 0x70]
movups xmmword [rbp - 0x10], xmm1
movdqa xmm0, xmmword [0x14043ca90]
movdqu xmmword [rsp + 0x70], xmm0
mov word [rsp + 0x60], r12w
and eax, 0xfffffffe
mov dword [rsp + 0x50], eax
lea rcx, [rsp + 0x60]
jmp 0x140020895
cmp dword [rsi + 0x10], 0
je 0x140020962
mov qword [rsp + 0x58], r14
mov rcx, r14
call fcn.14002d900
nop
mov ebx, dword [0x1404ac924]
lea rcx, [rsp + 0x58]
call fcn.14001d6c0
cmp ebx, 1
jne 0x140020962
lea rcx, [rbp - 0x80]
call fcn.1400b9c90
nop
lea rcx, [rbp - 0x20]
cmp rcx, rax
je 0x140020891
movdqa xmm0, xmmword [0x14043ca90]
movdqu xmmword [rbp - 0x10], xmm0
mov word [rbp - 0x20], r12w
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x10], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 7
mov word [rax], r12w
lea rcx, [rbp - 0x80]
call fcn.1400166f0
call fcn.14001d6f0
mov rcx, qword [rax]
mov r10, qword [rcx + 0x20]
lea r15, str.Protected
lea rbx, [0x14040e6c0]
mov rcx, rbx
cmp dword [rsi + 0x10], 0
cmovne rcx, r15
mov dword [rsp + 0x40], edi
mov qword [rsp + 0x38], rcx
lea rcx, str._hsProcess_start___Method__u_
mov qword [rsp + 0x30], rcx
lea r14, str.Sledgehammer
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], 3
mov r9d, 0xc3
lea r8, str.D:JenkinsworkspaceA_MBAM3_UPDATEREXE_srcPackagesSledgehammer.5.1.0.88_build_nativeincludeChildInstance.h
lea rdx, [0x140412418]
mov rcx, rax
call r10
lea rdx, [rbp - 0x20]
mov rcx, rsi
call fcn.140023730
mov edi, eax
call fcn.14001d6f0
mov rcx, qword [rax]
mov r10, qword [rcx + 0x20]
cmp dword [rsi + 0x10], 0
cmovne rbx, r15
mov dword [rsp + 0x40], edi
mov qword [rsp + 0x38], rbx
lea rcx, str._hsProcess_exited__Code__08X_
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], 3
mov r9d, 0xc5
lea r8, str.D:JenkinsworkspaceA_MBAM3_UPDATEREXE_srcPackagesSledgehammer.5.1.0.88_build_nativeincludeChildInstance.h
lea rdx, [0x140412418]
mov rcx, rax
call r10
jmp 0x140020967
mov edi, 0xe0001007
lea rcx, [rbp - 0x20]
call fcn.1400166f0
nop
cmp qword [rbp - 0x30], 0
jbe 0x1400209a2
lea rcx, [rbp - 0x40]
cmp qword [rbp - 0x28], 7
cmova rcx, qword [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rax, [rbp - 0x40]
cmp qword [rbp - 0x28], 7
cmova rax, qword [rbp - 0x40]
mov qword [rbp - 0x30], r12
mov word [rax], r12w
cmp qword [rbp - 0x50], 0
jbe 0x1400209d3
lea rcx, [rbp - 0x60]
cmp qword [rbp - 0x48], 7
cmova rcx, qword [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea rcx, [rbp - 0x60]
cmp qword [rbp - 0x48], 7
cmova rcx, qword [rbp - 0x60]
mov qword [rbp - 0x50], r12
mov word [rcx], r12w
lea rcx, [rbp - 0x40]
call fcn.1400166f0
nop
lea rcx, [rbp - 0x60]
call fcn.1400166f0
mov eax, edi
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.1402b5c00
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret