Function at 0x14004f6e0
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 0x14004f745
mov eax, 0xe0001000
jmp 0x14004fafa
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 0x14004f8f9
cmp r14d, 1
je 0x14004f7a1
mov esi, 0xe0001005
jmp 0x14004fa43
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 0x14004f832
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004f82d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004fb28
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 0x14004f887
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004f882
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004fb2e
call fcn.14014f510
test bl, bl
jne 0x14004f895
mov esi, 0xe0001004
jmp 0x14004fa43
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 0x14004f8f3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004f8ee
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004fb34
call fcn.14014f510
lea rdi, [rsi + 0x10]
jmp 0x14004f977
lea rdi, [rsi + 0x10]
cmp dword [rdi], 0
je 0x14004fa3e
call fcn.140027320
cmp eax, 1
jne 0x14004fa3e
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 0x14004f977
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004f972
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004fb34
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.14004ea60
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 0x14004fa43
mov esi, 0xe0001007
mov rdx, qword [rbp - 8]
cmp rdx, 7
jbe 0x14004fa84
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004fa7e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004fb22
call fcn.14014f510
nop
cmp qword [rbp - 0x30], 0
jbe 0x14004fab5
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 0x14004fae6
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