Function at 0x4213a0
Capabilities:
Delete directory

Disassembly:
push 0xffffffffffffffff
push 0x462cce
mov eax, dword fs:[0]
push eax
mov eax, 0x1e64
call fcn.0044f450
mov eax, dword [0x47f038]
xor eax, esp
mov dword [esp + 0x1e60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x47f038]
xor eax, esp
push eax
lea eax, [esp + 0x1e78]
mov dword fs:[0], eax
mov edi, dword [esp + 0x1e88]
mov esi, ecx
push edi
push str.ProcessSectionDelFiles_____s__n
mov dword [esp + 0x20], esi
mov dword [esp + 0x38], edi
call fcn.004412c0
mov ecx, dword [esi + 4]
add esp, 8
xor ebx, ebx
push ebx
lea eax, [esp + 0x860]
push eax
push edi
push str.TargetPath
call fcn.00409a10
test al, al
je 0x42143a
xor eax, eax
lea ecx, [ecx]
movzx ecx, word [esp + eax + 0x85c]
mov word [esp + eax + 0x244], cx
add eax, 2
cmp cx, bx
jne 0x421420
jmp 0x42149f
push ebx
lea ecx, [esp + 0x860]
push ecx
mov ecx, dword [esi + 4]
push str.Default
push str.TargetPath
call fcn.00409a10
test al, al
je 0x42147a
xor eax, eax
jmp 0x421460
movzx ecx, word [esp + eax + 0x85c]
mov word [esp + eax + 0x244], cx
add eax, 2
cmp cx, bx
jne 0x421460
jmp 0x42149f
mov eax, dword [esi + 8]
add eax, 0x624
lea edx, [esp + 0x244]
sub edx, eax
jmp 0x421490
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, bx
jne 0x421490
lea edx, [esp + 0x244]
push edx
mov ecx, esi
call fcn.00417110
mov ecx, dword [esi + 4]
push ebx
lea eax, [esp + 0xe78]
push eax
push ebx
push edi
mov dword [esp + 0x34], ebx
call 0x409a30
test al, al
je 0x4219eb
jmp 0x4214d4
mov edi, dword [esp + 0x30]
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0xe74]
push ecx
push edx
push edi
push str.__s___d____s__n
mov ebp, 2
call fcn.004412c0
push 0x1c2d0
call fcn.0044e29f
add esp, 0x14
mov dword [esp + 0x34], eax
mov dword [esp + 0x1e80], ebx
cmp eax, ebx
je 0x42151c
mov ecx, eax
call fcn.004409e0
mov esi, eax
mov dword [esp + 0x28], eax
jmp 0x421522
xor esi, esi
mov dword [esp + 0x28], esi
push 0x46ce98
lea eax, [esp + 0xe78]
push eax
mov ecx, esi
mov dword [esp + 0x1e88], 0xffffffff
call fcn.00440c30
xor edi, edi
cmp eax, ebx
mov dword [esp + 0x34], eax
mov byte [esp + 0x17], bl
mov byte [esp + 0x16], bl
mov dword [esp + 0x2c], edi
jle 0x4218d8
jmp 0x421560
cmp byte [esi + 0x1c2cc], bl
je 0x421582
cmp edi, dword [esi + 0x1c2c8]
jl 0x421574
xor eax, eax
jmp 0x421598
mov ecx, edi
shl ecx, 0xb
lea eax, [ecx + esi + 0x32c8]
jmp 0x421598
cmp edi, dword [esi + 0x1c2c8]
jl 0x42158e
xor eax, eax
jmp 0x421598
mov eax, edi
imul eax, eax, 0x104
add eax, esi
push eax
push edi
push str.___d____s__n
call fcn.004412c0
mov eax, edi
add esp, 0xc
sub eax, ebx
je 0x421883
sub eax, ebp
je 0x42183c
sub eax, 1
jne 0x4218c9
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx + 0xc]
lea edx, [esp + 0xc6c]
push edx
push ebx
lea eax, [esp + 0x44]
push eax
call fcn.00446790
cmp byte [esi + 0x1c2cc], bl
je 0x4215f9
cmp dword [esi + 0x1c2c8], 3
jg 0x4215f1
xor eax, eax
jmp 0x42160c
lea eax, [esi + 0x4ac8]
jmp 0x42160c
cmp dword [esi + 0x1c2c8], 3
jg 0x421606
xor eax, eax
jmp 0x42160c
lea eax, [esi + 0x30c]
push str.CHECK_DEPENDENT_LIST
push eax
call fcn.0044e882
add esp, 8
test eax, eax
jne 0x4218c9
push 0x206
lea eax, [esp + 0x65a]
xor edx, edx
push ebx
push eax
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebx
mov word [esp + 0x660], dx
call fcn.0044e1b0
add esp, 0xc
xor eax, eax
lea esp, [esp]
movzx ecx, word [eax + str.Windows_NT_x86]
mov word [esp + eax + 0x654], cx
add eax, ebp
cmp cx, bx
jne 0x421650
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx + 0xc]
call fcn.00447510
test eax, eax
je 0x421696
xor eax, eax
jmp 0x421680
movzx ecx, word [eax + str.Windows_x64]
mov word [esp + eax + 0x654], cx
add eax, ebp
cmp cx, bx
jne 0x421680
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x24]
push eax
push ebx
push ebx
push 3
lea ecx, [esp + 0x668]
push ecx
push ebx
call sub.WINSPOOL.DRV_EnumPrinterDriversW
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x4218c9
push eax
call fcn.0044e993
mov ecx, dword [esp + 0x24]
add esp, 4
mov ebp, eax
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x24]
push eax
push ecx
push ebp
push 3
lea edx, [esp + 0x668]
push edx
push ebx
mov dword [esp + 0x54], ebp
call sub.WINSPOOL.DRV_EnumPrinterDriversW
xor edi, edi
cmp dword [esp + 0x1c], ebx
jbe 0x421825
add ebp, 0x1c
lea esp, [esp]
mov esi, dword [ebp]
cmp esi, ebx
je 0x42180f
cmp word [esi], bx
je 0x42180f
jmp 0x421720
push 0x206
lea ecx, [esp + 0xa6a]
xor eax, eax
push ebx
push ecx
mov word [esp + 0xa70], ax
call fcn.0044e1b0
push 0x206
lea eax, [esp + 0x45e]
xor edx, edx
push ebx
push eax
mov word [esp + 0x464], dx
call fcn.0044e1b0
lea edx, [esp + 0xa7c]
add esp, 0x18
mov eax, esi
sub edx, esi
jmp 0x421770
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, bx
jne 0x421770
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x44c]
push ecx
mov ecx, dword [eax + 0xc]
push ebx
lea edx, [esp + 0xa6c]
push edx
call fcn.00446790
lea ecx, [esp + 0x44c]
push ecx
push str.___DEP_File___s__n
call fcn.004412c0
lea edx, [esp + 0x454]
push edx
lea eax, [esp + 0xc78]
push eax
call fcn.0044e882
add esp, 0x10
test eax, eax
jne 0x4217ec
lea ecx, [esp + 0xc6c]
push ecx
lea edx, [esp + 0x450]
push edx
push str._____File___s___s__n
call fcn.004412c0
add esp, 0xc
mov byte [esp + 0x17], 1
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4217f1
sub eax, edx
sar eax, 1
cmp word [esi + eax*2 + 2], bx
lea esi, [esi + eax*2 + 2]
jne 0x421720
inc edi
add ebp, 0x28
cmp edi, dword [esp + 0x1c]
jb 0x421700
mov ebp, dword [esp + 0x38]
mov esi, dword [esp + 0x28]
push ebp
call fcn.0044e988
mov edi, dword [esp + 0x30]
add esp, 4
mov ebp, 2
jmp 0x4218c9
cmp byte [esi + 0x1c2cc], bl
je 0x421858
cmp dword [esi + 0x1c2c8], ebp
jg 0x421850
xor eax, eax
jmp 0x42186a
lea eax, [esi + 0x42c8]
jmp 0x42186a
cmp dword [esi + 0x1c2c8], ebp
jg 0x421864
xor eax, eax
jmp 0x42186a
lea eax, [esi + 0x208]
push str.DEL_REBOOT
push eax
call fcn.0044e882
add esp, 8
test eax, eax
jne 0x4218c9
mov byte [esp + 0x16], 1
jmp 0x4218c9
cmp byte [esi + 0x1c2cc], bl
je 0x42189f
cmp dword [esi + 0x1c2c8], ebx
jg 0x421897
xor eax, eax
jmp 0x4218ad
lea eax, [esi + 0x32c8]
jmp 0x4218ad
xor eax, eax
cmp dword [esi + 0x1c2c8], ebx
setle al
dec eax
and eax, esi
push eax
lea eax, [esp + 0x248]
push eax
lea ecx, [esp + 0x44]
push 0x464ad0
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
inc edi
cmp edi, dword [esp + 0x34]
mov dword [esp + 0x2c], edi
jl 0x421560
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 8]
cmp byte [eax + 0x1e89], bl
je 0x4218f7
mov ecx, edx
call fcn.00416fc0
mov edi, dword [esp + 0x18]
jmp 0x4219ab
lea ecx, [esp + 0x3c]
push ecx
push 0xffffffffffffffff
mov esi, edx
push 4
mov ecx, esi
call fcn.00416eb0
lea edx, [esp + 0x3c]
push str..inf
push edx
call fcn.0044f195
add esp, 8
test eax, eax
je 0x42192b
lea eax, [esp + 0x3c]
push eax
mov ecx, esi
call fcn.0041de80
mov esi, 1
mov al, 1
cmp byte [esp + 0x17], bl
je 0x42194c
lea ecx, [esp + 0x3c]
push ecx
push str.XXX_dont_delete_this_file___s__n
call fcn.004412c0
add esp, 8
xor al, al
cmp byte [esp + 0x16], bl
je 0x42196d
cmp al, bl
je 0x421a25
mov edi, dword [esp + 0x18]
mov ecx, dword [edi + 0xc]
lea edx, [esp + 0x3c]
push edx
call fcn.00445f30
jmp 0x421986
cmp al, bl
je 0x421a25
mov edi, dword [esp + 0x18]
mov ecx, dword [edi + 0xc]
lea eax, [esp + 0x3c]
push eax
call fcn.00445e70
mov esi, eax
cmp esi, ebx
jne 0x421a29
lea edx, [esp + 0x3c]
push edx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 4
mov ecx, edi
call fcn.00416eb0
mov dword [edi + 0x28b8], ebx
mov esi, dword [esp + 0x28]
cmp esi, ebx
je 0x4219c3
mov ecx, esi
call fcn.00440490
push esi
call fcn.0044e22a
add esp, 4
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x30]
push ebx
lea ecx, [esp + 0xe78]
push ecx
mov ecx, dword [edi + 4]
inc eax
push eax
push edx
mov dword [esp + 0x34], eax
call 0x409a30
test al, al
jne 0x4214d0
lea eax, [esp + 0x244]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
xor eax, eax
mov ecx, dword [esp + 0x1e78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1e60]
xor ecx, esp
call fcn.0044e1a0
add esp, 0x1e70
ret 4
mov edi, dword [esp + 0x18]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [esp + 0x3c]
push ecx
push ebx
push 4
mov ecx, edi
call fcn.00416eb0
cmp esi, 2
jne 0x4219ab
push 1
push ebx
push ebx
push 0x8901
mov ecx, edi
call fcn.00416f90
jmp 0x4219ab