Function at 0x401ba4
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
mov eax, dword [0x41f018]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push esi
push edi
mov edi, ecx
call fcn.004020e6
test al, al
jne 0x401bd9
mov ecx, edi
call fcn.00402170
test al, al
jne 0x401bd9
or eax, 0xffffffff
jmp 0x401e4e
mov ecx, edi
call fcn.004021ef
mov esi, eax
lea eax, [esi + 1]
neg eax
sbb eax, eax
and eax, fcn.004016aa
jne 0x401bf8
or edi, 0xffffffff
jmp 0x401e40
mov ecx, dword [edi + 0x1c]
sub ecx, 0x10
mov dword [esp + 0x20], esi
call fcn.00403321
add eax, 0x10
mov byte [esp + 0x28], 1
xor ebx, ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], 0x402580
mov dword [esp + 0x3c], edi
mov byte [esp + 0x10], bl
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x24]
call fcn.00403ac8
test al, al
je 0x401e0c
cmp byte [esp + 0x10], bl
je 0x401c31
mov ecx, edi
call fcn.004022ff
test al, al
je 0x401e0c
mov ecx, dword [edi + 8]
lea eax, [edi + 0xc]
or dword [eax], 0xffffffff
mov dword [esp + 0x18], eax
cmp dword [ecx - 0xc], ebx
je 0x401e08
add ecx, 0xfffffff0
call fcn.00403321
or dword [esp + 0x48], 0xffffffff
add eax, 0x10
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push 0x104
mov ecx, eax
mov dword [esp + 0x44], eax
call fcn.00402cc8
push eax
mov dword [esp + 0x48], eax
call dword [sym.imp.SHLWAPI.dll_PathQuoteSpacesW]
lea ecx, [esp + 0x40]
call fcn.00402ca2
mov ecx, dword [edi]
call fcn.004018da
push eax
lea ecx, [esp + 0x50]
call fcn.00402b1b
mov eax, dword [edi + 4]
cmp dword [eax - 0xc], ebx
jne 0x401d16
cmp dword [esp + 0x5c], ebx
jne 0x401cf3
mov edi, 0x80040750
mov ecx, edi
call fcn.0040279a
push ebx
push 1
lea ecx, [esp + 0x54]
call fcn.00402d46
lea ecx, [esp + 0x14]
call fcn.00403236
jmp 0x401e0f
push str.install
push str.taggedmi
push str.installsource
lea eax, [esp + 0x20]
push str.___s__s___s
push eax
call fcn.00401768
add esp, 0x14
jmp 0x401d35
push eax
lea eax, [esp + 0x18]
push 0x41ca50
push eax
call fcn.00401768
add esp, 0xc
lea eax, [esp + 0x14]
mov ecx, edi
push eax
call fcn.00401e60
mov edi, str.os
push edi
call fcn.00416e40
pop ecx
push eax
push ebx
push edi
lea ecx, [esp + 0x58]
call fcn.00402dba
mov edi, eax
cmp edi, 0xffffffff
je 0x401d94
push 1
lea ecx, [edi + 1]
mov byte [esp + 0x14], 0x26
push ecx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x58]
call fcn.00402dba
cmp eax, 0xffffffff
jne 0x401d76
mov eax, dword [esp + 0x5c]
sub eax, edi
lea ecx, [esp + 0x4c]
push eax
push edi
call fcn.00402a99
lea ecx, [esp + 0x4c]
cmp ecx, eax
je 0x401d94
push 0xffffffffffffffff
push ebx
push eax
call fcn.00402ee6
lea eax, [esp + 0x14]
push eax
call fcn.00401f74
test al, al
jne 0x401dde
cmp dword [esp + 0x5c], ebx
je 0x401dde
cmp dword [esp + 0x60], 0x10
mov eax, dword [esp + 0x4c]
jae 0x401db7
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x20]
call fcn.00402c2d
push dword [eax]
lea eax, [esp + 0x18]
push str.___s_
push eax
call fcn.00401768
add esp, 0xc
lea ecx, [esp + 0x1c]
call fcn.00403236
mov edx, dword [esp + 0x18]
push ecx
push ecx
lea ecx, [esp + 0x1c]
call fcn.00403d46
pop ecx
pop ecx
push ebx
push 1
lea ecx, [esp + 0x54]
call fcn.00402d46
lea ecx, [esp + 0x14]
call fcn.00403236
mov eax, dword [esp + 0x18]
mov edi, dword [eax]
jmp 0x401e0f
or edi, 0xffffffff
cmp dword [esp + 0x30], ebx
je 0x401e2e
push ebx
lea ecx, [esp + 0x30]
call fcn.004029b6
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
inc ebx
cmp ebx, dword [esp + 0x30]
jne 0x401e15
lea ecx, [esp + 0x2c]
call fcn.004029e0
lea ecx, [esp + 0x24]
call fcn.00403236
cmp esi, 0xffffffff
je 0x401e4c
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov ecx, dword [esp + 0x64]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00406238
mov esp, ebp
pop ebp
ret