Function at 0x14004ce10
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 [0x14057b900]
xor rax, rsp
mov qword [rbp], rax
mov r14d, edx
mov rsi, rcx
xor r12d, r12d
lea rcx, [0x14059de80]
mov qword [rsp + 0x70], rcx
call fcn.14002c2d0
movzx ebx, byte [0x14059ded0]
lea rcx, [rsp + 0x70]
call fcn.14002c2f0
test bl, bl
je 0x14004ce75
mov eax, 0xe0001000
jmp 0x14004d22a
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
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], 7
mov word [rbp - 0x40], r12w
movups xmmword [rbp - 0x20], xmm0
movdqa xmm1, xmmword [0x140516800]
movdqu xmmword [rbp - 0x10], xmm1
mov word [rbp - 0x20], r12w
test r14d, r14d
je 0x14004d029
cmp r14d, 1
je 0x14004ced1
mov esi, 0xe0001005
jmp 0x14004d173
lea rcx, [rsp + 0x78]
call fcn.1400668d0
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
mov r8d, 0xc
lea rdx, str.SHBridge.exe
lea rcx, [rsp + 0x50]
call fcn.14001fb40
nop
mov r9, rbx
lea r8, [rsp + 0x50]
mov edx, 0xfde8
lea rcx, [rbp - 0x60]
call fcn.1400282f0
movzx ebx, al
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x14004cf62
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004cf5d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004d258
call fcn.14014f510
movdqa xmm0, xmmword [0x140516800]
movdqu xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x50], r12w
mov rdx, qword [rbp - 0x70]
cmp rdx, 7
jbe 0x14004cfb7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004cfb2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004d25e
call fcn.14014f510
test bl, bl
jne 0x14004cfc5
mov esi, 0xe0001004
jmp 0x14004d173
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x50]
call fcn.1400223f0
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x20]
call fcn.14001f2e0
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x14004d023
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004d01e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004d264
call fcn.14014f510
lea rdi, [rsi + 0x10]
jmp 0x14004d0a7
lea rdi, [rsi + 0x10]
cmp dword [rdi], 0
je 0x14004d16e
call fcn.140027320
cmp eax, 1
jne 0x14004d16e
call fcn.1400860e0
lea rdx, [rax + 8]
lea rcx, [rsp + 0x50]
call fcn.1400223f0
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x20]
call fcn.14001f2e0
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x14004d0a7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004d0a2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004d264
call fcn.14014f510
call fcn.14002c3f0
mov rcx, qword [rax]
mov r10, qword [rcx + 0x20]
lea r15, str.Protected
lea rbx, [0x1404decb0]
mov rcx, rbx
cmp dword [rdi], 0
cmovne rcx, r15
mov dword [rsp + 0x40], r14d
mov qword [rsp + 0x38], rcx
lea rdx, str._hsProcess_start___Method__u_
mov qword [rsp + 0x30], rdx
lea r14, str.Sledgehammer
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], 3
mov r9d, 0xc3
lea r8, str.D:JenkinsworkspaceN_MB5_InstallerService_srcPackagesSledgehammer.5.1.0.91_build_nativeincludeChildInstance.h
lea rdx, [0x1404e3f68]
mov rcx, rax
call r10
lea rdx, [rbp - 0x20]
mov rcx, rsi
call fcn.14004c190
mov esi, eax
call fcn.14002c3f0
mov rcx, qword [rax]
mov r10, qword [rcx + 0x20]
cmp dword [rdi], 0
cmovne rbx, r15
mov dword [rsp + 0x40], esi
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:JenkinsworkspaceN_MB5_InstallerService_srcPackagesSledgehammer.5.1.0.91_build_nativeincludeChildInstance.h
lea rdx, [0x1404e3f68]
mov rcx, rax
call r10
jmp 0x14004d173
mov esi, 0xe0001007
mov rdx, qword [rbp - 8]
cmp rdx, 7
jbe 0x14004d1b4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004d1ae
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004d252
call fcn.14014f510
nop
cmp qword [rbp - 0x30], 0
jbe 0x14004d1e5
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 0x14004d216
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.140021d30
lea rcx, [rbp - 0x60]
call fcn.140021d30
mov eax, esi
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.14014f4f0
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
call fcn.14015fa1c
nop
call fcn.14015fa1c
nop
call fcn.14015fa1c
int3
call fcn.14015fa1c
int3