Function at 0x427020
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53a517
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [0x583384]
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 dword [ebp - 0xa8], ecx
call fcn.00406110
mov ecx, eax
test ecx, ecx
jne 0x427069
push 0x80004005
call fcn.004063a0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0xb0], esi
movaps xmm0, xmmword [0x548ac0]
lea edi, [ebp - 0x94]
movups xmmword [ebp - 0x9c], xmm0
mov dword [ebp - 4], 0
movaps xmm0, xmmword [0x548a80]
movups xmmword [ebp - 0x8c], xmm0
mov dword [ebp - 0x1c], 0
movaps xmm0, xmmword [0x548a70]
movups xmmword [ebp - 0x7c], xmm0
mov dword [ebp - 0x18], 0
movaps xmm0, xmmword [0x548ab0]
movups xmmword [ebp - 0x6c], xmm0
mov dword [ebp - 0x14], 0
movaps xmm0, xmmword [0x548a60]
movups xmmword [ebp - 0x5c], xmm0
mov dword [ebp - 0xa0], 0
movaps xmm0, xmmword [0x548a90]
movups xmmword [ebp - 0x4c], xmm0
movaps xmm0, xmmword [0x548a50]
movups xmmword [ebp - 0x3c], xmm0
movaps xmm0, xmmword [0x548ad0]
movups xmmword [ebp - 0x2c], xmm0
mov ebx, dword [edi - 4]
push 0
push ebx
call fcn.00406330
add esp, 8
test eax, eax
je 0x427126
push ebx
push eax
lea ecx, [ebp - 0xb0]
call fcn.00406b50
mov esi, dword [ebp - 0xb0]
call fcn.00406110
test eax, eax
je 0x42705f
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 0
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 1
lea ebx, [eax - 0x10]
cmp ecx, ebx
je 0x4271c1
cmp dword [ebx + 0xc], 0
jl 0x4271b2
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x4271b2
push ecx
call fcn.00415150
add esp, 4
mov dword [ebp - 0xac], eax
or ecx, 0xffffffff
lea edx, [ebx + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4271a7
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0xac]
add eax, 0x10
mov dword [ebp - 0xd8], eax
jmp 0x4271c1
push dword [esi - 0xc]
lea ecx, [ebp - 0xd8]
push esi
call fcn.00407040
mov eax, dword [edi]
mov ebx, dword [ebp - 0xa8]
mov ecx, ebx
mov dword [ebp - 0xd4], eax
mov eax, dword [edi + 4]
mov dword [ebp - 0xc4], eax
mov eax, dword [edi + 8]
mov dword [ebp - 0xd0], eax
mov eax, dword [edi + 0xc]
mov dword [ebp - 0xcc], eax
mov eax, dword [edi + 0x10]
mov dword [ebp - 0xc8], eax
lea eax, [ebp - 0xd8]
push eax
call fcn.00423fe0
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 2
call fcn.0041ee70
mov edx, dword [ebp - 0xd8]
or eax, 0xffffffff
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x427232
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0xa0]
add edi, 0x1c
inc eax
mov dword [ebp - 0xa0], eax
cmp eax, 5
jb 0x427101
mov edi, dword [sym.imp.USER32.dll_InvalidateRect]
push 1
push 0
push dword [ebx + 4]
mov dword [ebx + 0x2c], 0
call edi
push 1
push 0
push dword [ebx + 4]
mov dword [ebx + 0x44], 1
call edi
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x32
call edi
push 0x31
mov ebx, eax
call edi
push 4
push 0
push 0x21
push ebx
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_Create]
mov ebx, dword [ebp - 0xa8]
mov dword [ebx + 0x1a4], eax
test eax, eax
je 0x4273fb
call fcn.00406110
mov ecx, eax
test ecx, ecx
jne 0x4272b8
push 0x80004005
call fcn.004063a0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0xa0], edi
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, 0x104
or eax, ecx
mov byte [ebp - 4], 3
jge 0x4272f4
push 0x104
lea ecx, [ebp - 0xa0]
call fcn.00406dd0
mov edi, dword [ebp - 0xa0]
push 0x104
push edi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x4273df
push dword [edi - 8]
push edi
call fcn.00526cb2
add esp, 8
test eax, eax
js 0x427436
cmp eax, dword [edi - 8]
jg 0x427436
mov dword [edi - 0xc], eax
lea ecx, [ebp - 0xa0]
mov byte [eax + edi], 0
lea eax, [ebp - 0xac]
push 1
push eax
call fcn.0041f000
push 0x547a38
push dword [eax]
call fcn.00527840
mov edx, dword [ebp - 0xac]
add esp, 8
test eax, eax
setne byte [ebp - 0xa1]
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x427376
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0xa1], 0
je 0x427391
push 1
push 0x547a38
lea ecx, [ebp - 0xa0]
call fcn.004241f0
push 0xb
push str.Regedit.exe
lea ecx, [ebp - 0xa0]
call fcn.004241f0
mov edi, dword [ebp - 0xa0]
push 1
push edi
call fcn.004bad50
add esp, 8
mov dword [ebp - 0xa8], eax
test eax, eax
je 0x4273df
push eax
push 0xffffffffffffffff
push dword [ebx + 0x1a4]
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
push dword [ebp - 0xa8]
mov dword [ebx + 0x380], eax
call dword [sym.imp.USER32.dll_DestroyIcon]
mov byte [ebp - 4], 0
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x4273fb
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x42741a
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
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.00513512
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.004063a0
int3