Function at 0x417900
Capabilities:
Get common file path

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x48f05b
push eax
mov dword fs:[0], esp
sub esp, 0x610
push ebx
push ebp
push esi
push edi
mov ebx, ecx
call fcn.0044bde0
test eax, eax
je 0x4179c1
push 0
lea eax, [esp + 0x120]
push str.CDIFxInstall_::IsDifxCase_n
push eax
call fcn.00471c30
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.0044bd70
mov ecx, eax
call fcn.0044be10
lea eax, [esp + 0x420]
push eax
call fcn.0044bd70
mov ecx, eax
call fcn.0044c180
mov ecx, dword [0x4b538c]
xor ebp, ebp
mov dword [esp + 0x14], ecx
mov dword [esp + 0x628], ebp
call fcn.0046c5f0
cmp eax, 0xb
je 0x4179e7
cmp eax, 0xc
jne 0x417b87
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.0044bde0
test eax, eax
je 0x417a88
lea eax, [esp + 0x18]
lea ecx, [esp + 0x11c]
push eax
push str.szSystemDifxPath___s_n
push ecx
call fcn.00471c30
add esp, 0xc
lea edx, [esp + 0x11c]
push edx
call fcn.0044bd70
mov ecx, eax
call fcn.0044c180
lea eax, [esp + 0x18]
lea ecx, [esp + 0x10]
push eax
call fcn.0041aec0
test eax, eax
je 0x417ab7
mov edx, dword [esp + 0x630]
mov ebp, 1
test edx, edx
je 0x417b87
lea edi, [esp + 0x18]
jmp 0x417b6a
lea ecx, [esp + 0x21c]
push 0
push ecx
call fcn.0046c7d0
mov edx, dword [ebx]
add esp, 8
mov ecx, ebx
mov eax, dword [edx - 8]
push eax
call fcn.0048266c
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.0044bde0
test eax, eax
je 0x417b3e
lea eax, [esp + 0x21c]
lea ecx, [esp + 0x11c]
push eax
push str.szLocalDifxPath___s_n
push ecx
call fcn.00471c30
add esp, 0xc
lea edx, [esp + 0x11c]
push edx
call fcn.0044bd70
mov ecx, eax
call fcn.0044c180
lea eax, [esp + 0x21c]
lea ecx, [esp + 0x10]
push eax
call fcn.0041aec0
test eax, eax
je 0x417b87
mov edx, dword [esp + 0x630]
mov ebp, 1
test edx, edx
je 0x417b87
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.0044bde0
test eax, eax
je 0x417c26
push ebp
lea ecx, [esp + 0x524]
push str.CDIFxInstall::IsDifxCase_:_bRetVal___d_n
push ecx
call fcn.00471c30
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.0044bd70
mov ecx, eax
call fcn.0044c180
call fcn.0044bd70
mov ecx, eax
call fcn.0044be20
lea ecx, [esp + 0x14]
mov dword [esp + 0x628], 0xffffffff
call fcn.00482288
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