Function at 0x100127a0
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004388b
mov eax, dword fs:[0]
push eax
sub esp, 0x494
mov eax, dword [0x1005a690]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
sub esp, 8
lea ecx, [ebp - 0x464]
mov dword [ebp - 0x464], 0
mov dword [ebp - 0x45c], 0
mov dword [ebp - 0x458], 0
mov dword [ebp - 0x454], 0
call fcn.10013350
lea eax, [ebp - 0x464]
push eax
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.10012e60
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x220], ax
lea eax, [ebp - 0x21e]
push eax
call sub.MSVCR110.dll_memset
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x428], ax
lea eax, [ebp - 0x426]
push eax
call sub.MSVCR110.dll_memset
add esp, 0x18
lea eax, [ebp - 0x428]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x1001289b
push str.isafe_
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push str.delayadw.xml
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp dword [ebp - 0x460], 0
jne 0x100128fd
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x45c]
mov esi, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
test eax, eax
je 0x100128e5
push eax
call esi
add esp, 4
mov dword [ebp - 0x45c], 0
mov dword [ebp - 0x458], 0
mov dword [ebp - 0x454], 0
lea ecx, [ebp - 0x464]
call fcn.10013600
push dword [ebp - 0x464]
call esi
jmp 0x10012dfb
mov dword [ebp - 0x42c], 0
lea eax, [ebp - 0x42c]
push eax
push 0x10049f48
push 0x17
push 0
push 0x10049f58
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x10012d9e
mov dword [ebp - 0x444], 0
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x42c]
push str.version_1.0__encoding_UTF_8_
lea ecx, [ebp - 0x434]
call fcn.10011f60
mov edi, eax
push 0x10049f04
lea ecx, [ebp - 0x440]
mov byte [ebp - 4], 4
call fcn.10011f60
mov byte [ebp - 4], 5
mov ecx, dword [edi]
test ecx, ecx
je 0x10012972
mov edx, dword [ecx]
jmp 0x10012974
xor edx, edx
mov eax, dword [eax]
test eax, eax
je 0x1001297e
mov ecx, dword [eax]
jmp 0x10012980
xor ecx, ecx
mov eax, dword [esi]
lea edi, [ebp - 0x444]
push edi
push edx
push ecx
push esi
call dword [eax + 0xd0]
lea ecx, [ebp - 0x440]
call fcn.10012010
lea ecx, [ebp - 0x434]
mov byte [ebp - 4], 3
call fcn.10012010
mov ecx, dword [ebp - 0x444]
test ecx, ecx
je 0x10012d90
mov eax, dword [ebp - 0x42c]
push 0
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x54]
mov dword [ebp - 0x43c], 0
mov byte [ebp - 4], 6
mov edi, dword [ebp - 0x42c]
push str.DelayAdware
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
mov dword [ebp - 0x498], esi
test esi, esi
jne 0x100129fe
mov ecx, 0x8007000e
call fcn.10011f20
lea ecx, [ebp - 0x43c]
push ecx
mov byte [ebp - 4], 7
mov eax, dword [edi]
push esi
push edi
call dword [eax + 0xbc]
push esi
mov byte [ebp - 4], 6
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ecx, dword [ebp - 0x43c]
test ecx, ecx
je 0x10012d7c
mov eax, dword [ebp - 0x42c]
push 0
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x54]
mov eax, dword [ebp - 0x464]
mov dword [ebp - 0x498], eax
mov ebx, dword [eax]
lea esp, [esp]
cmp ebx, eax
je 0x10012cd6
mov eax, dword [ebx + 8]
mov dword [ebp - 0x480], eax
xor eax, eax
push 0xffffffffffffffff
push eax
mov word [ebp - 0x47c], ax
lea eax, [ebx + 0xc]
push eax
lea ecx, [ebp - 0x47c]
mov dword [ebp - 0x468], 7
mov dword [ebp - 0x46c], 0
call fcn.1000a9a0
mov dword [ebp - 0x430], 0
mov byte [ebp - 4], 9
mov edi, dword [ebp - 0x42c]
push str.adware
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
mov dword [ebp - 0x494], esi
test esi, esi
jne 0x10012ac5
mov ecx, 0x8007000e
call fcn.10011f20
lea ecx, [ebp - 0x430]
push ecx
mov byte [ebp - 4], 0xa
mov eax, dword [edi]
push esi
push edi
call dword [eax + 0xbc]
push esi
mov byte [ebp - 4], 9
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov esi, dword [ebp - 0x430]
test esi, esi
je 0x10012c9f
cmp dword [ebp - 0x468], 8
jb 0x10012b93
mov eax, dword [ebp - 0x47c]
test eax, eax
jne 0x10012b99
xor edi, edi
mov dword [ebp - 0x494], edi
mov byte [ebp - 4], 0xb
mov eax, dword [esi]
push edi
push esi
call dword [eax + 0x6c]
push edi
mov byte [ebp - 4], 9
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x43c]
push 0
push dword [ebp - 0x430]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x54]
mov dword [ebp - 0x434], 0
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x430]
lea edx, [ebp - 0x434]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x44]
mov dword [ebp - 0x438], 0
mov byte [ebp - 4], 0xd
mov esi, dword [ebp - 0x42c]
push 0x10049ebc
lea ecx, [ebp - 0x49c]
call fcn.10011f60
mov byte [ebp - 4], 0xe
mov eax, dword [eax]
test eax, eax
je 0x10012bba
mov ecx, dword [eax]
jmp 0x10012bbc
lea eax, [ebp - 0x47c]
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov edi, eax
mov dword [ebp - 0x494], edi
test edi, edi
jne 0x10012b16
mov ecx, 0x8007000e
call fcn.10011f20
xor ecx, ecx
mov eax, dword [esi]
lea edx, [ebp - 0x438]
push edx
push ecx
push esi
call dword [eax + 0xd4]
lea ecx, [ebp - 0x49c]
call fcn.10012010
mov eax, dword [ebp - 0x438]
test eax, eax
je 0x10012c77
mov ecx, 0x17
mov word [ebp - 0x490], cx
mov ecx, dword [ebp - 0x480]
mov dword [ebp - 0x488], ecx
mov byte [ebp - 4], 0xf
movq xmm0, qword [ebp - 0x490]
mov edx, dword [eax]
sub esp, 0x10
mov ecx, esp
push eax
movq qword [ecx], xmm0
movq xmm0, qword [ebp - 0x488]
movq qword [ecx + 8], xmm0
call dword [edx + 0xb4]
lea eax, [ebp - 0x490]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov dword [ebp - 0x440], 0
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x434]
lea edx, [ebp - 0x440]
mov ecx, dword [eax]
push edx
push dword [ebp - 0x438]
push eax
call dword [ecx + 0x20]
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x440]
test eax, eax
je 0x10012c71
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x438]
mov byte [ebp - 4], 0xc
test eax, eax
je 0x10012c85
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x434]
test eax, eax
je 0x10012c99
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [ebp - 0x430]
mov byte [ebp - 4], 8
test esi, esi
je 0x10012cad
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov byte [ebp - 4], 6
cmp dword [ebp - 0x468], 8
jb 0x10012cc9
push dword [ebp - 0x47c]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ebx, dword [ebx]
mov eax, dword [ebp - 0x498]
jmp 0x10012a50
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
xor eax, eax
mov word [ebp - 0x490], ax
lea eax, [ebp - 0x490]
push eax
call esi
test eax, eax
jns 0x10012cf9
mov ecx, eax
call fcn.10011f20
mov eax, 8
mov word [ebp - 0x490], ax
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x488], eax
test eax, eax
jne 0x10012d3c
mov eax, 0xa
mov ecx, 0x8007000e
mov word [ebp - 0x490], ax
mov dword [ebp - 0x488], 0x8007000e
call fcn.10011f20
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0x42c]
movq xmm0, qword [ebp - 0x490]
mov edx, dword [eax]
sub esp, 0x10
mov ecx, esp
push eax
movq qword [ecx], xmm0
movq xmm0, qword [ebp - 0x488]
movq qword [ecx + 8], xmm0
call dword [edx + 0x108]
lea eax, [ebp - 0x490]
push eax
call esi
mov ecx, dword [ebp - 0x43c]
mov byte [ebp - 4], 3
test ecx, ecx
je 0x10012d8a
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x444]
mov byte [ebp - 4], 2
test ecx, ecx
je 0x10012d9e
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x42c]
test eax, eax
je 0x10012db2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x45c]
test eax, eax
je 0x10012de4
push eax
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x45c], 0
mov dword [ebp - 0x458], 0
mov dword [ebp - 0x454], 0
lea ecx, [ebp - 0x464]
call fcn.10013600
push dword [ebp - 0x464]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1003e328
mov esp, ebp
pop ebp
ret