Function at 0x140051e80
Capabilities:
Delete directory
Delete file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x14049f3c0]
xor rax, rsp
mov qword [rbp], rax
mov rsi, rcx
xor r12d, r12d
mov dword [rsp + 0x50], r12d
lea rcx, [0x1404b6aa0]
mov qword [rsp + 0x78], rcx
call fcn.14002eb20
nop
movzx ebx, byte [0x1404b6af0]
lea rcx, [rsp + 0x78]
call fcn.14001e8e0
test bl, bl
je 0x140051ee8
mov eax, 0xe0001000
jmp 0x140052163
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 [0x140445990]
movdqu xmmword [rbp - 0x10], xmm0
mov word [rbp - 0x20], r12w
lea rcx, [rbp - 0x80]
call fcn.1400a0bb0
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
mov r8d, recvfrom
lea rdx, str.SHBridge.exe
lea rcx, [rsp + 0x58]
call fcn.140031e00
nop
mov r9, rbx
lea r8, [rsp + 0x58]
mov edx, 0xfde8
lea rcx, [rbp - 0x60]
call fcn.140017a60
movzx ebx, al
lea rcx, [rsp + 0x58]
call fcn.1400166f0
nop
lea rcx, [rbp - 0x80]
call fcn.1400166f0
test bl, bl
je 0x1400520dd
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x58]
call fcn.140031cb0
mov dword [rsp + 0x50], 1
movdqa xmm0, xmmword [0x140445990]
movdqu xmmword [rbp - 0x10], xmm0
mov word [rbp - 0x20], r12w
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [rsp + 0x68]
movups xmmword [rbp - 0x10], xmm1
movdqa xmm0, xmmword [0x140445990]
movdqu xmmword [rsp + 0x68], xmm0
mov word [rsp + 0x58], r12w
mov eax, 1
and eax, 0xfffffffe
mov dword [rsp + 0x50], eax
lea rcx, [rsp + 0x58]
call fcn.1400166f0
call fcn.14001e910
mov rcx, qword [rax]
mov r10, qword [rcx + 0x20]
lea r15, str.Protected
lea rbx, [0x1404166c0]
mov rcx, rbx
cmp dword [rsi + 0x10], 0
cmovne rcx, r15
mov dword [rsp + 0x40], 1
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.94_build_nativeincludeChildInstance.h
lea rdx, [0x14041a6b8]
mov rcx, rax
call r10
lea rdx, [rbp - 0x20]
mov rcx, rsi
call fcn.140057960
mov edi, eax
call fcn.14001e910
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.94_build_nativeincludeChildInstance.h
lea rdx, [0x14041a6b8]
mov rcx, rax
call r10
jmp 0x1400520e2
mov edi, 0xe0001004
lea rcx, [rbp - 0x20]
call fcn.1400166f0
nop
cmp qword [rbp - 0x30], 0
jbe 0x14005211d
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 0x14005214e
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.1402ba9b0
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret