Function at 0x426390
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x63c
mov eax, dword [0x50bd24]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov edx, eax
push ebx
mov ebx, ecx
mov dword [ebp - 0x638], eax
push esi
push edi
lea ecx, [edx + 2]
lea esi, [ebx + 0x1d4]
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4263c0
sub edx, ecx
mov eax, esi
sar edx, 1
cmp dword [esi + 0x14], 8
jb 0x4263d9
mov eax, dword [esi]
mov edi, dword [esi + 0x10]
cmp edi, edx
jne 0x42641c
mov edx, dword [ebp - 0x638]
mov ecx, edx
test edi, edi
je 0x426932
sub eax, edx
mov dword [ebp - 0x63c], eax
nop dword [eax + eax]
mov ax, word [eax + ecx]
cmp ax, word [ecx]
jne 0x42641c
mov eax, dword [ebp - 0x63c]
add ecx, 2
sub edi, 1
jne 0x426400
jmp 0x426932
mov ecx, ebx
call fcn.0041c010
mov edi, dword [ebp - 0x638]
mov ecx, edi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x426430
sub ecx, edx
sar ecx, 1
push ecx
push edi
mov ecx, esi
call fcn.0041a580
mov ecx, dword [ebx + 0x1e4]
test ecx, ecx
je 0x426562
mov edx, dword [esi + 0x14]
mov eax, esi
cmp edx, 8
jb 0x426462
mov eax, dword [esi]
cmp word [eax + ecx*2 - 2], 0x5c
jne 0x426562
dec ecx
mov dword [ebp - 0x634], 0
cmp dword [esi + 0x10], ecx
mov eax, esi
mov dword [ebp - 0x624], 0
cmovb ecx, dword [esi + 0x10]
mov dword [ebp - 0x620], 7
cmp edx, 8
jb 0x42649d
mov eax, dword [esi]
push ecx
push eax
lea ecx, [ebp - 0x634]
call fcn.0041a580
lea eax, [ebp - 0x634]
cmp esi, eax
je 0x426514
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x4264ed
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x4264e3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x426947
mov eax, edx
push ecx
push eax
call fcn.004b4077
add esp, 8
movups xmm0, xmmword [ebp - 0x634]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x624]
movq qword [esi + 0x10], xmm0
jmp 0x426554
mov edx, dword [ebp - 0x620]
cmp edx, 8
jb 0x426554
mov ecx, dword [ebp - 0x634]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42654a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x426947
push edx
push ecx
call fcn.004b4077
add esp, 8
mov ecx, dword [ebx + 0x1e4]
test ecx, ecx
jne 0x426456
call fcn.0041f000
mov edi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
test eax, eax
je 0x42665e
push 0x208
lea eax, [ebp - 0x61c]
push 0
push eax
call fcn.004b5de0
add esp, 0xc
lea eax, [ebp - 0x61c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push dword [ebp - 0x638]
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsSameRootW]
test eax, eax
je 0x42665e
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004b5de0
lea eax, [ebx + 0x128]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x4265dc
mov eax, dword [eax]
push 0x4e3568
push eax
lea eax, [ebp - 0x20c]
push eax
call edi
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4265f4
sub ecx, edx
sar ecx, 1
push ecx
lea ecx, [ebp - 0x20c]
push ecx
lea ecx, [ebx + 0x1a4]
call fcn.0041a580
cmp dword [ebx + 0x34], 8
lea eax, [ebx + 0x20]
jb 0x426621
mov eax, dword [eax]
push 0x4e3568
push eax
lea eax, [ebp - 0x20c]
push eax
call edi
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x426640
sub ecx, edx
lea edi, [ebx + 0x18c]
sar ecx, 1
lea eax, [ebp - 0x20c]
push ecx
jmp 0x426694
lea eax, [ebx + 0x1a4]
cmp eax, esi
je 0x42667d
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x426672
mov ecx, dword [esi]
push dword [esi + 0x10]
push ecx
mov ecx, eax
call fcn.0041a580
lea edi, [ebx + 0x18c]
cmp edi, esi
je 0x42669c
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x426691
mov eax, dword [esi]
push dword [esi + 0x10]
push eax
mov ecx, edi
call fcn.0041a580
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.004b5de0
lea eax, [ebx + 0x38]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x4266bd
mov eax, dword [eax]
push 0x4e3568
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0x414]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4266e0
sub ecx, edx
sar ecx, 1
push ecx
lea ecx, [ebp - 0x414]
push ecx
lea ecx, [ebx + 0x1bc]
call fcn.0041a580
cmp dword [ebx + 0x1d0], 8
lea eax, [ebx + 0x1bc]
jb 0x426713
mov eax, dword [eax]
push 0x4e35a0
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0x414]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x426730
sub ecx, edx
lea eax, [ebp - 0x414]
sar ecx, 1
push ecx
push eax
lea ecx, [ebx + 0x264]
call fcn.0041a580
cmp dword [esi + 0x14], 8
jb 0x42675a
mov esi, dword [esi]
lea eax, [ebx + 0x24c]
push eax
push str.Program
push esi
call fcn.0041c230
lea esi, [ebx + 0x1a4]
add esp, 0xc
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x42677f
mov ecx, dword [esi]
lea eax, [ebx + 0x1ec]
push eax
push str.skin
push ecx
call fcn.0041c230
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x42679c
mov esi, dword [esi]
lea eax, [ebx + 0x204]
push eax
push str.Profiles
push esi
call fcn.0041c230
add esp, 0xc
mov ecx, edi
cmp dword [edi + 0x14], 8
jb 0x4267bb
mov ecx, dword [edi]
lea eax, [ebx + 0x21c]
push eax
push str.addins
push ecx
call fcn.0041c230
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x4267d8
mov edi, dword [edi]
lea eax, [ebx + 0x234]
push eax
push str.data
push edi
call fcn.0041c230
add esp, 0xc
call fcn.0041f000
push 0x208
test eax, eax
lea eax, [ebp - 0x20c]
push 0
push eax
je 0x4268b3
call fcn.004b5de0
lea eax, [ebx + 0x110]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x42681e
mov eax, dword [eax]
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
push str.GuangShan_Software
push eax
lea eax, [ebp - 0x20c]
push eax
call esi
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x426840
sub ecx, edx
lea eax, [ebp - 0x20c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebx + 0x27c]
call fcn.0041a580
push 0x208
lea eax, [ebp - 0x61c]
push 0
push eax
call fcn.004b5de0
lea eax, [ebx + 0x20]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x426883
mov eax, dword [eax]
push str.GuangShan_Software
push eax
lea eax, [ebp - 0x61c]
push eax
call esi
lea ecx, [ebp - 0x61c]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4268a0
lea eax, [ebp - 0x61c]
jmp 0x426921
call fcn.004b5de0
lea eax, [ebx + 0x98]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x4268c9
mov eax, dword [eax]
push str.GuangShan_Software
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4268e5
sub ecx, edx
lea eax, [ebp - 0x20c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebx + 0x27c]
call fcn.0041a580
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x426910
lea eax, [ebp - 0x20c]
sub ecx, edx
sar ecx, 1
push ecx
push eax
lea ecx, [ebx + 0x294]
call fcn.0041a580
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b42e4
mov esp, ebp
pop ebp
ret 4
call fcn.004b905f
int3