Function at 0x1001c190
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10043726
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x10054020]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov edi, edx
mov edx, 7
mov dword [ebp - 0xd0], edi
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0xcc], esi
mov dword [ebp - 0xd8], ecx
mov byte [esi], bl
mov dword [ebp - 0xac], edx
mov dword [ebp - 0xb0], ebx
mov word [ebp - 0xc0], bx
mov dword [ebp - 0x90], edx
mov dword [ebp - 0x94], ebx
mov word [ebp - 0xa4], bx
mov dword [ebp - 0x74], edx
mov dword [ebp - 0x78], ebx
mov word [ebp - 0x88], bx
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x5c], ebx
mov word [ebp - 0x6c], bx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0xc8], esp
mov dword [ebp - 4], ebx
push 0xffffffffffffffff
mov dword [ecx + 0x18], edx
mov dword [ecx + 0x14], ebx
push ebx
mov word [ecx + 4], bx
call fcn.100020a0
lea edx, [ebp - 0xc4]
push edx
call fcn.1001bad0
cmp al, bl
je 0x1001c492
lea eax, [ebp - 0x70]
push eax
push edi
lea ecx, [ebp - 0x34]
call fcn.10024290
add esp, 8
cmp dword [ebp - 0x1c], 8
mov eax, dword [ebp - 0x30]
jae 0x1001c277
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [ebp + 8]
push esi
mov byte [ebp - 4], 2
mov ecx, dword [edi + 0x34]
push edx
mov edx, dword [ebp - 0xd4]
mov dword [ebp - 0xc8], ecx
push edi
lea ecx, [ebp - 0x34]
call fcn.1001c550
cmp al, bl
je 0x1001c3ba
lea eax, [ebp - 0xf4]
push eax
call fcn.10027650
lea ecx, [ebp - 0xf4]
push ecx
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 3
call fcn.10027170
lea esi, [ebp - 0x50]
lea edi, [ebp - 0xf4]
call fcn.10027790
mov eax, dword [ebp - 0xd8]
mov byte [ebp - 4], 4
mov ecx, dword [eax + 0x14]
cmp dword [ebp - 0x3c], ecx
mov edi, 8
jne 0x1001c37f
cmp dword [eax + 0x18], edi
jb 0x1001c2f9
mov eax, dword [eax + 4]
jmp 0x1001c2fc
add eax, 4
cmp dword [ebp - 0x38], edi
mov ecx, dword [ebp - 0x4c]
jae 0x1001c307
lea ecx, [ebp - 0x4c]
call fcn.10022700
cmp al, bl
je 0x1001c37f
mov esi, dword [ebp - 0xd0]
lea edx, [ebp - 0x34]
push edx
add esi, 0x38
call fcn.1001d7a0
cmp dword [ebp - 0x38], edi
jb 0x1001c333
mov eax, dword [ebp - 0x4c]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
lea ecx, [ebp - 0xf4]
mov esi, 7
push ecx
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], ebx
mov word [ebp - 0x4c], bx
mov byte [ebp - 4], 2
call fcn.1001c4d0
cmp dword [ebp - 0x1c], edi
jb 0x1001c363
mov edx, dword [ebp - 0x30]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [ebp - 0x1c], esi
lea esi, [ebp - 0xc4]
mov dword [ebp - 0x20], ebx
mov word [ebp - 0x30], bx
call fcn.1001be80
mov al, 1
jmp 0x1001c49f
cmp dword [ebp - 0x38], edi
jb 0x1001c390
mov eax, dword [ebp - 0x4c]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
lea ecx, [ebp - 0xf4]
push ecx
mov dword [ebp - 0x38], 7
mov dword [ebp - 0x3c], ebx
mov word [ebp - 0x4c], bx
mov byte [ebp - 4], 2
call fcn.1001c4d0
mov edi, dword [ebp - 0xd0]
mov esi, dword [ebp - 0xcc]
mov edx, dword [ebp - 0xc8]
mov dword [edi + 0x34], edx
cmp byte [esi], bl
jne 0x1001c3da
cmp dword [ebp - 0x1c], 8
mov eax, dword [ebp - 0x30]
jae 0x1001c3d3
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [edi + 0x1c]
cmp ecx, ebx
je 0x1001c472
mov edx, dword [ebp - 0xd4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
push ebx
push ebx
push edx
mov edx, dword [ebp + 8]
push edx
call eax
mov ecx, dword [edi + 0x1c]
mov edx, dword [ecx]
mov eax, dword [edi + 0x34]
mov edx, dword [edx + 0x24]
push eax
call edx
mov ecx, dword [edi + 0x1c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x34]
call edx
sub esp, 0x1c
cmp al, bl
mov ecx, edi
mov esi, esp
mov dword [ebp - 0xc8], esp
je 0x1001c438
push 0x1fc
call fcn.1001d760
mov ecx, dword [edi + 0x1c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x30]
call edx
jmp 0x1001c472
push 0x1fe
call fcn.1001d760
mov ecx, dword [edi + 0x1c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x30]
call edx
jmp 0x1001c472
cmp dword [ebp - 0x1c], 8
jb 0x1001c484
mov ecx, dword [ebp - 0x30]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], ebx
mov word [ebp - 0x30], bx
lea esi, [ebp - 0xc4]
call fcn.1001be80
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.1003ec9d
mov esp, ebp
pop ebp
ret 0xc