Function at 0x40c8c9
Capabilities:
Delete file

Disassembly:
push 0x20
mov eax, 0x45be6d
call fcn.0043d951
lea ecx, [ebp - 0x2c]
call fcn.0042eabc
xor ebx, ebx
mov dword [ebp - 4], ebx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.0041966f
mov byte [ebp - 4], 2
lea eax, [ebp - 0x18]
push eax
call fcn.004081cc
mov byte [ebp - 4], 3
lea eax, [ebp - 0x1c]
push eax
push 0x464d04
lea ecx, [ebp - 0x18]
call fcn.00416c8f
pop ecx
pop ecx
mov esi, eax
cmp esi, ebx
jge 0x40c941
mov byte [ebp - 4], 2
lea eax, [ebp - 0x18]
push eax
call fcn.00418c35
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.00401b66
or dword [ebp - 4], 0xffffffff
call fcn.0042ead2
mov eax, esi
jmp 0x40caff
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 0x18]
mov ecx, dword [ebp + 0x14]
call fcn.00425960
mov dword [ebp - 0x20], eax
cmp eax, ebx
jl 0x40cab4
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x40c96d
mov dword [ebp - 0x18], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp + 0x14], ebx
mov byte [ebp - 4], 4
mov dword [ebp + 0xc], ebx
mov byte [ebp - 4], 5
mov dword [ebp + 0x10], ebx
mov byte [ebp - 4], 6
mov byte [ebp - 4], 7
push 0x10000
lea eax, [ebp + 0x10]
push eax
call fcn.0040524e
cmp dword [ebp + 0x10], ebx
jne 0x40c9e0
mov byte [ebp - 4], 5
lea eax, [ebp + 0x10]
push eax
call fcn.0040281a
mov byte [ebp - 4], 4
mov dword [ebp + 0xc], ebx
mov byte [ebp - 4], 3
mov dword [ebp + 0x14], ebx
mov byte [ebp - 4], 2
lea eax, [ebp - 0x18]
push eax
call fcn.00418c35
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.00401b66
or dword [ebp - 4], 0xffffffff
call fcn.0042ead2
mov eax, 0x8007000e
jmp 0x40caff
lea eax, [ebp - 0x1c]
push eax
mov edi, dword [ebp + 0x18]
mov ecx, edi
call fcn.00401b01
push str..msi
mov ecx, edi
call fcn.004086e8
push 0x30
call fcn.004286fe
pop ecx
mov dword [ebp + 0x18], eax
mov byte [ebp - 4], 8
cmp eax, ebx
je 0x40ca18
push dword [ebp - 0x1c]
push eax
call fcn.00401cbf
jmp 0x40ca1a
xor eax, eax
mov byte [ebp - 4], 7
mov esi, eax
mov dword [ebp + 0x14], esi
push 0x10
call fcn.004286fe
pop ecx
mov ecx, eax
mov dword [ebp + 0x18], ecx
mov byte [ebp - 4], 9
cmp ecx, ebx
je 0x40ca47
mov eax, dword [edi]
push 0x1001
push eax
call fcn.00431c1a
jmp 0x40ca49
xor eax, eax
mov byte [ebp - 4], 7
mov edi, eax
mov dword [ebp + 0xc], edi
mov eax, dword [esi]
push 0x10000
push dword [ebp + 0x10]
mov ecx, esi
call dword [eax + 0x34]
mov ecx, edi
cmp eax, ebx
je 0x40ca72
mov edx, dword [edi]
push eax
push dword [ebp + 0x10]
call dword [edx + 0x38]
jmp 0x40ca52
mov eax, dword [edi]
call dword [eax + 0x4c]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x4c]
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 5
lea eax, [ebp + 0x10]
push eax
call fcn.0040281a
mov byte [ebp - 4], 4
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax + 4]
mov dword [ebp + 0xc], ebx
mov byte [ebp - 4], 3
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
mov dword [ebp + 0x14], ebx
mov byte [ebp - 4], 2
lea eax, [ebp - 0x18]
push eax
call fcn.00418c35
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.00401b66
or dword [ebp - 4], 0xffffffff
call fcn.0042ead2
mov eax, dword [ebp - 0x20]
jmp 0x40caff
call fcn.0043d9f6
ret 0x14