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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x43edac
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.0041fbf8
xor ebx, ebx
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [esp + 0x20]
push eax
call fcn.0040a5f0
mov dword [esp + 0x270], ebx
lea ecx, [esp + 0x18]
push ecx
call fcn.0040a5f0
mov byte [esp + 0x270], bl
lea ecx, [esp + 0x18]
call fcn.0040c460
push 0x206
lea eax, [esp + 0x5a]
xor edx, edx
push ebx
push eax
mov word [esp + 0x60], dx
call fcn.0042ace0
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 0x41e270
sub eax, edx
sar eax, 1
jne 0x41e28c
push ebx
push 0x26
lea edx, [esp + 0x5c]
push edx
push ebx
call esi
lea eax, [esp + 0x1c]
push eax
mov ecx, 0x44a7bc
call fcn.00414080
mov byte [esp + 0x270], 2
push eax
lea ecx, [esp + 0x2c]
push ecx
mov ebx, 0x44a7b8
call fcn.00403740
mov byte [esp + 0x278], 3
push eax
lea edx, [esp + 0x30]
push edx
mov ebx, 0x449a68
call fcn.00403740
mov byte [esp + 0x280], 4
push eax
lea eax, [esp + 0x2c]
push eax
mov ebx, 0x44a7b0
call fcn.00403740
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 0x41e2f2
lea edi, [esp + 0x54]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x41e306
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.0040c460
mov byte [esp + 0x270], 3
lea ecx, [esp + 0x24]
call fcn.0040c460
mov byte [esp + 0x270], 2
lea ecx, [esp + 0x28]
call fcn.0040c460
mov byte [esp + 0x270], 0
lea ecx, [esp + 0x1c]
call fcn.0040c460
lea eax, [esp + 0x54]
lea ecx, [eax + 2]
lea ecx, [ecx]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x41e370
sub eax, ecx
sar eax, 1
lea ecx, [esp + 0x54]
mov ebx, eax
push ecx
mov eax, 0x45a4b0
call fcn.00411220
mov esi, dword [esp + 0x14]
push str.Advanced_System_Repair_Pro_Setup
mov ecx, esi
call fcn.00418314
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.004185f0
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 0x41e40c
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.00408a7a
test edi, edi
je 0x41e413
mov edi, dword [edi + 4]
push edi
call dword [sym.imp.GDI32.dll_CreatePatternBrush]
push eax
lea ecx, [esi + 0x7c]
call fcn.0041b4d1
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.00408a7a
push 0
mov ecx, edi
call fcn.00418712
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.00408a7a
push 5
mov ecx, edi
call fcn.00418712
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.00408a7a
push 5
push 0
push 0
push 7
push 0x370
push 0
lea ecx, [esi + 0xb18]
call fcn.00408a7a
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.00418f20
mov ecx, eax
call fcn.00409cf1
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.00408a7a
lea eax, [esp + 0x14]
push eax
call fcn.004030b0
add esp, 4
mov byte [esp + 0x270], 6
mov edi, 0x45a4cc
call fcn.00407140
mov byte [esp + 0x270], 0
lea ecx, [esp + 0x14]
push ecx
call fcn.004065a0
cmp byte [0x45a376], 0
jne 0x41e562
cmp byte [0x45a377], 0
je 0x41e57a
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.0040c460
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.0041d851
mov esp, ebp
pop ebp
ret