Function at 0x429340
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b620b
mov eax, dword fs:[0]
push eax
sub esp, 0x31c
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 ebx, dword [ebp + 8]
call fcn.0046d4f0
test eax, eax
je 0x4293f4
push 0
push str.CDIFxUninstall_::IsDifxCase_n
push 0x658e90
call fcn.00599ee3
mov eax, dword [str.ENTRY:]
mov ecx, dword [0x5ccf7c]
mov dword [0x658d90], eax
mov eax, 0x658e90
mov dword [0x658d94], ecx
add esp, 0xc
mov ecx, eax
jmp 0x4293b0
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4293b0
mov edi, 0x658d90
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4293c1
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 0x658d90
call fcn.0046d6a0
mov ecx, eax
call fcn.0046d9d0
xor esi, esi
mov dword [ebp - 0x324], esi
call fcn.004a8620
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x429416
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 - 0x328], eax
mov dword [ebp - 4], esi
call fcn.0049d320
call fcn.0049cbe0
test eax, eax
je 0x42968f
push 0x104
lea ecx, [ebp - 0x114]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [ebp - 0x114]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x429456
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
lea ebx, [ebx]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x429490
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 0x4294e5
lea eax, [ebp - 0x114]
push eax
push str.szSystemDifxPath___s_n
push 0x658c90
call fcn.00599ee3
add esp, 0xc
push 0x658c90
call fcn.0046d6a0
mov ecx, eax
call fcn.0046d9d0
lea ecx, [ebp - 0x114]
push ecx
lea ecx, [ebp - 0x31d]
call fcn.0042cf90
test eax, eax
je 0x42952f
mov dword [ebp - 0x324], 1
cmp ebx, esi
je 0x42968f
lea eax, [ebp - 0x114]
mov edx, ebx
mov ecx, eax
sub edx, ecx
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x429520
jmp 0x42968f
lea edx, [ebp - 0x31c]
push esi
push edx
call fcn.0049cc80
lea eax, [ebp - 0x31c]
add esp, 8
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x429546
mov ecx, dword [str.DIFXAPI.DLL]
mov edx, dword [0x5d10cc]
mov dword [eax], ecx
mov ecx, dword [0x5d10d0]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
call fcn.0046d4f0
test eax, eax
je 0x42959b
lea edx, [ebp - 0x31c]
push edx
push str.szLocalDifxPath___s_n
push 0x658b90
call fcn.00599ee3
add esp, 0xc
push 0x658b90
call fcn.0046d6a0
mov ecx, eax
call fcn.0046d9d0
lea eax, [ebp - 0x31c]
push eax
lea ecx, [ebp - 0x31d]
call fcn.0042cf90
test eax, eax
je 0x4295df
mov dword [ebp - 0x324], 1
cmp ebx, esi
je 0x42968f
lea eax, [ebp - 0x31c]
mov edx, ebx
mov ecx, eax
sub edx, ecx
nop
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4295d0
jmp 0x42968f
push 1
lea edx, [ebp - 0x218]
push edx
push 0x104
call fcn.0049cd20
lea eax, [ebp - 0x218]
add esp, 0xc
dec eax
lea esp, [esp]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x429600
mov ecx, dword [str.DIFXAPI.DLL]
mov edx, dword [0x5d10cc]
mov dword [eax], ecx
mov ecx, dword [0x5d10d0]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
call fcn.0046d4f0
test eax, eax
je 0x429655
lea edx, [ebp - 0x218]
push edx
push str.szDifxTempPath___s_n
push 0x658a90
call fcn.00599ee3
add esp, 0xc
push 0x658a90
call fcn.0046d6a0
mov ecx, eax
call fcn.0046d9d0
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x31d]
call fcn.0042cf90
test eax, eax
je 0x42968f
mov dword [ebp - 0x324], 1
cmp ebx, esi
je 0x42968f
lea eax, [ebp - 0x218]
mov edx, ebx
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x429685
call fcn.0046d4f0
test eax, eax
je 0x429714
mov edx, dword [ebp - 0x324]
push edx
push str.CDIFxUninstall::IsDifxCase_:_bRetVal___d_n
push 0x658990
call fcn.00599ee3
mov eax, dword [str.EXIT:]
mov ecx, dword [0x5ccefc]
mov dword [0x658890], eax
mov eax, 0x658990
mov dword [0x658894], ecx
add esp, 0xc
mov ecx, eax
mov edi, edi
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4296d0
mov edi, 0x658890
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4296e1
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
push 0x658890
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 - 0x328]
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 0x42973d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x324]
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