Function at 0x4011e0
Capabilities:
Delete directory
Delete file

Disassembly:
jmp 0x4011f0
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x48bef2
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.0044bde0
test eax, eax
je 0x4012b9
push 0
lea eax, [esp + 0x44]
push str.CCabFile_::_CleanUpCabinetFiles_n
push eax
call fcn.00471c30
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.0044bd70
mov ecx, eax
call fcn.0044be10
lea eax, [esp + 0x240]
push eax
call fcn.0044bd70
mov ecx, eax
call fcn.0044c180
mov ecx, dword [0x4b538c]
mov dword [esp + 0x10], ecx
push ebp
lea ecx, [esp + 0x18]
mov dword [esp + 0x44c], 0
call fcn.004822f6
push 0x4a911c
lea edx, [esp + 0x20]
mov bl, 1
push eax
push edx
mov byte [esp + 0x454], bl
call fcn.004824d1
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x44c], 2
call fcn.00482375
lea ecx, [esp + 0x1c]
mov byte [esp + 0x448], bl
call fcn.00482288
lea ecx, [esp + 0x14]
mov byte [esp + 0x448], 0
call fcn.00482288
push 0xa
lea ecx, [esp + 0x24]
call fcn.00481a49
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.00482375
lea ecx, [esp + 0x14]
mov byte [esp + 0x448], bl
call fcn.00482288
mov eax, dword [esp + 0x10]
push eax
call edi
mov esi, eax
call fcn.0044bde0
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.00471c30
add esp, 0x10
lea eax, [esp + 0x40]
push eax
call fcn.0044bd70
mov ecx, eax
call fcn.0044c180
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.0044bde0
test eax, eax
je 0x40149d
push 0
lea ecx, [esp + 0x344]
push str.CCabFile_::_CleanUpCabinetFiles_n
push ecx
call fcn.00471c30
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.0044bd70
mov ecx, eax
call fcn.0044c180
call fcn.0044bd70
mov ecx, eax
call fcn.0044be20
lea ecx, [esp + 0x20]
mov byte [esp + 0x448], 0
call fcn.00481abd
lea ecx, [esp + 0x10]
mov dword [esp + 0x448], 0xffffffff
call fcn.00482288
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x434]
pop ebp
mov dword fs:[0], ecx
add esp, 0x43c
ret