Function at 0x55edcc
Capabilities:
Access peb ldr_data
Check if file exists
Delete directory
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe54
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x1ac], edx
mov dword [ebp - 0x1a8], edx
mov dword [ebp - 0x1a4], edx
mov dword [ebp - 0x1a0], edx
mov dword [ebp - 0x19c], edx
mov dword [ebp - 0x198], edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov ebx, eax
lea eax, [ebp - 0xcc]
mov edx, dword [0x419ed4]
call fcn.004082fc
lea eax, [ebp - 0x190]
mov edx, dword [0x419ed4]
call fcn.004082fc
xor eax, eax
push ebp
push 0x55f157
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x55f10a
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebx + 0x38]
call fcn.00407a50
mov edx, eax
lea eax, [ebp - 0x198]
call fcn.00407aa0
mov eax, dword [ebp - 0x198]
call fcn.00407a50
push eax
call sub.kernel32.dll_DeleteFileW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x191], al
cmp byte [ebp - 0x191], 0
jne 0x55eef4
call sub.kernel32.dll_GetLastError
mov esi, eax
mov eax, dword [ebx + 0x38]
call fcn.00407a50
mov edx, eax
lea eax, [ebp - 0x19c]
call fcn.00407aa0
mov eax, dword [ebp - 0x19c]
call fcn.00407a50
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x55eeee
test ah, 4
je 0x55eeee
test al, 0x10
je 0x55eeee
mov eax, dword [ebx + 0x38]
call fcn.00407a50
mov edx, eax
lea eax, [ebp - 0x1a0]
call fcn.00407aa0
mov eax, dword [ebp - 0x1a0]
call fcn.00407a50
push eax
call sub.kernel32.dll_RemoveDirectoryW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x191], al
jmp 0x55eef4
push esi
call sub.kernel32.dll_SetLastError
lea ecx, [ebp - 0x1a4]
mov eax, dword [ebx + 0x38]
xor edx, edx
call fcn.00520a78
mov eax, dword [ebp - 0x1a4]
call fcn.0041f6a0
call fcn.004296b8
push eax
mov ecx, dword [ebx + 0x38]
mov dl, 1
mov eax, dword [0x463d6c]
call fcn.00465524
mov esi, eax
call fcn.00421700
fstp qword [ebx + 8]
wait
cmp byte [ebx + 0x14], 0
je 0x55ef47
lea edx, [ebp - 0xcc]
mov eax, 0x55f174
call fcn.004235ac
jmp 0x55ef6b
lea edx, [ebp - 0x190]
xor eax, eax
call fcn.004235ac
lea eax, [ebp - 0xcc]
lea edx, [ebp - 0x190]
mov ecx, dword [0x419ed4]
call fcn.00408664
push dword [ebx + 0xc]
push dword [ebx + 8]
lea ecx, [ebp - 0x1a8]
lea edx, [ebp - 0xcc]
mov eax, 0x55f18c
call fcn.004224e8
mov edx, dword [ebp - 0x1a8]
lea eax, [ebx + 0x10]
call fcn.00407038
lea eax, [ebp - 4]
mov edx, 0x55f1ac
call fcn.00407080
push 0x55f1c8
mov ecx, 0x55f210
mov edx, dword [ebp - 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
push 1
mov ecx, 0x55f228
mov edx, dword [ebp - 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0x10]
lea edx, [ebp - 0xcc]
mov eax, 0x55f174
call fcn.004235ac
push dword [ebx + 0xc]
push dword [ebx + 8]
lea ecx, [ebp - 0xcc]
lea eax, [ebp - 8]
xor edx, edx
call fcn.00422420
mov eax, dword [ebp - 8]
push eax
mov ecx, 0x55f244
mov edx, dword [ebp - 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
mov eax, dword [ebx + 0x10]
push eax
mov ecx, 0x55f274
mov edx, dword [ebp - 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
mov eax, dword [ebx + 0x18]
push eax
mov ecx, 0x55f2b0
mov edx, dword [ebp - 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
mov eax, dword [ebx + 0x3c]
push eax
mov ecx, 0x55f2c8
mov edx, dword [ebp - 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
mov eax, dword [ebx + 0x1c]
push eax
mov ecx, 0x55f2e8
mov edx, dword [ebp - 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
lea edx, [ebp - 0x1ac]
mov eax, dword [ebx + 0x20]
call fcn.005120e8
mov eax, dword [ebp - 0x1ac]
push eax
mov ecx, 0x55f308
mov edx, dword [ebp - 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
mov eax, dword [ebx + 0x24]
push eax
mov ecx, 0x55f324
mov edx, dword [ebp - 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
mov eax, dword [ebx + 0x2c]
push eax
mov ecx, 0x55f350
mov edx, dword [ebp - 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0x10]
mov eax, dword [ebx + 0x30]
push eax
mov ecx, 0x55f370
mov edx, dword [ebp - 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0x10]
mov eax, dword [ebx + 0x34]
push eax
mov ecx, 0x55f390
mov edx, dword [ebp - 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0x34]
mov cl, 1
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x2c]
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0x40]
mov cl, 1
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x2c]
call fcn.004296b8
mov dword [esi + 0xc], eax
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x60]
mov eax, esi
call fcn.00405180
mov eax, dword [ebx + 4]
mov byte [eax + 0xd4], 0
mov byte [ebx + 0x40], 1
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x55f116
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x55f15e
lea eax, [ebp - 0x1ac]
mov edx, 6
call fcn.00406cb8
lea eax, [ebp - 0x190]
mov edx, dword [0x419ed4]
mov ecx, 2
call fcn.00408424
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406cb8
ret