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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe98
push esi
push edi
mov eax, 0x4d87e0
call fcn.004b9d54
mov word [ebp - 0x50], 0xc
push dword [ebp + 8]
call fcn.004211a4
pop ecx
inc dword [ebp - 0x44]
mov edx, 0x4d9878
mov ecx, dword [ebp + 8]
mov dword [ecx], edx
mov eax, dword [ebp + 8]
add eax, 8
push eax
call fcn.0041b548
pop ecx
mov edx, dword [ebp + 8]
add edx, 0x1278
push edx
call fcn.00422264
pop ecx
inc dword [ebp - 0x44]
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [ecx + 0x1298], eax
mov edx, dword [ebp + 8]
mov byte [edx + 0x129c], 0
mov ecx, dword [ebp + 8]
add ecx, 0x12a0
push ecx
call fcn.004018ec
pop ecx
inc dword [ebp - 0x44]
mov eax, dword [ebp + 8]
mov byte [eax + 0x12c8], 0
mov dword [ebp - 0x64], 1
mov word [ebp - 0x50], 0xc
jmp 0x42209f
mov word [ebp - 0x50], 0x18
lea eax, [ebp - 4]
call fcn.00406534
mov edx, eax
inc dword [ebp - 0x44]
mov eax, dword [ebp - 0x64]
call fcn.00456f20
lea edx, [ebp - 4]
push edx
lea eax, [ebp - 8]
call fcn.00406534
mov edx, eax
inc dword [ebp - 0x44]
pop eax
call fcn.004c79cc
lea edx, [ebp - 8]
push edx
mov edx, 0x4d8061
lea eax, [ebp - 0xc]
call fcn.004c76a8
inc dword [ebp - 0x44]
lea edx, [ebp - 0xc]
pop eax
call fcn.004c78fc
push eax
dec dword [ebp - 0x44]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004c7828
dec dword [ebp - 0x44]
lea eax, [ebp - 8]
mov edx, 2
call fcn.004c7828
dec dword [ebp - 0x44]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004c7828
pop ecx
test cl, cl
je 0x42209c
mov eax, dword [ebp + 8]
mov byte [eax + 0x129c], 1
inc dword [ebp - 0x64]
call fcn.00456ec0
cmp eax, dword [ebp - 0x64]
jge 0x42200d
mov word [ebp - 0x50], 0x24
push dword [ebp + 8]
lea edx, [ebp - 0x34]
push edx
call fcn.004223b4
add esp, 8
lea ecx, [ebp - 0x34]
push ecx
inc dword [ebp - 0x44]
mov eax, dword [ebp + 8]
add eax, 0x12a0
push eax
call fcn.00401ad0
add esp, 8
dec dword [ebp - 0x44]
push 2
lea edx, [ebp - 0x34]
push edx
call fcn.00401a2c
add esp, 8
mov ecx, dword [ebp + 8]
add ecx, 0x12a0
push ecx
call fcn.004028f8
pop ecx
test al, al
je 0x4221ba
mov esi, 0x4d6f42
lea edi, [ebp - 0x168]
mov ecx, 0x41
rep movsd dword es:[edi], dword [esi]
mov word [ebp - 0x50], 0x30
push 0
push 0x26
lea eax, [ebp - 0x168]
push eax
push 0
call sub.SHELL32.DLL_SHGetSpecialFolderPathA
test eax, eax
jl 0x42219b
lea edx, [ebp - 0x168]
push edx
call sub.SHLWAPI.DLL_PathAddBackslashA
lea ecx, [ebp - 0x168]
push ecx
mov eax, dword [ebp + 8]
add eax, 0x12a0
push eax
call fcn.0040286c
add esp, 8
push 0x4d8064
mov edx, dword [ebp + 8]
add edx, 0x12a0
push edx
call fcn.00402838
add esp, 8
push str.AI_Suite_III
mov ecx, dword [ebp + 8]
add ecx, 0x12a0
push ecx
call fcn.00402838
add esp, 8
push 0x4d8077
mov eax, dword [ebp + 8]
add eax, 0x12a0
push eax
call fcn.00402838
add esp, 8
jmp 0x4221b2
push 0x1d4
push 0x4d807b
push 0x4d8079
call fcn.004c3638
add esp, 0xc
mov word [ebp - 0x50], 0xc
jmp 0x4221c4
mov edx, dword [ebp + 8]
mov byte [edx + 0x12c8], 1
mov ecx, dword [ebp + 8]
cmp byte [ecx + 0x129c], 0
jne 0x422210
push dword [ebp + 8]
call fcn.00423ba4
pop ecx
push 4
call fcn.004b4f14
pop ecx
mov dword [ebp - 0x38], eax
test eax, eax
je 0x422202
mov word [ebp - 0x50], 0x54
push dword [ebp - 0x38]
call fcn.004216b8
pop ecx
mov word [ebp - 0x50], 0x3c
mov edx, dword [ebp - 0x38]
jmp 0x422205
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp + 8]
mov dword [eax + 0x1298], edx
jmp 0x42224e
push dword [ebp + 8]
call fcn.0042436c
pop ecx
push 4
call fcn.004b4f14
pop ecx
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x422242
mov word [ebp - 0x50], 0x78
push dword [ebp - 0x3c]
call fcn.00421a68
pop ecx
mov word [ebp - 0x50], 0x60
mov edx, dword [ebp - 0x3c]
jmp 0x422245
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp + 8]
mov dword [eax + 0x1298], edx
mov ecx, dword [ebp - 0x60]
mov dword fs:[0], ecx
mov eax, dword [ebp + 8]
pop edi
pop esi
mov esp, ebp
pop ebp
ret