Function at 0x4011e0
Capabilities:
Delete directory
Delete file

Disassembly:
jmp 0x4011f0
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x47fb12
push eax
mov dword fs:[0], esp
sub esp, 0x430
push ebp
mov ebp, ecx
mov eax, dword [ebp + 0x104]
test eax, eax
je 0x4014c5
push ebx
push esi
push edi
call fcn.00441cf0
test eax, eax
je 0x4012b9
push 0
lea eax, [esp + 0x44]
push str.CCabFile_::_CleanUpCabinetFiles_n
push eax
call fcn.00465850
mov edi, str.ENTRY:
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x240]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x240]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x40]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00441c80
mov ecx, eax
call fcn.00441d20
lea eax, [esp + 0x240]
push eax
call fcn.00441c80
mov ecx, eax
call fcn.00442090
mov ecx, dword [0x4a6844]
mov dword [esp + 0x10], ecx
push ebp
lea ecx, [esp + 0x18]
mov dword [esp + 0x44c], 0
call fcn.00475f16
push 0x49b11c
lea edx, [esp + 0x20]
mov bl, 1
push eax
push edx
mov byte [esp + 0x454], bl
call fcn.004760f1
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x44c], 2
call fcn.00475f95
lea ecx, [esp + 0x1c]
mov byte [esp + 0x448], bl
call fcn.00475ea8
lea ecx, [esp + 0x14]
mov byte [esp + 0x448], 0
call fcn.00475ea8
push 0xa
lea ecx, [esp + 0x24]
call fcn.00475669
lea eax, [esp + 0x10]
lea ecx, [esp + 0x20]
push eax
mov byte [esp + 0x44c], 3
call fcn.00401570
mov eax, dword [esp + 0x24]
mov bl, 4
test eax, eax
mov byte [esp + 0x448], bl
mov dword [esp + 0x3c], eax
mov dword [esp + 0x18], eax
je 0x4013dc
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x18]
lea edx, [esp + 0x14]
push ecx
push edx
lea ecx, [esp + 0x28]
call fcn.004014e0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x44c], 5
call fcn.00475f95
lea ecx, [esp + 0x14]
mov byte [esp + 0x448], bl
call fcn.00475ea8
mov eax, dword [esp + 0x10]
push eax
call edi
mov esi, eax
call fcn.00441cf0
test eax, eax
je 0x4013d4
mov ecx, dword [esp + 0x10]
push esi
push ecx
lea edx, [esp + 0x48]
push str.Delete_File_:__s____d_n
push edx
call fcn.00465850
add esp, 0x10
lea eax, [esp + 0x40]
push eax
call fcn.00441c80
mov ecx, eax
call fcn.00442090
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x401364
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
push ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [ecx + ebp - 1], al
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov dword [ebp + 0x104], 0
call fcn.00441cf0
test eax, eax
je 0x40149d
push 0
lea ecx, [esp + 0x344]
push str.CCabFile_::_CleanUpCabinetFiles_n
push ecx
call fcn.00465850
mov edi, str.EXIT:
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x140]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x140]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x340]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x140]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.00441c80
mov ecx, eax
call fcn.00442090
call fcn.00441c80
mov ecx, eax
call fcn.00441d30
lea ecx, [esp + 0x20]
mov byte [esp + 0x448], 0
call fcn.004756dd
lea ecx, [esp + 0x10]
mov dword [esp + 0x448], 0xffffffff
call fcn.00475ea8
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x434]
pop ebp
mov dword fs:[0], ecx
add esp, 0x43c
ret