Function at 0x40d270
Capabilities:
Delete file

Disassembly:
push 0x20
mov eax, 0x45c217
call fcn.0043d5d4
lea ecx, [ebp - 0x2c]
call fcn.0042eab1
xor ebx, ebx
mov dword [ebp - 4], ebx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.00401a99
mov byte [ebp - 4], 2
lea eax, [ebp - 0x18]
push eax
call fcn.00408c0d
mov byte [ebp - 4], 3
lea eax, [ebp - 0x1c]
push eax
push 0x465f80
lea ecx, [ebp - 0x18]
call fcn.00417118
pop ecx
pop ecx
mov esi, eax
cmp esi, ebx
jge 0x40d2e8
mov byte [ebp - 4], 2
lea eax, [ebp - 0x18]
push eax
call fcn.00418f38
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.00401b86
or dword [ebp - 4], 0xffffffff
call fcn.0042eac7
mov eax, esi
jmp 0x40d4a8
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 0x18]
mov ecx, dword [ebp + 0x14]
call fcn.00425650
mov dword [ebp - 0x20], eax
cmp eax, ebx
jl 0x40d45d
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x40d314
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
lea eax, [ebp + 0x10]
push eax
call fcn.004099fe
mov byte [ebp - 4], 6
push 0x10000
lea eax, [ebp + 0x10]
push eax
call fcn.00409a1c
cmp dword [ebp + 0x10], ebx
jne 0x40d389
mov byte [ebp - 4], 5
lea eax, [ebp + 0x10]
push eax
call fcn.0040287d
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.00418f38
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.00401b86
or dword [ebp - 4], 0xffffffff
call fcn.0042eac7
mov eax, 0x8007000e
jmp 0x40d4a8
lea eax, [ebp - 0x1c]
push eax
mov edi, dword [ebp + 0x18]
mov ecx, edi
call fcn.00401b21
push str..msi
mov ecx, edi
call fcn.0040949e
push 0x30
call fcn.004283be
pop ecx
mov dword [ebp + 0x18], eax
mov byte [ebp - 4], 7
cmp eax, ebx
je 0x40d3c1
push dword [ebp - 0x1c]
push eax
call fcn.00401ce1
jmp 0x40d3c3
xor eax, eax
mov byte [ebp - 4], 6
mov esi, eax
mov dword [ebp + 0x14], esi
push 0x10
call fcn.004283be
pop ecx
mov ecx, eax
mov dword [ebp + 0x18], ecx
mov byte [ebp - 4], 8
cmp ecx, ebx
je 0x40d3f0
mov eax, dword [edi]
push 0x1001
push eax
call fcn.004318df
jmp 0x40d3f2
xor eax, eax
mov byte [ebp - 4], 6
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 0x40d41b
mov edx, dword [edi]
push eax
push dword [ebp + 0x10]
call dword [edx + 0x38]
jmp 0x40d3fb
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.0040287d
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.00418f38
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.00401b86
or dword [ebp - 4], 0xffffffff
call fcn.0042eac7
mov eax, dword [ebp - 0x20]
jmp 0x40d4a8
call fcn.0043d679
ret 0x14