Function at 0x42c0ee
Capabilities:
Delete directory

Disassembly:
push 0x24
mov eax, 0x4a7284
call fcn.00490e49
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], 2
mov esi, str.Cannot_empty_base_dir_for__s
cmp dword [ebp + 0x1c], ebx
je 0x42c148
push ecx
lea eax, [ebp + 0x10]
mov dword [ebp - 0x18], esp
mov ecx, esp
push eax
call fcn.00421360
push ecx
lea eax, [ebp + 8]
mov dword [ebp - 0x30], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 3
call fcn.00421360
mov byte [ebp - 4], 2
call fcn.0042bda3
pop ecx
pop ecx
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.00453c70
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.0042001a
cmp edi, ebx
je 0x42c18d
push 1
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
cmp dword [ebp + 0x24], ebx
je 0x42c3a4
mov dword [ebp - 0x18], ebx
cmp dword [ebp - 0x18], 2
jge 0x42c3a4
cmp dword [ebp - 0x18], ebx
jne 0x42c1ad
lea eax, [ebp + 0xc]
jmp 0x42c1cf
push ecx
lea eax, [ebp + 8]
mov dword [ebp - 0x30], esp
mov ecx, esp
push eax
call fcn.00421360
lea eax, [ebp - 0x20]
push eax
call fcn.0042d0a4
pop ecx
pop ecx
mov byte [ebp - 4], 4
or dword [ebp - 0x10], 1
push eax
lea ecx, [ebp - 0x14]
call fcn.00421360
mov dword [ebp - 4], 6
test byte [ebp - 0x10], 1
je 0x42c1f4
mov ecx, dword [ebp - 0x20]
and dword [ebp - 0x10], 0xfffffffe
add ecx, 0xfffffff0
call fcn.0042001a
mov edi, dword [ebp - 0x14]
push ecx
mov eax, esp
mov dword [ebp - 0x30], esp
push edi
push str.__Removing_files_from__s
push eax
call fcn.00453c70
add esp, 0xc
call fcn.00429d91
pop ecx
cmp dword [edi - 0xc], ebx
jne 0x42c228
lea ecx, [edi - 0x10]
mov byte [ebp - 4], 2
call fcn.0042001a
jmp 0x42c31d
push ecx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x30], esp
mov ecx, esp
push eax
call fcn.00421360
call fcn.00455ab0
pop ecx
cmp eax, ebx
jne 0x42c28b
cmp dword [ebp + 0x14], 1
push dword [ebp + 8]
push esi
jl 0x42c392
lea eax, [ebp - 0x24]
push eax
call fcn.00453c70
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.0042001a
cmp ebx, 4
je 0x42c325
cmp ebx, 3
je 0x42c338
push 0x5c
push ecx
mov dword [ebp - 0x30], esp
mov ebx, esp
push 0x5c
push ecx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x30], esp
mov ecx, esp
push eax
call fcn.00421360
push ebx
call fcn.004542b0
lea eax, [ebp - 0x28]
add esp, 0xc
push eax
call fcn.00454180
mov eax, dword [eax]
add esp, 0xc
push 0x4b3648
push eax
call fcn.0048c876
pop ecx
mov ebx, eax
pop ecx
mov ecx, dword [ebp - 0x28]
neg ebx
sbb bl, bl
add ecx, 0xfffffff0
inc bl
call fcn.0042001a
test bl, bl
je 0x42c30f
push 0x5c
push ecx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x30], esp
mov ecx, esp
push eax
call fcn.00421360
lea eax, [ebp - 0x2c]
push eax
call fcn.004542b0
add esp, 0xc
push dword [eax]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
call fcn.0042001a
lea ecx, [edi - 0x10]
mov byte [ebp - 4], 2
call fcn.0042001a
xor ebx, ebx
inc dword [ebp - 0x18]
jmp 0x42c199
lea ecx, [edi - 0x10]
mov byte [ebp - 4], 2
call fcn.0042001a
xor ebx, ebx
jmp 0x42c10b
push dword [ebp + 8]
lea eax, [ebp + 0x24]
push esi
push eax
call fcn.00453c70
add esp, 0xc
mov byte [ebp - 4], 7
mov ecx, dword [ebp + 0x18]
push eax
call fcn.00422361
mov ecx, dword [ebp + 0x24]
add ecx, 0xfffffff0
call fcn.0042001a
lea ecx, [edi - 0x10]
call fcn.0042001a
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0042001a
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.0042001a
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.0042001a
xor eax, eax
inc eax
call fcn.00490f21
ret
lea eax, [ebp + 0x24]
push eax
call fcn.00453c70
add esp, 0xc
mov byte [ebp - 4], 8
jmp 0x42c34c
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp + 0x20], ebx
je 0x42c4c3
push dword [ebp + 8]
lea eax, [ebp + 0x1c]
push str.SoftwareVOS_s
push eax
call fcn.00453c70
add esp, 8
mov ecx, esp
mov dword [ebp - 0x30], esp
mov byte [ebp - 4], 9
push dword [eax]
push str.__Removing_registry_from__s
push ecx
call fcn.00453c70
add esp, 0xc
call fcn.00429d91
pop ecx
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 0x1c]
add ecx, 0xfffffff0
call fcn.0042001a
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
push dword [ebp + 8]
lea eax, [ebp + 0x1c]
push str.SoftwareVOS_s
push eax
call fcn.00453c70
add esp, 0xc
mov byte [ebp - 4], 0xa
mov esi, dword [eax]
call fcn.00455390
mov ebx, eax
neg ebx
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 0x1c]
sbb bl, bl
add ecx, 0xfffffff0
inc bl
call fcn.0042001a
test bl, bl
je 0x42c4c1
call edi
cmp dword [ebp + 0x14], 1
push eax
push dword [ebp + 8]
push str.Cannot_delete_registry_key_for__s:__d
jl 0x42c4af
lea eax, [ebp - 0x2c]
push eax
call fcn.00453c70
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.0042001a
cmp esi, 4
je 0x42c3fc
cmp esi, 3
jne 0x42c4c1
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.00453c70
add esp, 0x10
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp + 0x18]
push eax
call fcn.00422361
mov ecx, dword [ebp + 0x24]
add ecx, 0xfffffff0
jmp 0x42c363
lea eax, [ebp + 0x24]
push eax
call fcn.00453c70
add esp, 0x10
mov byte [ebp - 4], 0xc
jmp 0x42c49b
xor ebx, ebx
cmp dword [ebp + 0x24], ebx
je 0x42c4fd
push ecx
mov ecx, esp
mov dword [ebp + 0x24], esp
push dword [0x4d1a0c]
call fcn.00421197
call fcn.004564d0
pop ecx
cmp eax, ebx
je 0x42c4fd
push dword [ebp + 8]
lea eax, [ebp + 0x24]
push str.Base_dir_could_not_be_emptied_for__s
push eax
call fcn.00453c70
add esp, 0xc
mov byte [ebp - 4], 0xd
jmp 0x42c49b
cmp dword [ebp + 0x20], ebx
je 0x42c580
push ecx
mov eax, esp
mov dword [ebp + 0x24], esp
push dword [0x4d19d8]
push str.SoftwareVOS_s
push eax
call fcn.00453c70
add esp, 0xc
call fcn.00455010
pop ecx
cmp eax, ebx
je 0x42c580
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.00453c70
add esp, 0x10
mov ecx, dword [ebp + 0x18]
push eax
mov byte [ebp - 4], 0xe
call fcn.00422361
mov ecx, dword [ebp + 0x24]
add ecx, 0xfffffff0
call fcn.0042001a
xor esi, esi
inc esi
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0042001a
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.0042001a
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.0042001a
mov eax, esi
jmp 0x42c38c
xor esi, esi
jmp 0x42c558