Function at 0x432db5
Capabilities:
Delete directory

Disassembly:
push 0x30
mov eax, 0x4bb0fe
call fcn.004a27f3
xor ebx, ebx
mov dword [ebp - 0x10], ebx
push ecx
mov dword [ebp - 4], 3
mov eax, esp
mov dword [ebp - 0x2c], esp
push dword [ebp + 8]
push str.PackUtils_RemoveApp__s_
push eax
call fcn.00461d60
add esp, 0xc
call fcn.004307a8
pop ecx
mov esi, str.Cannot_empty_base_dir_for__s
cmp dword [ebp + 0x24], ebx
je 0x432e2f
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.__Removing_virt_Services
call fcn.00423442
call fcn.004307a8
pop ecx
push 1
call fcn.00422dcc
pop ecx
test eax, eax
je 0x432e2f
push ecx
mov eax, esp
mov dword [ebp - 0x18], esp
push str.ScmDirectStopServices_Remove__failed
push eax
call fcn.00461d60
pop ecx
pop ecx
call fcn.004307a8
pop ecx
cmp dword [ebp + 0x20], ebx
je 0x432e93
push ecx
lea eax, [ebp + 0x14]
mov dword [ebp - 0x18], esp
mov ecx, esp
push eax
call fcn.00423ad0
push ecx
mov byte [ebp - 4], 4
lea eax, [ebp + 0x10]
mov dword [ebp - 0x30], esp
mov ecx, esp
push eax
call fcn.00423ad0
push ecx
mov byte [ebp - 4], 5
lea eax, [ebp + 0xc]
mov dword [ebp - 0x34], esp
mov ecx, esp
push eax
call fcn.00423ad0
push ecx
lea eax, [ebp + 8]
mov dword [ebp - 0x38], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 6
call fcn.00423ad0
mov byte [ebp - 4], 3
call fcn.00432986
add esp, 0x10
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [ebp + 8]
lea eax, [ebp - 0x1c]
push str._s.VirtRegSyncExport
push eax
call fcn.00461d60
add esp, 0xc
push dword [eax]
push ebx
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
mov edi, eax
call fcn.0042101a
cmp edi, ebx
je 0x432ed8
push 1
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [ebp + 0x14]
cmp dword [eax - 0xc], ebx
je 0x432f0d
cmp dword [ebp + 0x24], ebx
jne 0x432eee
cmp dword [ebp + 0x28], ebx
je 0x4330b8
push ebx
push ecx
mov eax, esp
mov dword [ebp - 0x38], esp
push dword [ebp + 8]
push str.RemovingApp:AppID_s
push eax
call fcn.00461d60
add esp, 0xc
call fcn.00425f50
pop ecx
pop ecx
cmp dword [ebp + 0x28], ebx
je 0x433155
mov dword [ebp - 0x18], ebx
cmp dword [ebp - 0x18], 2
jge 0x433155
cmp dword [ebp - 0x18], ebx
jne 0x432f2d
lea eax, [ebp + 0xc]
jmp 0x432f4f
push ecx
lea eax, [ebp + 8]
mov dword [ebp - 0x38], esp
mov ecx, esp
push eax
call fcn.00423ad0
lea eax, [ebp - 0x20]
push eax
call fcn.00433e76
pop ecx
pop ecx
mov byte [ebp - 4], 7
or dword [ebp - 0x10], 1
push eax
lea ecx, [ebp - 0x14]
call fcn.00423ad0
mov dword [ebp - 4], 9
test byte [ebp - 0x10], 1
je 0x432f74
mov ecx, dword [ebp - 0x20]
and dword [ebp - 0x10], 0xfffffffe
add ecx, 0xfffffff0
call fcn.0042101a
mov edi, dword [ebp - 0x14]
push ecx
mov eax, esp
mov dword [ebp - 0x38], esp
push edi
push str.__Removing_files_from__s
push eax
call fcn.00461d60
add esp, 0xc
call fcn.004307a8
pop ecx
cmp dword [edi - 0xc], ebx
jne 0x432fa8
lea ecx, [edi - 0x10]
mov byte [ebp - 4], 3
call fcn.0042101a
jmp 0x43309d
push ecx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x38], esp
mov ecx, esp
push eax
call fcn.00423ad0
call fcn.00463df0
pop ecx
cmp eax, ebx
jne 0x43300b
cmp dword [ebp + 0x18], 1
push dword [ebp + 8]
push esi
jl 0x433143
lea eax, [ebp - 0x24]
push eax
call fcn.00461d60
mov eax, dword [eax]
add esp, 0xc
push 2
push str.Fatal
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
mov ebx, eax
call fcn.0042101a
cmp ebx, 4
je 0x4330a5
cmp ebx, 3
je 0x4330de
push 0x5c
push ecx
mov dword [ebp - 0x38], esp
mov ebx, esp
push 0x5c
push ecx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x38], esp
mov ecx, esp
push eax
call fcn.00423ad0
push ebx
call fcn.004623a0
lea eax, [ebp - 0x28]
add esp, 0xc
push eax
call fcn.00462270
mov eax, dword [eax]
add esp, 0xc
push 0x4c9728
push eax
call fcn.0049d8c3
pop ecx
mov ebx, eax
pop ecx
mov ecx, dword [ebp - 0x28]
neg ebx
sbb bl, bl
add ecx, 0xfffffff0
inc bl
call fcn.0042101a
test bl, bl
je 0x43308f
push 0x5c
push ecx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x38], esp
mov ecx, esp
push eax
call fcn.00423ad0
lea eax, [ebp - 0x2c]
push eax
call fcn.004623a0
add esp, 0xc
push dword [eax]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
call fcn.0042101a
lea ecx, [edi - 0x10]
mov byte [ebp - 4], 3
call fcn.0042101a
xor ebx, ebx
inc dword [ebp - 0x18]
jmp 0x432f19
lea ecx, [edi - 0x10]
mov byte [ebp - 4], 3
call fcn.0042101a
xor ebx, ebx
jmp 0x432def
push ebx
push ecx
mov eax, esp
mov dword [ebp + 0x24], esp
push dword [ebp + 8]
push str.StoppingApp:AppID_s
push eax
call fcn.00461d60
add esp, 0xc
call fcn.00425f50
pop ecx
pop ecx
xor esi, esi
jmp 0x433311
push dword [ebp + 8]
lea eax, [ebp + 0x24]
push esi
push eax
call fcn.00461d60
add esp, 0xc
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp + 0x1c]
push eax
call fcn.00423486
mov ecx, dword [ebp + 0x24]
add ecx, 0xfffffff0
call fcn.0042101a
lea ecx, [edi - 0x10]
call fcn.0042101a
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0042101a
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.0042101a
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.0042101a
mov ecx, dword [ebp + 0x14]
add ecx, 0xfffffff0
call fcn.0042101a
xor eax, eax
inc eax
call fcn.004a28cb
ret
lea eax, [ebp + 0x24]
push eax
call fcn.00461d60
add esp, 0xc
mov byte [ebp - 4], 0xb
jmp 0x4330f2
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp + 0x24], ebx
je 0x433274
push dword [ebp + 8]
lea eax, [ebp + 0x20]
push str.SoftwareVOS_s
push eax
call fcn.00461d60
add esp, 8
mov ecx, esp
mov dword [ebp - 0x38], esp
mov byte [ebp - 4], 0xc
push dword [eax]
push str.__Removing_registry_from__s
push ecx
call fcn.00461d60
add esp, 0xc
call fcn.004307a8
pop ecx
mov byte [ebp - 4], 3
mov ecx, dword [ebp + 0x20]
add ecx, 0xfffffff0
call fcn.0042101a
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
push dword [ebp + 8]
lea eax, [ebp + 0x20]
push str.SoftwareVOS_s
push eax
call fcn.00461d60
add esp, 0xc
mov byte [ebp - 4], 0xd
mov esi, dword [eax]
call fcn.004635f0
mov ebx, eax
neg ebx
mov byte [ebp - 4], 3
mov ecx, dword [ebp + 0x20]
sbb bl, bl
add ecx, 0xfffffff0
inc bl
call fcn.0042101a
test bl, bl
je 0x433272
call edi
cmp dword [ebp + 0x18], 1
push eax
push dword [ebp + 8]
push str.Cannot_delete_registry_key_for__s:__d
jl 0x433260
lea eax, [ebp - 0x2c]
push eax
call fcn.00461d60
mov eax, dword [eax]
add esp, 0x10
push 2
push str.Fatal
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
mov esi, eax
call fcn.0042101a
cmp esi, 4
je 0x4331ad
cmp esi, 3
jne 0x433272
call edi
push eax
push dword [ebp + 8]
lea eax, [ebp + 0x24]
push str.Cannot_delete_registry_key_for__s:__d
push eax
call fcn.00461d60
add esp, 0x10
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp + 0x1c]
push eax
call fcn.00423486
mov ecx, dword [ebp + 0x24]
add ecx, 0xfffffff0
jmp 0x433109
lea eax, [ebp + 0x24]
push eax
call fcn.00461d60
add esp, 0x10
mov byte [ebp - 4], 0xf
jmp 0x43324c
xor ebx, ebx
cmp dword [ebp + 0x28], ebx
je 0x4332ac
push ecx
lea eax, [ebp + 0xc]
mov dword [ebp + 0x28], esp
mov ecx, esp
push eax
call fcn.00423ad0
call fcn.00464810
pop ecx
cmp eax, ebx
je 0x4332ac
push dword [ebp + 8]
lea eax, [ebp + 0x24]
push str.Base_dir_could_not_be_emptied_for__s
push eax
call fcn.00461d60
add esp, 0xc
mov byte [ebp - 4], 0x10
jmp 0x43324c
cmp dword [ebp + 0x24], ebx
je 0x4330d7
push ecx
mov eax, esp
mov dword [ebp + 0x24], esp
push dword [ebp + 8]
push str.SoftwareVOS_s
push eax
call fcn.00461d60
add esp, 0xc
mov edx, SysReAllocStringLen
call fcn.00463270
pop ecx
cmp eax, ebx
je 0x4330d7
call edi
push eax
push dword [ebp + 8]
lea eax, [ebp + 0x24]
push str.Registry_key_could_not_be_emptied_for__s:__d
push eax
call fcn.00461d60
add esp, 0x10
mov ecx, dword [ebp + 0x1c]
push eax
mov byte [ebp - 4], 0x11
call fcn.00423486
mov ecx, dword [ebp + 0x24]
add ecx, 0xfffffff0
call fcn.0042101a
xor esi, esi
inc esi
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0042101a
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.0042101a
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.0042101a
mov ecx, dword [ebp + 0x14]
add ecx, 0xfffffff0
call fcn.0042101a
mov eax, esi
jmp 0x43313d