Function at 0x40c950
Capabilities:
Delete file

Disassembly:
push 0x1c
mov eax, 0x45c0fc
call fcn.0043f241
lea ecx, [ebp - 0x28]
call fcn.0042e4ee
xor ebx, ebx
mov dword [ebp - 4], ebx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.0041845d
mov byte [ebp - 4], 2
lea eax, [ebp - 0x14]
push eax
call fcn.00412642
mov byte [ebp - 4], 3
lea eax, [ebp - 0x18]
push eax
push 0x465758
lea ecx, [ebp - 0x14]
call fcn.00415db0
pop ecx
pop ecx
mov esi, eax
cmp esi, ebx
jge 0x40c9c8
mov byte [ebp - 4], 2
lea eax, [ebp - 0x14]
push eax
call fcn.00417d30
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.0041253c
or dword [ebp - 4], 0xffffffff
call fcn.0042e504
mov eax, esi
jmp 0x40cb86
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 0x14]
mov ecx, dword [ebp + 0x14]
call fcn.0041c140
mov dword [ebp - 0x1c], eax
cmp eax, ebx
jl 0x40cb3b
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x40c9f4
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.004051f9
cmp dword [ebp + 0x10], ebx
jne 0x40ca67
mov byte [ebp - 4], 5
lea eax, [ebp + 0x10]
push eax
call fcn.0040d702
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.00417d30
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.0041253c
or dword [ebp - 4], 0xffffffff
call fcn.0042e504
mov eax, 0x8007000e
jmp 0x40cb86
lea eax, [ebp - 0x18]
push eax
mov edi, dword [ebp + 0x18]
mov ecx, edi
call fcn.00401ad5
push str..msi
mov ecx, edi
call fcn.00408a6c
push 0x30
call fcn.004280fa
pop ecx
mov dword [ebp + 0x18], eax
mov byte [ebp - 4], 8
cmp eax, ebx
je 0x40ca9f
push dword [ebp - 0x18]
push eax
call fcn.00401c91
jmp 0x40caa1
xor eax, eax
mov byte [ebp - 4], 7
mov esi, eax
mov dword [ebp + 0x14], esi
push 0x10
call fcn.004280fa
pop ecx
mov ecx, eax
mov dword [ebp + 0x18], ecx
mov byte [ebp - 4], 9
cmp ecx, ebx
je 0x40cace
mov eax, dword [edi]
push 0x1001
push eax
call fcn.004319fc
jmp 0x40cad0
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 0x40caf9
mov edx, dword [edi]
push eax
push dword [ebp + 0x10]
call dword [edx + 0x38]
jmp 0x40cad9
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.0040d702
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.00417d30
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.0041253c
or dword [ebp - 4], 0xffffffff
call fcn.0042e504
mov eax, dword [ebp - 0x1c]
jmp 0x40cb86
call fcn.0043f2e6
ret 0x14