Function at 0x570fac
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd48
push edi
mov eax, 0x72b9d0
call fcn.00654e18
mov dword [ebp - 0x298], 1
lea edx, [ebp + 8]
lea eax, [ebp + 8]
call fcn.00662930
inc dword [ebp - 0x298]
mov word [ebp - 0x2a4], 0xc
mov word [ebp - 0x2a4], 0x18
lea edi, [ebp - 0x270]
xor eax, eax
mov ecx, 0x270
rep stosb byte es:[edi], al
lea eax, [ebp - 0x270]
mov dword [ebp - 0x2b8], eax
mov eax, dword [ebp - 0x2b8]
add eax, 0x14
call fcn.00424610
inc dword [ebp - 0x298]
inc dword [ebp - 0x298]
mov word [ebp - 0x2a4], 0xc
mov word [ebp - 0x2a4], 0x24
xor edx, edx
mov dword [ebp - 0x274], edx
lea edx, [ebp - 0x274]
inc dword [ebp - 0x298]
mov eax, dword [ebp + 8]
call fcn.004910e0
lea edx, [ebp - 0x274]
lea eax, [ebp + 8]
call fcn.00662aa8
dec dword [ebp - 0x298]
lea eax, [ebp - 0x274]
mov edx, 2
call fcn.00662a80
mov word [ebp - 0x2a4], 0x30
mov edx, 0x72b5eb
lea eax, [ebp - 0x278]
call fcn.006628f0
inc dword [ebp - 0x298]
lea edx, [ebp - 0x278]
xor eax, eax
mov dword [ebp - 0x27c], eax
lea ecx, [ebp - 0x27c]
inc dword [ebp - 0x298]
lea eax, [ebp + 8]
call fcn.00662ad0
lea eax, [ebp - 0x27c]
mov eax, dword [eax]
lea ecx, [ebp - 0x270]
mov edx, 0x10
call fcn.0048aec4
test eax, eax
sete al
and eax, 1
push eax
dec dword [ebp - 0x298]
lea eax, [ebp - 0x27c]
mov edx, 2
call fcn.00662a80
dec dword [ebp - 0x298]
lea eax, [ebp - 0x278]
mov edx, 2
call fcn.00662a80
pop ecx
test cl, cl
je 0x57128e
test byte [ebp - 0x260], 0x10
je 0x571270
mov word [ebp - 0x2a4], 0x3c
mov edx, 0x72b5ef
lea eax, [ebp - 0x280]
call fcn.006628f0
inc dword [ebp - 0x298]
lea edx, [ebp - 0x280]
lea eax, [ebp - 0x25c]
call fcn.00662b60
push eax
dec dword [ebp - 0x298]
lea eax, [ebp - 0x280]
mov edx, 2
call fcn.00662a80
pop ecx
test cl, cl
je 0x571270
mov word [ebp - 0x2a4], 0x48
mov edx, 0x72b5f1
lea eax, [ebp - 0x284]
call fcn.006628f0
inc dword [ebp - 0x298]
lea edx, [ebp - 0x284]
lea eax, [ebp - 0x25c]
call fcn.00662b60
push eax
dec dword [ebp - 0x298]
lea eax, [ebp - 0x284]
mov edx, 2
call fcn.00662a80
pop ecx
test cl, cl
je 0x571270
mov word [ebp - 0x2a4], 0x54
xor eax, eax
mov dword [ebp - 0x288], eax
lea ecx, [ebp - 0x288]
inc dword [ebp - 0x298]
lea edx, [ebp - 0x25c]
lea eax, [ebp + 8]
call fcn.00662ad0
lea edx, [ebp - 0x288]
push edx
mov edx, 0x72b5f4
lea eax, [ebp - 0x28c]
call fcn.006628f0
inc dword [ebp - 0x298]
lea edx, [ebp - 0x28c]
xor eax, eax
mov dword [ebp - 0x290], eax
lea ecx, [ebp - 0x290]
inc dword [ebp - 0x298]
pop eax
call fcn.00662ad0
lea edx, [ebp - 0x290]
push dword [edx]
call fcn.00570fac
pop ecx
dec dword [ebp - 0x298]
lea eax, [ebp - 0x290]
mov edx, 2
call fcn.00662a80
dec dword [ebp - 0x298]
lea eax, [ebp - 0x28c]
mov edx, 2
call fcn.00662a80
dec dword [ebp - 0x298]
lea eax, [ebp - 0x288]
mov edx, 2
call fcn.00662a80
lea eax, [ebp - 0x270]
call fcn.0048af14
test eax, eax
je 0x57110b
lea eax, [ebp - 0x270]
call fcn.0048af38
cmp dword [ebp + 8], 0
je 0x571299
mov edx, dword [ebp + 8]
jmp 0x57129e
mov edx, 0x72b5f6
push edx
call sub.KERNEL32.DLL_RemoveDirectoryW
dec dword [ebp - 0x298]
dec dword [ebp - 0x298]
lea eax, [ebp - 0x25c]
mov edx, 2
call fcn.00662a80
dec dword [ebp - 0x298]
lea eax, [ebp + 8]
mov edx, 2
call fcn.00662a80
mov eax, dword [ebp - 0x2b4]
mov dword fs:[0], eax
pop edi
mov esp, ebp
pop ebp
ret