Function at 0x54f758
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd48
push edi
mov eax, 0x603300
call fcn.005d0a3c
mov dword [ebp - 0x298], 1
lea edx, [ebp + 8]
lea eax, [ebp + 8]
call fcn.005de500
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.004058d8
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.0046f388
lea edx, [ebp - 0x274]
lea eax, [ebp + 8]
call fcn.005de678
dec dword [ebp - 0x298]
lea eax, [ebp - 0x274]
mov edx, 2
call fcn.005de650
mov word [ebp - 0x2a4], 0x30
mov edx, 0x602f1b
lea eax, [ebp - 0x278]
call fcn.005de4c0
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.005de6a0
lea eax, [ebp - 0x27c]
mov eax, dword [eax]
lea ecx, [ebp - 0x270]
mov edx, 0x10
call fcn.00469220
test eax, eax
sete al
and eax, 1
push eax
dec dword [ebp - 0x298]
lea eax, [ebp - 0x27c]
mov edx, 2
call fcn.005de650
dec dword [ebp - 0x298]
lea eax, [ebp - 0x278]
mov edx, 2
call fcn.005de650
pop ecx
test cl, cl
je 0x54fa3a
test byte [ebp - 0x260], 0x10
je 0x54fa1c
mov word [ebp - 0x2a4], 0x3c
mov edx, 0x602f1f
lea eax, [ebp - 0x280]
call fcn.005de4c0
inc dword [ebp - 0x298]
lea edx, [ebp - 0x280]
lea eax, [ebp - 0x25c]
call fcn.005de730
push eax
dec dword [ebp - 0x298]
lea eax, [ebp - 0x280]
mov edx, 2
call fcn.005de650
pop ecx
test cl, cl
je 0x54fa1c
mov word [ebp - 0x2a4], 0x48
mov edx, 0x602f21
lea eax, [ebp - 0x284]
call fcn.005de4c0
inc dword [ebp - 0x298]
lea edx, [ebp - 0x284]
lea eax, [ebp - 0x25c]
call fcn.005de730
push eax
dec dword [ebp - 0x298]
lea eax, [ebp - 0x284]
mov edx, 2
call fcn.005de650
pop ecx
test cl, cl
je 0x54fa1c
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.005de6a0
lea edx, [ebp - 0x288]
push edx
mov edx, 0x602f24
lea eax, [ebp - 0x28c]
call fcn.005de4c0
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.005de6a0
lea edx, [ebp - 0x290]
push dword [edx]
call fcn.0054f758
pop ecx
dec dword [ebp - 0x298]
lea eax, [ebp - 0x290]
mov edx, 2
call fcn.005de650
dec dword [ebp - 0x298]
lea eax, [ebp - 0x28c]
mov edx, 2
call fcn.005de650
dec dword [ebp - 0x298]
lea eax, [ebp - 0x288]
mov edx, 2
call fcn.005de650
lea eax, [ebp - 0x270]
call fcn.00469270
test eax, eax
je 0x54f8b7
lea eax, [ebp - 0x270]
call fcn.00469294
cmp dword [ebp + 8], 0
je 0x54fa45
mov edx, dword [ebp + 8]
jmp 0x54fa4a
mov edx, 0x602f26
push edx
call sub.KERNEL32.DLL_RemoveDirectoryW
dec dword [ebp - 0x298]
dec dword [ebp - 0x298]
lea eax, [ebp - 0x25c]
mov edx, 2
call fcn.005de650
dec dword [ebp - 0x298]
lea eax, [ebp + 8]
mov edx, 2
call fcn.005de650
mov eax, dword [ebp - 0x2b4]
mov dword fs:[0], eax
pop edi
mov esp, ebp
pop ebp
ret