Function at 0x415a40
Capabilities:
Get common file path

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x482a9b
push eax
mov dword fs:[0], esp
sub esp, 0x610
push ebx
push ebp
push esi
push edi
mov ebx, ecx
call fcn.00441cf0
test eax, eax
je 0x415b01
push 0
lea eax, [esp + 0x120]
push str.CDIFxInstall_::IsDifxCase_n
push eax
call fcn.00465850
mov edi, str.ENTRY:
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x420]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x420]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x11c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00441c80
mov ecx, eax
call fcn.00441d20
lea eax, [esp + 0x420]
push eax
call fcn.00441c80
mov ecx, eax
call fcn.00442090
mov ecx, dword [0x4a6844]
xor ebp, ebp
mov dword [esp + 0x14], ecx
mov dword [esp + 0x628], ebp
call fcn.004603e0
cmp eax, 0xb
je 0x415b27
cmp eax, 0xc
jne 0x415cc7
lea edx, [esp + 0x18]
push 0x104
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov edi, str.SYSTEM32_
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x18]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x18]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.DIFXAPI.DLL
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00441cf0
test eax, eax
je 0x415bc8
lea eax, [esp + 0x18]
lea ecx, [esp + 0x11c]
push eax
push str.szSystemDifxPath___s_n
push ecx
call fcn.00465850
add esp, 0xc
lea edx, [esp + 0x11c]
push edx
call fcn.00441c80
mov ecx, eax
call fcn.00442090
lea eax, [esp + 0x18]
lea ecx, [esp + 0x10]
push eax
call fcn.004186e0
test eax, eax
je 0x415bf7
mov edx, dword [esp + 0x630]
mov ebp, 1
test edx, edx
je 0x415cc7
lea edi, [esp + 0x18]
jmp 0x415caa
lea ecx, [esp + 0x21c]
push 0
push ecx
call fcn.004605c0
mov edx, dword [ebx]
add esp, 8
mov ecx, ebx
mov eax, dword [edx - 8]
push eax
call fcn.0047628c
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x21c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00441cf0
test eax, eax
je 0x415c7e
lea eax, [esp + 0x21c]
lea ecx, [esp + 0x11c]
push eax
push str.szLocalDifxPath___s_n
push ecx
call fcn.00465850
add esp, 0xc
lea edx, [esp + 0x11c]
push edx
call fcn.00441c80
mov ecx, eax
call fcn.00442090
lea eax, [esp + 0x21c]
lea ecx, [esp + 0x10]
push eax
call fcn.004186e0
test eax, eax
je 0x415cc7
mov edx, dword [esp + 0x630]
mov ebp, 1
test edx, edx
je 0x415cc7
lea edi, [esp + 0x21c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00441cf0
test eax, eax
je 0x415d66
push ebp
lea ecx, [esp + 0x524]
push str.CDIFxInstall::IsDifxCase_:_bRetVal___d_n
push ecx
call fcn.00465850
mov edi, str.EXIT:
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x320]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x320]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x520]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x320]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.00441c80
mov ecx, eax
call fcn.00442090
call fcn.00441c80
mov ecx, eax
call fcn.00441d30
lea ecx, [esp + 0x14]
mov dword [esp + 0x628], 0xffffffff
call fcn.00475ea8
mov ecx, dword [esp + 0x620]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x61c
ret 4