Function at 0x408690
Capabilities:
Get common file path

Disassembly:
sub esp, 0x18
mov eax, dword [0x4250e0]
xor eax, esp
mov dword [esp + 0x14], eax
push ebx
push esi
call fcn.00408400
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x40
push 0
mov dword [0x439154], 0
mov dword [0x43ccc4], 0x40
call fcn.004023a0
add esp, 8
push 0xc8
push 0x43c780
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
call fcn.004078c0
test eax, eax
je 0x408851
push edi
push 0x43c5c0
call fcn.00402500
mov bl, byte [esp + 0x2c]
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
add esp, 4
test bl, bl
jne 0x40875f
cmp dword [0x43ccc8], 0x3b6
jne 0x408730
push str.chen321.ime
lea eax, [esp + 0x10]
push eax
call edi
push 0x439020
push str._schen321.ime
jmp 0x408746
push str.chen320.ime
lea ecx, [esp + 0x10]
push ecx
call edi
push 0x439020
push str._schen320.ime
push 0x439540
call esi
add esp, 0xc
push 0x439540
call fcn.00402530
add esp, 4
jmp 0x40876b
push str.chenhu4.ime
lea edx, [esp + 0x10]
push edx
call edi
push 1
lea eax, [esp + 0x10]
push str.chenhu4.ime
push eax
call fcn.00407ec0
add esp, 0xc
push 0xc8
push 0x43c780
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test bl, bl
jne 0x4087f8
cmp dword [0x43ccc8], 0x3b6
push 0x439020
jne 0x4087ce
push str._schen641.ime
push 0x439540
call esi
add esp, 0xc
push str.chen641.ime
lea ecx, [esp + 0x10]
push ecx
call edi
push 0x439540
call fcn.00402530
add esp, 4
jmp 0x408804
push str._schen640.ime
push 0x439540
call esi
add esp, 0xc
push str.chen640.ime
lea edx, [esp + 0x10]
push edx
call edi
push 0x439540
call fcn.00402530
add esp, 4
jmp 0x408804
push str.chenhu64.ime
lea eax, [esp + 0x10]
push eax
call edi
push 2
lea ecx, [esp + 0x10]
push str.chenhu4.ime
push ecx
call fcn.00407ec0
add esp, 0xc
pop edi
cmp bl, 1
je 0x4088f6
push 0x439020
push str._ssetupw64.exe
push 0x439540
call esi
push 0x439540
call fcn.00402530
add esp, 0x10
pop esi
pop ebx
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.0040a10d
add esp, 0x18
ret
push 0xc8
push 0x43c780
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov bl, byte [esp + 0x24]
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
test bl, bl
jne 0x4088c9
cmp dword [0x43ccc8], 0x3b6
push 0x439020
jne 0x40889b
push str._schen321.ime
push 0x439540
call esi
add esp, 0xc
push str.chen321.ime
lea edx, [esp + 0xc]
push edx
jmp 0x4088b4
push str._schen320.ime
push 0x439540
call esi
add esp, 0xc
push str.chen320.ime
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x439540
call fcn.00402530
add esp, 4
jmp 0x4088d9
push str.chenhu4.ime
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 3
lea edx, [esp + 0xc]
push str.chenhu4.ime
push edx
call fcn.00407ec0
add esp, 0xc
cmp bl, 1
jne 0x408822
push 0x439020
push str._schen320.ime
push 0x439540
call esi
push 0x439540
call fcn.00403a00
push 0x439020
push str._schen321.ime
push 0x439540
call esi
push 0x439540
call fcn.00403a00
push 0x439020
push str._schen640.ime
push 0x439540
call esi
push 0x439540
call fcn.00403a00
push 0x439020
push str._schen641.ime
push 0x439540
call esi
push 0x439540
call fcn.00403a00
mov ecx, dword [esp + 0x5c]
add esp, 0x40
pop esi
pop ebx
xor ecx, esp
call fcn.0040a10d
add esp, 0x18
ret