Function at 0x426530
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x540547
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [0x58a710]
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.00404730
mov ecx, eax
test ecx, ecx
jne 0x426579
push 0x80004005
call fcn.004049a0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0xb0], esi
movaps xmm0, xmmword [0x54f410]
lea edi, [ebp - 0x94]
movups xmmword [ebp - 0x9c], xmm0
mov dword [ebp - 4], 0
movaps xmm0, xmmword [0x54f3d0]
movups xmmword [ebp - 0x8c], xmm0
mov dword [ebp - 0x1c], 0
movaps xmm0, xmmword [0x54f3c0]
movups xmmword [ebp - 0x7c], xmm0
mov dword [ebp - 0x18], 0
movaps xmm0, xmmword [0x54f400]
movups xmmword [ebp - 0x6c], xmm0
mov dword [ebp - 0x14], 0
movaps xmm0, xmmword [0x54f3b0]
movups xmmword [ebp - 0x5c], xmm0
mov dword [ebp - 0xa0], 0
movaps xmm0, xmmword [0x54f3e0]
movups xmmword [ebp - 0x4c], xmm0
movaps xmm0, xmmword [0x54f3a0]
movups xmmword [ebp - 0x3c], xmm0
movaps xmm0, xmmword [0x54f420]
movups xmmword [ebp - 0x2c], xmm0
mov ebx, dword [edi - 4]
push 0
push ebx
call fcn.00404930
add esp, 8
test eax, eax
je 0x426636
push ebx
push eax
lea ecx, [ebp - 0xb0]
call fcn.00405150
mov esi, dword [ebp - 0xb0]
call fcn.00404730
test eax, eax
je 0x42656f
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 0x4266d1
cmp dword [ebx + 0xc], 0
jl 0x4266c2
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x4266c2
push ecx
call fcn.004153d0
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 0x4266b7
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 0x4266d1
push dword [esi - 0xc]
lea ecx, [ebp - 0xd8]
push esi
call fcn.00405640
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.00423cf0
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 2
call fcn.0041eb50
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 0x426742
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 0x426611
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 0x42690b
call fcn.00404730
mov ecx, eax
test ecx, ecx
jne 0x4267c8
push 0x80004005
call fcn.004049a0
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 0x426804
push 0x104
lea ecx, [ebp - 0xa0]
call fcn.004053d0
mov edi, dword [ebp - 0xa0]
push 0x104
push edi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x4268ef
push dword [edi - 8]
push edi
call fcn.0052644e
add esp, 8
test eax, eax
js 0x426946
cmp eax, dword [edi - 8]
jg 0x426946
mov dword [edi - 0xc], eax
lea ecx, [ebp - 0xa0]
mov byte [eax + edi], 0
lea eax, [ebp - 0xac]
push 1
push eax
call fcn.0041ece0
push 0x54e2a8
push dword [eax]
call fcn.0052b261
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 0x426886
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0xa1], 0
je 0x4268a1
push 1
push 0x54e2a8
lea ecx, [ebp - 0xa0]
call fcn.00423f00
push 0xb
push str.Regedit.exe
lea ecx, [ebp - 0xa0]
call fcn.00423f00
mov edi, dword [ebp - 0xa0]
push 1
push edi
call fcn.004bf6e0
add esp, 8
mov dword [ebp - 0xa8], eax
test eax, eax
je 0x4268ef
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 0x42690b
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 0x42692a
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.005193a0
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.004049a0
int3