Function at 0x4167b0
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x43ebfc
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x455d50]
xor eax, esp
mov dword [esp + 0x250], eax
push ebx
push esi
push edi
mov eax, dword [0x455d50]
xor eax, esp
push eax
lea eax, [esp + 0x268]
mov dword fs:[0], eax
mov dword [esp + 0x14], ecx
call fcn.00413719
xor ebx, ebx
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [esp + 0x20]
push eax
call fcn.0040b660
mov dword [esp + 0x270], ebx
lea ecx, [esp + 0x18]
push ecx
call fcn.0040b660
mov byte [esp + 0x270], bl
lea ecx, [esp + 0x18]
call fcn.0041d7d0
push 0x206
lea eax, [esp + 0x5a]
xor edx, edx
push ebx
push eax
mov word [esp + 0x60], dx
call fcn.0042ab60
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
add esp, 0xc
push ebx
push 0x2a
lea ecx, [esp + 0x5c]
push ecx
push ebx
call esi
lea eax, [esp + 0x54]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x416860
sub eax, edx
sar eax, 1
jne 0x41687c
push ebx
push 0x26
lea edx, [esp + 0x5c]
push edx
push ebx
call esi
lea eax, [esp + 0x1c]
push eax
mov ecx, 0x44a7d4
call fcn.0041f290
mov byte [esp + 0x270], 2
push eax
lea ecx, [esp + 0x2c]
push ecx
mov ebx, 0x44a7d0
call fcn.0040dbe0
mov byte [esp + 0x278], 3
push eax
lea edx, [esp + 0x30]
push edx
mov ebx, str.1.9.6.7
call fcn.0040dbe0
mov byte [esp + 0x280], 4
push eax
lea eax, [esp + 0x2c]
push eax
mov ebx, 0x44a7c8
call fcn.0040dbe0
add esp, 0x18
mov byte [esp + 0x270], 5
mov eax, dword [eax]
mov edx, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4168e2
lea edi, [esp + 0x54]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x4168f6
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov byte [esp + 0x270], 4
lea ecx, [esp + 0x18]
call fcn.0041d7d0
mov byte [esp + 0x270], 3
lea ecx, [esp + 0x24]
call fcn.0041d7d0
mov byte [esp + 0x270], 2
lea ecx, [esp + 0x28]
call fcn.0041d7d0
mov byte [esp + 0x270], 0
lea ecx, [esp + 0x1c]
call fcn.0041d7d0
lea eax, [esp + 0x54]
lea ecx, [eax + 2]
lea ecx, [ecx]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x416960
sub eax, ecx
sar eax, 1
lea ecx, [esp + 0x54]
mov ebx, eax
push ecx
mov eax, 0x45a4b0
call fcn.00421e40
mov esi, dword [esp + 0x14]
push str.Advanced_System_Repair_Pro_Setup
mov ecx, esi
call fcn.0041ad69
mov eax, dword [esi + 0x88]
mov edx, dword [esi + 0x20]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
mov ebx, 1
push ebx
push 0x80
push edx
call edi
mov eax, dword [esi + 0x88]
push eax
mov eax, dword [esi + 0x20]
push 0
push 0x80
push eax
call edi
lea edi, [esi + 0x74]
push 0xf
mov ecx, edi
call fcn.00407060
mov edx, dword [esi + 0x78]
lea ecx, [esp + 0x3c]
push ecx
push 0x18
push edx
call dword [sym.imp.GDI32.dll_GetObjectW]
test eax, eax
je 0x4169fc
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
push 6
push eax
push ecx
push 0
push 0
push 0
mov ecx, esi
call fcn.0041c926
test edi, edi
je 0x416a03
mov edi, dword [edi + 4]
push edi
call dword [sym.imp.GDI32.dll_CreatePatternBrush]
push eax
lea ecx, [esi + 0x7c]
call fcn.004080e6
mov edx, dword [esi + 0x9fc]
mov eax, dword [edx + 0x13c]
lea edi, [esi + 0x9fc]
push esi
push 0x8a
mov ecx, edi
call eax
push 5
push 0
push 0
push 0x20
push 0
push 0
mov ecx, edi
call fcn.0041c926
push 0
mov ecx, edi
call fcn.00413161
mov edx, dword [esi + 0x90]
mov eax, dword [edx + 0x13c]
lea edi, [esi + 0x90]
push esi
push 0x84
mov ecx, edi
call eax
push 5
push 0
push 0
push 0x20
push 0
push 0
mov ecx, edi
call fcn.0041c926
push 5
mov ecx, edi
call fcn.00413161
push 5
push 0
push 0
push 7
push 0x352
lea edi, [esi + 0xb70]
push 0
mov ecx, edi
mov byte [esi + 0xb6d], bl
mov byte [esi + 0xbc5], bl
call fcn.0041c926
push 5
push 0
push 0
push 7
push 0x370
push 0
lea ecx, [esi + 0xb18]
call fcn.0041c926
mov edx, dword [edi + 0x20]
lea ecx, [esp + 0x2c]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [edi + 0x20]
lea eax, [esp + 0x2c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.0040b5b1
mov ecx, eax
call fcn.0040d591
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
push 5
add eax, ebx
push 0
mov dword [esp + 0x34], eax
push 0
push edx
push eax
push 0
mov ecx, edi
call fcn.0041c926
lea eax, [esp + 0x14]
push eax
call fcn.00411fb0
add esp, 4
mov byte [esp + 0x270], 6
mov edi, 0x45a4cc
call fcn.00411dc0
mov byte [esp + 0x270], 0
lea ecx, [esp + 0x14]
push ecx
call fcn.004229a0
cmp byte [0x45a376], 0
jne 0x416b52
cmp byte [0x45a377], 0
je 0x416b6a
mov edx, dword [esi + 0x20]
push 0
push ebx
push 0xaa
push edx
mov byte [esi + 0x8c], bl
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [esp + 0x270], 0xffffffff
lea ecx, [esp + 0x20]
call fcn.0041d7d0
mov eax, ebx
mov ecx, dword [esp + 0x268]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x250]
xor ecx, esp
call fcn.00422c3d
mov esp, ebp
pop ebp
ret