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

Disassembly:
push 0xffffffffffffffff
push 0x43212b
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x43fe28]
xor eax, esp
mov dword [esp + 0x26c], eax
push ebx
push ebp
push edi
mov eax, dword [0x43fe28]
xor eax, esp
push eax
lea eax, [esp + 0x280]
mov dword fs:[0], eax
mov ecx, esi
mov dword [esp + 0x70], esi
call fcn.004117fb
xor edi, edi
lea ebp, [esi + 0x54]
mov dword [esp + 0x288], edi
push ebp
mov dword [esi], vtable.CDlgFloat.0
call fcn.00407230
lea eax, [esi + 0x6c]
push eax
mov byte [esp + 0x28c], 1
call fcn.00407230
mov byte [esp + 0x288], 2
call fcn.004177e3
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x401510
push 0x80004005
call fcn.004068a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x88], eax
mov byte [esp + 0x288], 3
call fcn.004177e3
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x401544
push 0x80004005
call fcn.004068a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x8c], eax
mov byte [esp + 0x288], 4
call fcn.004177e3
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x401578
push 0x80004005
call fcn.004068a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x90], eax
mov byte [esp + 0x288], 5
lea ebx, [esi + 0x94]
call fcn.004177e3
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x4015b2
push 0x80004005
call fcn.004068a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebx], eax
push 0x206
lea edx, [esp + 0x7a]
mov byte [esp + 0x28c], 6
xor ecx, ecx
push edi
push edx
mov dword [esi + 0x98], edi
mov word [esp + 0x80], cx
call fcn.0041dcd0
add esp, 0xc
push edi
push 0x26
lea eax, [esp + 0x7c]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [esp + 0x74]
lea ecx, [eax + 2]
mov dx, word [eax]
add eax, 2
cmp dx, di
jne 0x401601
sub eax, ecx
sar eax, 1
push eax
lea ecx, [esp + 0x78]
push ecx
mov ecx, ebx
call fcn.004065a0
push 0x26
push str.DTLSoftDriveTheLifeDriveTheLife.exe
mov ecx, ebx
call fcn.004063e0
mov ebx, dword [sym.imp.USER32.dll_CopyRect]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x2c]
push eax
mov dword [esi + 0x84], 0xffffffff
mov dword [esp + 0x5c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x2c], 0x1a
mov dword [esp + 0x28], 0x1dc
mov dword [esp + 0x20], 0x1d1
mov dword [esp + 0x74], esi
call ebx
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x3c], edx
lea edx, [esp + 0x38]
mov dword [esp + 0x40], eax
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x34]
push edx
lea eax, [esi + 0x6c]
push eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x60], 0x82
mov dword [esp + 0x68], 4
mov dword [esp + 0x64], edi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], 0xfa2
call fcn.004046f0
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x24], 0x10e
mov dword [esp + 0x2c], 0x128
mov dword [esp + 0x28], 0x191
mov dword [esp + 0x20], 0x159
mov dword [esp + 0x74], esi
call ebx
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x38]
push eax
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x38]
lea eax, [esi + 0x6c]
push eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x60], 0x83
mov dword [esp + 0x68], 4
mov dword [esp + 0x64], edi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], 0xfa3
call fcn.004046f0
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], 0x10e
mov dword [esp + 0x24], 0x128
mov dword [esp + 0x20], 0x1d3
mov dword [esp + 0x18], 0x19b
mov dword [esp + 0x6c], esi
push ecx
lea edx, [esp + 0x2c]
push edx
call ebx
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x3c], ecx
lea ecx, [esp + 0x38]
mov dword [esp + 0x44], eax
push ecx
lea eax, [esi + 0x6c]
push eax
mov dword [esp + 0x48], edx
mov dword [esp + 0x60], 0x85
mov dword [esp + 0x68], 4
mov dword [esp + 0x64], edi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], 0xfa4
call fcn.004046f0
fld1
sub esp, 8
mov eax, esp
mov dword [esp + 0x1c], esp
push ecx
fstp dword [esp]
push 0x84
push ebp
mov dword [eax], 0xf
mov dword [eax + 4], 0xf
call fcn.00406d20
fld1
sub esp, 8
mov eax, esp
mov dword [esp + 0x1c], esp
push ecx
fstp dword [esp]
push 0x86
push ebp
mov dword [eax], 0x156
mov dword [eax + 4], 0x96
call fcn.00406d20
fld1
sub esp, 8
mov eax, esp
mov dword [esp + 0x1c], esp
push ecx
fstp dword [esp]
push 0x87
push ebp
mov dword [eax], 7
mov dword [eax + 4], 0x30
call fcn.00406d20
fld1
sub esp, 8
mov eax, esp
mov dword [esp + 0x1c], esp
push ecx
fstp dword [esp]
push 0x88
mov edi, 0x118
push ebp
mov dword [eax], 0x1a
mov dword [eax + 4], edi
call fcn.00406d20
fldz
sub esp, 8
mov eax, esp
mov dword [esp + 0x1c], esp
push ecx
fstp dword [esp]
push 0x89
push ebp
mov dword [eax], 0x1a
mov dword [eax + 4], edi
call fcn.00406d20
mov eax, esi
mov ecx, dword [esp + 0x280]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x26c]
xor ecx, esp
call fcn.0041baef
add esp, 0x27c
ret