Function at 0x58cbe0
Capabilities:
Delete directory

Disassembly:
mov eax, 0x41a4
call fcn.005d9990
mov eax, dword [esp + 0x41a8]
push esi
push eax
lea ecx, [esp + 0xc]
push 0x1068
push ecx
call fcn.00425550
mov al, byte [esp + 0x14]
add esp, 0xc
test al, al
je 0x58cf04
mov eax, dword [0x66cfdc]
test eax, eax
je 0x58ced0
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x3144]
push 0x1068
push eax
call fcn.00423310
add esp, 8
push eax
lea ecx, [esp + 0x3148]
push ecx
push 0x5f4c90
push str.store
push str.update
call fcn.004ce2e0
add esp, 0x18
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x20dc]
push 0x1068
push eax
call fcn.00423310
add esp, 8
push eax
lea ecx, [esp + 0x20e0]
push ecx
push 0x5f4c90
push 0x5ff0e0
push str.update
call fcn.004ce2e0
mov al, byte [esp + 0x3158]
add esp, 0x18
test al, al
je 0x58ced0
mov al, byte [esp + 0x20d8]
test al, al
je 0x58ced0
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x1074]
push 0x1068
push eax
call fcn.00423310
add esp, 8
push eax
lea ecx, [esp + 0x1078]
push ecx
push 0x5f4c90
push 0x5f72fc
push str.update
call fcn.004ce2e0
lea edx, [esp + 0x1088]
push edx
call fcn.005d9a55
mov esi, eax
lea eax, [esp + 0x24]
push eax
push str.updating
push str.state
push str.update
call fcn.004cdea0
lea ecx, [esp + 0x34]
push ecx
push 0
push 0
push 0
call fcn.004cdea0
lea edx, [esp + 0x2114]
push edx
call fcn.00426100
add esp, 0x40
test eax, eax
je 0x58ced0
push 0x66c330
lea eax, [esp + 0x1074]
push 0x1068
push eax
call fcn.00425550
lea eax, [esp + 0x107c]
add esp, 0xc
mov dword [esp + 4], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x58cd63
push 2
sub eax, edx
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x20e0]
push edx
push eax
lea eax, [esp + 0x1080]
push eax
call fcn.0058c2c0
mov eax, dword [esp + 0x18]
add esp, 0x14
test eax, eax
jne 0x58ced0
test esi, esi
je 0x58ce37
lea ecx, [esp + 0x20d8]
push ecx
lea edx, [esp + 0x1074]
push str._sbackup_
push edx
call fcn.005d9929
lea eax, [esp + 0x107c]
push 2
push eax
call fcn.00424420
add esp, 0x14
test eax, eax
jne 0x58cded
lea ecx, [esp + 0x20d8]
push ecx
lea edx, [esp + 0x1074]
push str._sbackups_
push edx
call fcn.005d9929
add esp, 0xc
lea eax, [esp + 0x1070]
push eax
call fcn.00426100
add esp, 4
test eax, eax
je 0x58ced0
lea ecx, [esp + 0x1070]
push ecx
lea edx, [esp + 0x20dc]
push str._svista_
push edx
call fcn.005d9929
lea eax, [esp + 0x20e4]
push eax
call fcn.00426100
add esp, 0x10
test eax, eax
je 0x58ced0
lea eax, [esp + 0x3140]
mov dword [esp + 4], 0
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x58ce50
push 1
sub eax, edx
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x20e0]
push edx
push eax
lea eax, [esp + 0x3150]
push eax
call fcn.0058c2c0
add esp, 0x14
lea ecx, [esp + 0x3140]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov eax, dword [esp + 4]
test eax, eax
jne 0x58ced0
mov al, byte [esp + 8]
test al, al
je 0x58cec3
lea edx, [esp + 8]
push edx
push str.finished
push str.state
push str.update
call fcn.004cdea0
lea eax, [esp + 0x18]
push eax
push 0
push 0
push 0
call fcn.004cdea0
add esp, 0x20
mov eax, 1
pop esi
add esp, 0x41a4
ret
mov al, byte [esp + 8]
test al, al
je 0x58cf04
lea ecx, [esp + 8]
push ecx
push str.failed
push str.state
push str.update
call fcn.004cdea0
lea edx, [esp + 0x18]
push edx
push 0
push 0
push 0
call fcn.004cdea0
add esp, 0x20
xor eax, eax
pop esi
add esp, 0x41a4
ret