Function at 0x4ebad0
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f3bc1
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
mov eax, dword [0x54f018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0xec], esp
xor ebx, ebx
push 0xffffffffffffffff
push ebx
mov edi, 0xf
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x10], ebx
push esi
mov byte [ecx], bl
call fcn.00401460
call fcn.004eb110
add esp, 0x1c
cmp eax, ebx
jne 0x4ebb37
xor eax, eax
jmp 0x4ebd57
lea ecx, [ebp - 0xcc]
call fcn.004eeaf0
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
push str..
lea eax, [ebp - 0x48]
push esi
push eax
mov byte [ebp - 4], 1
call fcn.00401bd0
add esp, 0xc
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.004013e0
mov edi, 0x10
mov byte [ebp - 4], 1
cmp dword [ebp - 0x34], edi
jb 0x4ebb8b
mov ecx, dword [ebp - 0x48]
push ecx
call sub.mfc100.dll_Ordinal_1296
add esp, 4
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], edi
jae 0x4ebb96
lea eax, [ebp - 0x2c]
push ebx
push eax
lea ecx, [ebp - 0xcc]
call fcn.004eec30
cmp eax, ebx
je 0x4ebd0a
jmp 0x4ebbb0
lea ecx, [ebp - 0xcc]
call fcn.004ee9a0
lea ecx, [ebp - 0xcc]
mov dword [ebp - 0xec], eax
call fcn.004eeab0
test eax, eax
jne 0x4ebcfe
lea edx, [ebp - 0x80]
push edx
lea ecx, [ebp - 0xcc]
call fcn.004eef00
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 3
call fcn.004eea90
push 0x51d0e8
push esi
test eax, eax
je 0x4ebc70
lea eax, [ebp - 0xe8]
push eax
call fcn.00401bd0
lea ecx, [ebp - 0x80]
push ecx
push eax
lea edx, [ebp - 0x9c]
push edx
mov byte [ebp - 4], 4
call fcn.00401cb0
push eax
mov byte [ebp - 4], 5
call fcn.004ebad0
add esp, 0x1c
cmp dword [ebp - 0x88], edi
jb 0x4ebc41
mov eax, dword [ebp - 0x9c]
push eax
call sub.mfc100.dll_Ordinal_1296
add esp, 4
mov dword [ebp - 0x88], 0xf
mov dword [ebp - 0x8c], ebx
mov byte [ebp - 0x9c], bl
cmp dword [ebp - 0xd4], edi
jb 0x4ebcdc
mov ecx, dword [ebp - 0xe8]
push ecx
call sub.mfc100.dll_Ordinal_1296
add esp, 4
jmp 0x4ebcdc
lea edx, [ebp - 0x48]
push edx
call fcn.00401bd0
lea ecx, [ebp - 0x80]
push ecx
push eax
lea edx, [ebp - 0x64]
push edx
mov byte [ebp - 4], 6
call fcn.00401cb0
add esp, 0x18
cmp dword [ebp - 0x34], edi
jb 0x4ebc9f
mov eax, dword [ebp - 0x48]
push eax
call sub.mfc100.dll_Ordinal_1296
add esp, 4
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
cmp dword [ebp - 0x50], edi
jae 0x4ebcb7
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [ebp - 0x50], edi
jb 0x4ebccf
mov ecx, dword [ebp - 0x64]
push ecx
call sub.mfc100.dll_Ordinal_1296
add esp, 4
mov dword [ebp - 0x50], 0xf
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
mov byte [ebp - 4], 1
cmp dword [ebp - 0x6c], edi
jb 0x4ebcf1
mov edx, dword [ebp - 0x80]
push edx
call sub.mfc100.dll_Ordinal_1296
add esp, 4
mov dword [ebp - 0x6c], 0xf
mov dword [ebp - 0x70], ebx
mov byte [ebp - 0x80], bl
cmp dword [ebp - 0xec], ebx
jne 0x4ebbb0
lea ecx, [ebp - 0xcc]
call fcn.004ee940
cmp dword [esi + 0x14], edi
jb 0x4ebd1c
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov esi, eax
cmp dword [ebp - 0x18], edi
jb 0x4ebd36
mov eax, dword [ebp - 0x2c]
push eax
call sub.mfc100.dll_Ordinal_1296
add esp, 4
lea ecx, [ebp - 0xcc]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
mov dword [ebp - 4], 0xffffffff
call fcn.004eeb20
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e8d32
mov esp, ebp
pop ebp
ret