Function at 0x423590
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b5c67
mov eax, dword fs:[0]
push eax
sub esp, 0x124
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]
mov edi, ecx
mov dword [ebp - 0x11c], edi
call fcn.0046d4f0
test eax, eax
je 0x42364d
push 0
push str.CUninstall_::_GetInstalledFilesToDelete_n
push 0x652b90
call fcn.00599ee3
mov eax, dword [str.ENTRY:]
mov ecx, dword [0x5ccf7c]
mov dword [0x652a90], eax
mov eax, 0x652b90
mov dword [0x652a94], ecx
add esp, 0xc
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x423603
mov edi, 0x652a90
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x423614
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 0x652a90
call fcn.0046d6a0
mov ecx, eax
call fcn.0046d9d0
mov edi, dword [ebp - 0x11c]
lea esi, [edi + 0x2c]
push esi
push ebx
mov ecx, edi
call fcn.00490e20
call fcn.004a8620
xor ecx, ecx
xor ebx, ebx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x423675
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 - 0x118], eax
push 0x104
lea ecx, [ebp - 0x114]
push ecx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
cmp dword [esi], ebx
jne 0x4236a4
xor eax, eax
jmp 0x4236a7
lea eax, [esi + 4]
mov ecx, eax
cmp eax, ebx
je 0x423a5a
jmp 0x4236b9
mov ecx, dword [ebp - 0x120]
cmp ecx, ebx
je 0x4236fa
lea esi, [edi + 0x2c]
sub ecx, esi
lea eax, [ecx - 3]
lea ecx, [eax - 1]
cmp ecx, 0x5db
ja 0x4236fa
mov edx, dword [esi]
cmp eax, edx
jae 0x4236e2
lea eax, [esi + eax + 4]
mov dword [ebp - 0x120], eax
jmp 0x4236e8
mov dword [ebp - 0x120], ebx
cmp ecx, edx
jae 0x423700
cmp ecx, 0xffffffff
je 0x423700
mov esi, dword [esi + ecx*4 + 0x5e0]
jmp 0x423706
mov dword [ebp - 0x120], ebx
lea esi, [edi + 0x1d7c]
mov eax, dword [esi + 0x18]
push eax
mov ecx, edi
call fcn.0041ecd0
test eax, eax
jne 0x423a4c
mov edx, dword [esi + 0x18]
cmp edx, ebx
je 0x423734
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x423725
sub eax, edi
mov edi, dword [ebp - 0x11c]
push eax
push edx
lea ecx, [ebp - 0x118]
call fcn.004026b0
mov ecx, dword [ebp - 0x118]
push ebx
push ecx
lea ecx, [edi + 0x3b08]
call fcn.004a7fac
test eax, eax
jne 0x42379d
lea edx, [ebp - 0x118]
push edx
lea ecx, [edi + 0x3b08]
call fcn.004a81b5
call fcn.0046d4f0
test eax, eax
je 0x42379d
mov eax, dword [ebp - 0x118]
push eax
push str.FileToDelete___s_n
push 0x652990
call fcn.00599ee3
add esp, 0xc
push 0x652990
call fcn.0046d6a0
mov ecx, eax
call fcn.0046d9d0
mov ebx, 2
cmp dword [esi + 0x28], ebx
jne 0x423a46
mov edx, dword [esi + 0x18]
test edx, edx
jne 0x4237b6
xor eax, eax
jmp 0x4237c9
mov eax, edx
lea edi, [eax + 1]
jmp 0x4237c0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4237c0
sub eax, edi
push eax
push edx
lea ecx, [ebp - 0x118]
call fcn.004026b0
push str..PNF
push 0x5cd3c8
lea ecx, [ebp - 0x118]
call fcn.00408720
mov ecx, dword [ebp - 0x118]
mov edi, dword [ebp - 0x11c]
push 0
push ecx
lea ecx, [edi + 0x3b08]
call fcn.004a7fac
test eax, eax
jne 0x42384e
lea edx, [ebp - 0x118]
push edx
lea ecx, [edi + 0x3b08]
call fcn.004a81b5
call fcn.0046d4f0
test eax, eax
je 0x42384e
mov eax, dword [ebp - 0x118]
push eax
push str.FileToDelete___s_n
push 0x652890
call fcn.00599ee3
add esp, 0xc
push 0x652890
call fcn.0046d6a0
mov ecx, eax
call fcn.0046d9d0
cmp dword [esi + 0x28], ebx
jne 0x423a46
mov ecx, dword [esi]
test ecx, ecx
jne 0x423861
xor eax, eax
jmp 0x42386f
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x423866
sub eax, esi
push eax
push ecx
lea ecx, [ebp - 0x118]
call fcn.004026b0
push 0x5d08e8
push 0x5cd3c8
lea ecx, [ebp - 0x118]
call fcn.00408720
push str.System32CatRootF750E6C3_38EE_11D1_85E5_00C04FC295EE_
lea ecx, [ebp - 0x128]
call fcn.00403380
mov esi, eax
lea ecx, [ebp - 0x114]
push ecx
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 1
call fcn.00403380
push esi
push eax
lea edx, [ebp - 0x130]
push edx
mov byte [ebp - 4], 2
call fcn.00402910
lea ecx, [ebp - 0x118]
push ecx
push eax
lea edx, [ebp - 0x124]
push edx
mov byte [ebp - 4], 3
call fcn.00402910
add esp, 0x18
mov ecx, dword [eax]
mov esi, dword [ebp - 0x118]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
mov byte [ebp - 4], 4
cmp eax, esi
je 0x423947
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x423937
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x423937
push eax
call fcn.004022e0
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x42392c
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [ebp - 0x118], ebx
jmp 0x423947
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x118]
call fcn.004026b0
mov eax, dword [ebp - 0x124]
add eax, 0xfffffff0
mov byte [ebp - 4], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42396d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x130]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423993
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x12c]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4239b9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x128]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4239df
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x118]
mov esi, dword [ebp - 0x11c]
push 0
push ecx
lea ecx, [esi + 0x3b08]
call fcn.004a7fac
test eax, eax
jne 0x423a46
lea edx, [ebp - 0x118]
push edx
lea ecx, [esi + 0x3b08]
call fcn.004a81b5
call fcn.0046d4f0
test eax, eax
je 0x423a46
mov eax, dword [ebp - 0x118]
push eax
push str.FileToDelete___s_n
push 0x652790
call fcn.00599ee3
add esp, 0xc
push 0x652790
call fcn.0046d6a0
mov ecx, eax
call fcn.0046d9d0
mov edi, esi
jmp 0x423a4c
mov edi, dword [ebp - 0x11c]
xor ebx, ebx
cmp dword [ebp - 0x120], ebx
jne 0x4236b3
call fcn.0046d4f0
test eax, eax
je 0x423ad9
push ebx
push str.CUninstall_::_GetInstalledFilesToDelete_n
push 0x652690
call fcn.00599ee3
mov ecx, dword [str.EXIT:]
mov edx, dword [0x5ccefc]
mov eax, 0x652690
mov dword [0x652590], ecx
add esp, 0xc
mov dword [0x652594], edx
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x423a95
mov edi, 0x652590
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x423aa6
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
push 0x652590
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 - 0x118]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423b02
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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