Function at 0x401b3b
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
mov ebx, ecx
push edi
mov dword [ebp - 0x1c], ebx
call fcn.00402070
test al, al
jne 0x401b65
mov ecx, ebx
call fcn.00402153
test al, al
jne 0x401b65
or eax, 0xffffffff
jmp 0x401e46
mov ecx, ebx
call fcn.004021e2
mov esi, eax
mov dword [ebp - 0x20], esi
lea eax, [esi + 1]
neg eax
sbb eax, eax
and eax, fcn.004018a7
jne 0x401b87
or edi, 0xffffffff
jmp 0x401e38
mov ecx, dword [ebx + 0x20]
sub ecx, 0x10
call fcn.00403232
add eax, 0x10
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x40], eax
xor eax, eax
mov byte [ebp - 0x38], 1
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 0x40246c
mov dword [ebp - 0x24], ebx
mov byte [ebp - 1], al
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x40]
call fcn.0040389d
test al, al
je 0x401e00
cmp byte [ebp - 1], 0
je 0x401bb7
mov ecx, ebx
call fcn.004022f3
test al, al
je 0x401e00
mov ecx, dword [ebx + 8]
or edi, 0xffffffff
or dword [ebx + 0x10], 0xffffffff
cmp dword [ecx - 0xc], 0
je 0x401e03
add ecx, 0xfffffff0
call fcn.00403232
xor ecx, ecx
mov edx, 0x104
inc ecx
lea esi, [eax + 0x10]
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, edx
or ecx, eax
mov dword [ebp - 8], esi
jge 0x401c22
push edx
lea ecx, [ebp - 8]
call fcn.00403285
mov esi, dword [ebp - 8]
push esi
call dword [sym.imp.SHLWAPI.dll_PathQuoteSpacesW]
push 0xffffffffffffffff
lea ecx, [ebp - 8]
call fcn.00402f16
mov ecx, dword [ebx]
call fcn.004019f0
mov edi, eax
mov eax, dword [ebx + 4]
cmp dword [eax - 0xc], 0
jne 0x401d6e
test edi, edi
jne 0x401c66
mov edi, 0x80040750
mov ecx, edi
call fcn.0040268c
lea ecx, [esi - 0x10]
call fcn.00401412
jmp 0x401e03
push edi
lea ecx, [ebp - 0xc]
call fcn.00402e89
call fcn.0040142a
push eax
lea ecx, [ebp - 0x10]
call fcn.00403209
push str.silent
lea eax, [ebp - 0x10]
push 0x43729c
push eax
call fcn.0040345e
mov esi, dword [ebp - 0x10]
lea ecx, [ebp - 0xc]
add esp, 0xc
mov eax, dword [esi - 0xc]
push eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x14]
push eax
call fcn.00402c88
push esi
mov ecx, eax
call fcn.00402e0e
mov ecx, dword [ebp - 0x14]
mov ebx, eax
add ecx, 0xfffffff0
call fcn.00401412
test ebx, ebx
jne 0x401d36
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 0xc]
mov eax, dword [eax - 0xc]
sub eax, dword [ebp - 0x18]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00402c43
mov esi, dword [ebp - 0x18]
mov eax, dword [esi - 0xc]
mov dword [ebp - 0x14], eax
inc eax
push eax
call fcn.004286af
pop ecx
push dword [ebp - 0x14]
mov ebx, eax
push edi
push ebx
call fcn.00429a90
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov byte [ebx + eax], 0
mov eax, edi
mov edi, ebx
test eax, eax
je 0x401d0e
push eax
call fcn.0042843a
pop ecx
push str.install
push str.silent
lea eax, [ebp - 8]
push 0x4372a4
push eax
call fcn.004018a8
add esp, 0x10
lea ecx, [esi - 0x10]
call fcn.00401412
mov esi, dword [ebp - 0x10]
jmp 0x401d56
push str.install
push str.taggedmi
push str.installsource
lea eax, [ebp - 8]
push str.___s__s___s
push eax
call fcn.004018a8
add esp, 0x14
lea ecx, [esi - 0x10]
call fcn.00401412
mov ecx, dword [ebp - 0xc]
add ecx, 0xfffffff0
call fcn.00401412
mov ebx, dword [ebp - 0x1c]
jmp 0x401d8b
push eax
lea eax, [ebp - 8]
push 0x4372d0
push eax
call fcn.004018a8
add esp, 0xc
lea eax, [ebp - 8]
mov ecx, ebx
push eax
call fcn.00401e4b
lea eax, [ebp - 8]
push eax
call fcn.00401f24
test al, al
jne 0x401dd6
test edi, edi
je 0x401dd6
push edi
lea ecx, [ebp - 0x14]
call fcn.00402e89
push dword [ebx + 0xc]
lea eax, [ebp - 0x14]
push str.referral_s
push eax
call fcn.004034b3
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 8]
add esp, 0xc
push esi
push str.___s_
push eax
call fcn.004018a8
add esp, 0xc
lea ecx, [esi - 0x10]
call fcn.00401412
push ecx
push ecx
lea edx, [ebx + 0x10]
lea ecx, [ebp - 8]
call fcn.00403b16
pop ecx
pop ecx
test edi, edi
je 0x401df0
push edi
call fcn.0042843a
pop ecx
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.00401412
mov edi, dword [ebx + 0x10]
jmp 0x401e03
or edi, 0xffffffff
cmp dword [ebp - 0x30], 0
je 0x401e22
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x34]
call fcn.00402abd
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
inc ebx
cmp ebx, dword [ebp - 0x30]
jne 0x401e0b
lea ecx, [ebp - 0x34]
call fcn.00402ae2
mov ecx, dword [ebp - 0x40]
lea ecx, [ecx - 0x10]
call fcn.00401412
mov esi, dword [ebp - 0x20]
cmp esi, 0xffffffff
je 0x401e44
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret