Function at 0x402394
Capabilities:
Get common file path

Disassembly:
mov eax, 0x40668e
call fcn.00406070
sub esp, 0x98
push ebx
push esi
push edi
mov esi, ecx
push dword [ebp + 8]
mov dword [ebp - 0x10], esi
push 0x66
call sub.MFC42.DLL_CDialog::CDialog
xor edi, edi
lea ecx, [esi + 0x60]
mov dword [ebp - 4], edi
call sub.MFC42.DLL_CString::CString
push 0x402387
push 0x40262b
lea eax, [esi + 0x578]
push 5
push 8
push eax
mov byte [ebp - 4], 1
call fcn.00406202
push 0x40238c
push 0x402637
lea ebx, [esi + 0x5a0]
push 5
push 8
push ebx
mov byte [ebp - 4], 2
call fcn.00406202
lea ecx, [esi + 0x5d4]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x5d8]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
push edi
lea ecx, [esi + 0x5e0]
mov byte [ebp - 4], 5
call fcn.0040559c
mov byte [ebp - 4], 6
mov dword [esi], 0x407b1c
call sub.MFC42.DLL_AfxGetModuleState
mov eax, 0x80
push eax
push 0xe
push eax
call sub.MFC42.DLL_AfxFindResourceHandle
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
push 0x10
mov dword [esi + 0xbac], eax
mov dword [esi + 0x5dc], edi
mov dword [esi + 0x5d0], edi
call sub.MFC42.DLL_operatornew
pop ecx
mov dword [ebp + 8], eax
cmp eax, edi
mov byte [ebp - 4], 7
je 0x40247f
mov ecx, eax
call fcn.00405e8a
jmp 0x402481
xor eax, eax
push 8
mov byte [ebp - 4], 6
mov dword [esi + 0x5cc], eax
call sub.MFC42.DLL_operatornew
cmp eax, edi
pop ecx
je 0x4024a2
mov dword [eax + 4], edi
mov dword [eax], 0x407b08
jmp 0x4024a4
xor eax, eax
mov dword [esi + 0x5c8], eax
lea eax, [esi + 0x64]
mov edi, 0x104
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov dword [ebp + 8], eax
lea eax, [esi + 0x168]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [esi + 0x26c]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov eax, dword [ebp + 8]
mov edi, 0x40b12c
cmp byte [eax + esi + 0x63], 0x5c
je 0x4024f4
lea eax, [esi + 0x64]
push edi
push eax
call sub.MSVCRT.dll_strcat
pop ecx
pop ecx
lea eax, [esi + 0x168]
push edi
push eax
call sub.MSVCRT.dll_strcat
lea eax, [esi + 0x26c]
push edi
push eax
call sub.MSVCRT.dll_strcat
add esp, 0x10
lea eax, [ebp - 0xa4]
mov dword [ebp - 0xa4], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x94], 1
jne 0x402538
push str.Data1.cab
jmp 0x40253d
push str.Data1_2000.cab
lea ecx, [esi + 0x578]
call fcn.00405d34
push str.Data2.cab
lea ecx, [esi + 0x580]
call fcn.00405d34
push str.Data3.cab
lea ecx, [esi + 0x588]
call fcn.00405d34
push str.Data4.cab
lea ecx, [esi + 0x590]
call fcn.00405d34
push str.readme.txt
lea ecx, [esi + 0x598]
call fcn.00405d34
push 2
lea ecx, [esi + 0x5a4]
pop edi
push str.WinWB.IME
mov dword [ebx], edi
call fcn.00405d34
push str.WinWB.MB
lea ecx, [esi + 0x5ac]
mov dword [esi + 0x5a8], edi
call fcn.00405d34
push 3
lea ecx, [esi + 0x5b4]
pop ebx
push str.WinWB.Hlp
mov dword [esi + 0x5b0], ebx
call fcn.00405d34
push str.WBUnins.exe
lea ecx, [esi + 0x5bc]
mov dword [esi + 0x5b8], 1
call fcn.00405d34
push str.Readme.Txt
lea ecx, [esi + 0x5c4]
mov dword [esi + 0x5c0], ebx
call fcn.00405d34
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4