Function at 0x401ab0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24c
mov eax, dword [0x420018]
xor eax, esp
mov dword [esp + 0x248], eax
push ebx
push esi
push edi
mov edi, ecx
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
xor ebx, ebx
test eax, eax
je 0x401b24
lea ecx, [esp + 0x10]
call fcn.00401769
mov eax, dword [esp + 0x10]
cmp dword [eax - 0xc], ebx
jne 0x401af3
mov byte [esp + 0xf], bl
jmp 0x401b15
lea eax, [esp + 0x10]
mov ecx, edi
push eax
call fcn.00401f0e
test al, al
je 0x401aed
lea eax, [esp + 0x10]
push eax
lea ecx, [edi + 0x20]
call fcn.00402974
mov byte [esp + 0xf], 1
lea ecx, [esp + 0x10]
call fcn.00402dc0
mov al, byte [esp + 0xf]
jmp 0x401b2b
mov ecx, edi
call fcn.00401f88
test al, al
jne 0x401b37
or eax, 0xffffffff
jmp 0x401d64
mov ecx, edi
call fcn.00402005
mov esi, eax
lea eax, [esi + 1]
neg eax
sbb eax, eax
and eax, fcn.00401426
jne 0x401b56
or edi, 0xffffffff
jmp 0x401d56
mov ecx, dword [edi + 0x1c]
sub ecx, 0x10
call fcn.00402e04
add eax, 0x10
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], eax
mov byte [esp + 0x24], 1
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], 0x402345
mov dword [esp + 0x38], edi
mov byte [esp + 0xf], bl
lea eax, [esp + 0xf]
push eax
lea ecx, [esp + 0x20]
call fcn.00403359
test al, al
je 0x401d22
cmp byte [esp + 0xf], bl
je 0x401b8d
mov ecx, edi
call fcn.004020c7
test al, al
je 0x401d22
mov ecx, dword [edi + 8]
or dword [edi + 0xc], 0xffffffff
cmp dword [ecx - 0xc], ebx
je 0x401d1d
add ecx, 0xfffffff0
call fcn.00402e04
or dword [esp + 0x44], 0xffffffff
add eax, 0x10
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push 0x104
mov ecx, eax
mov dword [esp + 0x40], eax
call fcn.00402a5f
push eax
mov dword [esp + 0x44], eax
call dword [sym.imp.SHLWAPI.dll_PathQuoteSpacesW]
lea ecx, [esp + 0x3c]
call fcn.00402a39
push 0x208
lea eax, [esp + 0x4c]
push ebx
push eax
call fcn.00405ec0
add esp, 0xc
lea eax, [esp + 0x48]
push 0x104
push eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x401c45
cmp eax, 0x104
jae 0x401c45
lea ecx, [esp + 0x48]
call fcn.004019e6
mov ecx, eax
mov dword [esp + 0x14], ecx
jmp 0x401c4b
mov ecx, ebx
mov dword [esp + 0x14], ebx
mov eax, dword [edi + 4]
cmp dword [eax - 0xc], ebx
jne 0x401c94
test ecx, ecx
jne 0x401c71
mov edi, 0x80040750
mov ecx, edi
call fcn.00402565
lea ecx, [esp + 0x10]
call fcn.00402dc0
jmp 0x401d25
push str.install
push str.taggedmi
push str.installsource
lea eax, [esp + 0x1c]
push str.___s__s___s
push eax
call fcn.004018d2
add esp, 0x14
jmp 0x401cb3
push eax
lea eax, [esp + 0x14]
push 0x41e8e4
push eax
call fcn.004018d2
add esp, 0xc
lea eax, [esp + 0x10]
mov ecx, edi
push eax
call fcn.00401d79
lea eax, [esp + 0x10]
push eax
call fcn.00401e54
test al, al
jne 0x401cf0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x401cf0
push eax
lea ecx, [esp + 0x1c]
call fcn.004029d5
push dword [eax]
lea eax, [esp + 0x14]
push str.___s_
push eax
call fcn.004018d2
add esp, 0xc
lea ecx, [esp + 0x18]
call fcn.00402dc0
push ecx
push ecx
lea edx, [edi + 0xc]
lea ecx, [esp + 0x18]
call fcn.004035d6
mov eax, dword [esp + 0x1c]
pop ecx
pop ecx
test eax, eax
je 0x401d0f
push eax
call fcn.0041713a
pop ecx
lea ecx, [esp + 0x10]
call fcn.00402dc0
mov edi, dword [edi + 0xc]
jmp 0x401d25
or edi, 0xffffffff
jmp 0x401d25
or edi, 0xffffffff
cmp dword [esp + 0x2c], ebx
je 0x401d44
push ebx
lea ecx, [esp + 0x2c]
call fcn.004026d7
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
inc ebx
cmp ebx, dword [esp + 0x2c]
jne 0x401d2b
lea ecx, [esp + 0x28]
call fcn.004026fc
lea ecx, [esp + 0x1c]
call fcn.00402dc0
cmp esi, 0xffffffff
je 0x401d62
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov ecx, dword [esp + 0x254]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00405b5e
mov esp, ebp
pop ebp
ret