Function at 0x429770
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b624b
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x6319d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ebx, ecx
mov dword [ebp - 0x224], esi
call fcn.0046d4f0
test eax, eax
je 0x42982d
push 0
push str.CDIFxInstall_::IsDifxCase_n
push 0x659490
call fcn.00599ee3
mov eax, dword [str.ENTRY:]
mov ecx, dword [0x5ccf7c]
mov dword [0x659390], eax
mov eax, 0x659490
mov dword [0x659394], ecx
add esp, 0xc
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4297e3
mov edi, 0x659390
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4297f4
mov ecx, eax
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.0046d6a0
mov ecx, eax
call fcn.0046d500
push 0x659390
call fcn.0046d6a0
mov ecx, eax
call fcn.0046d9d0
mov esi, dword [ebp - 0x224]
xor edi, edi
mov dword [ebp - 0x220], edi
call fcn.004a8620
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x42984f
push 0x80004005
call fcn.00401b60
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x228], eax
mov dword [ebp - 4], edi
call fcn.0049d320
call fcn.0049cbe0
test eax, eax
je 0x429a3a
push 0x104
lea ecx, [ebp - 0x114]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [ebp - 0x114]
dec eax
nop
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x429890
mov edx, dword [str.SYSTEM32_]
mov ecx, dword [0x5d1160]
mov dword [eax], edx
mov dx, word [0x5d1164]
mov dword [eax + 4], ecx
mov cl, byte [0x5d1166]
mov word [eax + 8], dx
mov byte [eax + 0xa], cl
lea eax, [ebp - 0x114]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x4298c4
mov edx, dword [str.DIFXAPI.DLL]
mov ecx, dword [0x5d10cc]
mov dword [eax], edx
mov edx, dword [0x5d10d0]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
call fcn.0046d4f0
test eax, eax
je 0x429919
lea eax, [ebp - 0x114]
push eax
push str.szSystemDifxPath___s_n
push 0x659290
call fcn.00599ee3
add esp, 0xc
push 0x659290
call fcn.0046d6a0
mov ecx, eax
call fcn.0046d9d0
lea ecx, [ebp - 0x114]
push ecx
lea ecx, [ebp - 0x219]
call fcn.0042cf90
test eax, eax
je 0x42995f
mov dword [ebp - 0x220], 1
cmp esi, edi
je 0x429a3a
lea eax, [ebp - 0x114]
mov edx, esi
mov ecx, eax
sub edx, ecx
lea ecx, [ecx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x429950
jmp 0x429a3a
lea edx, [ebp - 0x218]
push edi
push edx
call fcn.0049cc80
mov eax, dword [ebx]
mov edx, dword [eax - 0xc]
add esp, 8
cmp edx, edi
jge 0x429982
push 0x80070057
call fcn.00401b60
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, edx
or eax, ecx
jge 0x42999b
push edx
mov ecx, ebx
call fcn.00402280
mov eax, dword [ebx]
mov edx, eax
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4299a0
lea edi, [ebp - 0x218]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4299b0
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]
call fcn.0046d4f0
test eax, eax
je 0x4299fb
lea eax, [ebp - 0x218]
push eax
push str.szLocalDifxPath___s_n
push 0x659190
call fcn.00599ee3
add esp, 0xc
push 0x659190
call fcn.0046d6a0
mov ecx, eax
call fcn.0046d9d0
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x219]
call fcn.0042cf90
test eax, eax
je 0x429a3a
mov edx, dword [ebp - 0x224]
mov dword [ebp - 0x220], 1
test edx, edx
je 0x429a3a
lea eax, [ebp - 0x218]
mov ecx, eax
sub edx, ecx
nop
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x429a30
call fcn.0046d4f0
test eax, eax
je 0x429ac4
mov edx, dword [ebp - 0x220]
push edx
push str.CDIFxInstall::IsDifxCase_:_bRetVal___d_n
push 0x659090
call fcn.00599ee3
mov eax, dword [str.EXIT:]
mov ecx, dword [0x5ccefc]
mov dword [0x658f90], eax
mov eax, 0x659090
mov dword [0x658f94], ecx
add esp, 0xc
mov ecx, eax
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x429a80
mov edi, 0x658f90
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x429a91
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
push 0x658f90
rep movsb byte es:[edi], byte [esi]
call fcn.0046d6a0
mov ecx, eax
call fcn.0046d9d0
call fcn.0046d6a0
mov ecx, eax
call fcn.0046d510
mov eax, dword [ebp - 0x228]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x429aed
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x220]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00599ed4
mov esp, ebp
pop ebp
ret 4