Function at 0x40c51c
Capabilities:
Delete file

Disassembly:
push 0x24
mov eax, 0x4529be
call fcn.0043b161
lea ecx, [ebp - 0x30]
call fcn.0042aa0e
xor ebx, ebx
mov dword [ebp - 4], ebx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.00401b67
mov byte [ebp - 4], 2
lea eax, [ebp - 0x14]
push eax
call fcn.0040fda8
mov byte [ebp - 4], 3
lea eax, [ebp - 0x18]
push eax
push 0x45bc28
lea ecx, [ebp - 0x14]
call fcn.00412f15
pop ecx
pop ecx
mov esi, eax
cmp esi, ebx
jge 0x40c597
mov byte [ebp - 4], 2
lea eax, [ebp - 0x14]
push eax
call fcn.00414c4c
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.00401b44
or dword [ebp - 4], 0xffffffff
call fcn.0042aa24
mov eax, esi
call fcn.0043b206
ret 0x14
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 0x14]
mov ecx, dword [ebp + 0x14]
call fcn.00418710
mov dword [ebp - 0x1c], eax
cmp eax, ebx
jl 0x40c70a
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x40c5c3
mov dword [ebp - 0x14], 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.0040511c
cmp dword [ebp + 0x10], ebx
jne 0x40c636
mov byte [ebp - 4], 5
lea eax, [ebp + 0x10]
push eax
call fcn.004120e4
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 - 0x14]
push eax
call fcn.00414c4c
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.00401b44
or dword [ebp - 4], 0xffffffff
call fcn.0042aa24
mov eax, 0x8007000e
jmp 0x40c58f
lea eax, [ebp - 0x18]
push eax
mov edi, dword [ebp + 0x18]
mov ecx, edi
call fcn.00401adf
push str..msi
mov ecx, edi
call fcn.00408591
push 0x30
call fcn.0042452a
pop ecx
mov dword [ebp + 0x18], eax
mov byte [ebp - 4], 8
cmp eax, ebx
je 0x40c66e
push dword [ebp - 0x18]
push eax
call fcn.00401cce
jmp 0x40c670
xor eax, eax
mov byte [ebp - 4], 7
mov esi, eax
mov dword [ebp + 0x14], esi
push 0x10
call fcn.0042452a
pop ecx
mov ecx, eax
mov dword [ebp + 0x18], ecx
mov byte [ebp - 4], 9
cmp ecx, ebx
je 0x40c69d
mov eax, dword [edi]
push 0x1001
push eax
call fcn.0042d787
jmp 0x40c69f
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 0x40c6c8
mov edx, dword [edi]
push eax
push dword [ebp + 0x10]
call dword [edx + 0x38]
jmp 0x40c6a8
mov eax, dword [edi]
call dword [eax + 0x4c]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x4c]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 5
lea eax, [ebp + 0x10]
push eax
call fcn.004120e4
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 - 0x14]
push eax
call fcn.00414c4c
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.00401b44
or dword [ebp - 4], 0xffffffff
call fcn.0042aa24
mov eax, dword [ebp - 0x1c]
jmp 0x40c58f