Function at 0x42ef44
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x42f1cc
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.ole32.dll_CoInitialize
mov eax, dword [0x449c5c]
cmp byte [eax], 0
je 0x42ef86
call fcn.0043d8e4
lea eax, [ebp - 8]
push eax
mov eax, dword [0x449c40]
mov eax, dword [eax]
mov ecx, 0x42f1e4
mov edx, 0x42f1f0
call fcn.004258ac
lea eax, [ebp - 0xc]
push eax
mov eax, 0x42f200
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0xb
lea edx, [ebp - 0x28]
mov ecx, 1
mov eax, 0x42f240
call fcn.004079a8
mov eax, dword [ebp - 0xc]
call fcn.00414058
test al, al
jne 0x42f004
lea eax, [ebp - 0xc]
push eax
mov eax, 0x42f200
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0xb
lea edx, [ebp - 0x28]
mov ecx, 1
mov eax, 0x42f254
call fcn.004079a8
lea eax, [ebp - 0x10]
push eax
xor ecx, ecx
mov edx, 0x42f268
mov eax, dword [ebp - 0xc]
call fcn.004136c8
mov dl, 1
mov eax, dword [0x40c650]
call fcn.00402c34
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x42f19d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x1c]
call fcn.0042fe00
mov byte [ebp - 1], al
mov eax, dword [0x449c00]
cmp byte [eax], 0
je 0x42f053
call fcn.00403170
jmp 0x42f1a4
cmp byte [ebp - 1], 0
je 0x42f156
mov eax, dword [0x449b3c]
cmp byte [eax], 0
jne 0x42f156
mov eax, dword [ebx + 0x18]
call fcn.00431adc
mov byte [ebp - 1], al
cmp byte [ebp - 1], 0
jne 0x42f086
call fcn.00403170
jmp 0x42f1a4
mov eax, dword [0x449b3c]
cmp byte [eax], 0
je 0x42f09a
call fcn.00403170
jmp 0x42f1a4
mov eax, ebx
call fcn.0042ecc8
mov eax, dword [0x449ba8]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x18]
mov edx, 0x42f280
call fcn.00412e8c
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x7c]
lea eax, [ebp - 0x30]
push eax
xor ecx, ecx
mov edx, 0x42f294
mov eax, dword [ebp - 0xc]
call fcn.004136c8
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
call fcn.00417a5c
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 0x14]
mov ecx, 0x42f2ac
call fcn.00403880
mov dl, 1
mov eax, dword [ebp - 0xc]
call fcn.0041413c
mov eax, dword [0x449ba8]
mov eax, dword [eax]
call fcn.00412af8
mov eax, dword [0x449ba8]
mov eax, dword [eax]
call fcn.00417f08
mov eax, dword [ebp - 0x10]
call fcn.00417f08
mov eax, dword [ebp - 0x14]
call fcn.0042ee1c
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
cmp ebx, 0
jl 0x42f14e
lea ecx, [ebp - 0x2c]
mov edx, ebx
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x2c]
call fcn.004039f8
push eax
call sub.KERNEL32.DLL_RemoveDirectoryA
dec ebx
cmp ebx, 0xffffffff
jne 0x42f12d
mov eax, dword [0x449b3c]
mov byte [eax], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42f1a4
mov eax, dword [ebp - 0x18]
call fcn.00402c5c
mov eax, dword [0x449b3c]
cmp byte [eax], 0
je 0x42f179
mov byte [ebp - 1], 0
mov eax, dword [0x449be0]
mov edx, dword [0x449bb0]
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
xor edx, edx
xor eax, eax
call fcn.0043d7d4
call sub.ole32.dll_CoUninitialize
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42f1d3
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.004035dc
lea eax, [ebp - 0x14]
mov edx, 4
call fcn.004035dc
ret