Function at 0x40df24
Capabilities:
Get common file path

Disassembly:
mov eax, 0x414c1f
call fcn.00413720
sub esp, 0x298
push ebx
push esi
push edi
mov ebx, ecx
push dword [ebp + 8]
mov dword [ebp - 0x18], ebx
push 0x87
call sub.MFC42.DLL_CDialog::CDialog
lea esi, [ebx + 0x64]
xor edi, edi
mov ecx, esi
mov dword [ebp - 4], edi
call sub.MFC42.DLL_CStringArray::CStringArray
lea ecx, [ebx + 0x7c]
mov byte [ebp - 4], 1
call fcn.0040ee9e
lea eax, [ebp - 0x178]
push 0x104
push eax
mov byte [ebp - 4], 2
mov dword [ebx], 0x418330
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [ebp - 0x178]
lea ecx, [ebp - 0x10]
push eax
call fcn.0041320c
lea eax, [ebp - 0x10]
push str.Search.txt
push eax
lea eax, [ebp + 8]
push eax
mov byte [ebp - 4], 3
call sub.MFC42.DLL_operator
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::operator
lea ecx, [ebp + 8]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
push edi
push edi
lea ecx, [ebp - 0x10]
mov dword [ebx + 0x60], edi
call sub.MFC42.DLL_CString::GetBuffer
push eax
call dword [sym.imp.MSVCRT.dll__access]
pop ecx
cmp eax, 0xffffffff
pop ecx
je 0x40e0ba
mov eax, dword [sym.imp.MSVCIRT.dll_int_const_filebuf::openprot]
push 1
lea ecx, [ebp - 0x10]
push dword [eax]
push 1
push edi
call sub.MFC42.DLL_CString::GetBuffer
push eax
lea ecx, [ebp - 0x74]
call dword [sym.imp.MSVCIRT.dll_public:_void___thiscall_ifstream::constructor_char_const___int__int_]
lea ecx, [ebp + 8]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString_3
mov byte [ebp - 4], 6
mov dword [ebp - 0x14], edi
push 0xa
lea eax, [ebp - 0x2a4]
push 0x12c
push eax
lea ecx, [ebp - 0x74]
call dword [sym.imp.MSVCIRT.dll_public:_class_istream____thiscall_istream::getline_char___int__char_]
cmp eax, edi
jne 0x40e02d
xor ecx, ecx
jmp 0x40e034
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
add ecx, eax
test byte [ecx + 8], 6
jne 0x40e082
cmp ecx, edi
je 0x40e082
lea eax, [ebp - 0x2a4]
lea ecx, [ebp + 8]
push eax
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [ebp + 8]
cmp dword [eax - 8], 7
jle 0x40e06f
push str.http:__
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::Find
cmp eax, 0xffffffff
jne 0x40e06f
mov dword [ebx + 0x60], 1
lea eax, [ebp + 8]
mov ecx, esi
push eax
push dword [esi + 8]
call sub.MFC42.DLL_CStringArray::SetAtGrow_1
inc dword [ebp - 0x14]
jmp 0x40e00e
cmp dword [ebp - 0x14], 3
jge 0x40e08f
mov dword [ebx + 0x60], 1
lea ecx, [ebp - 0x74]
call dword [sym.imp.MSVCIRT.dll_public:_void___thiscall_ifstream::close_void_]
lea ecx, [ebp + 8]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 3
call dword [sym.imp.MSVCIRT.dll_public_virtual:_void___thiscall_ifstream::destructor_void_]
lea ecx, [ebp - 0x68]
call dword [sym.imp.MSVCIRT.dll_public_virtual:_void___thiscall_ios::destructor_void_]
cmp dword [ebx + 0x6c], 0x4d
je 0x40e0c7
mov dword [ebx + 0x60], 1
cmp dword [ebx + 0x60], 1
jne 0x40e565
cmp dword [ebx + 0x6c], edi
jle 0x40e0e0
push 0xffffffffffffffff
push edi
mov ecx, esi
call sub.MFC42.DLL_CStringArray::SetSize
mov eax, dword [esi + 8]
push 0x424250
push eax
mov ecx, esi
call sub.MFC42.DLL_CStringArray::SetAtGrow
mov eax, dword [esi + 8]
push 0x42420c
push eax
mov ecx, esi
call sub.MFC42.DLL_CStringArray::SetAtGrow
mov eax, dword [esi + 8]
push 0x4241e0
push eax
mov ecx, esi
call sub.MFC42.DLL_CStringArray::SetAtGrow
mov eax, dword [esi + 8]
push 0x4241b0
push eax
mov ecx, esi
call sub.MFC42.DLL_CStringArray::SetAtGrow
mov eax, dword [esi + 8]
push 0x424178
push eax
mov ecx, esi
call sub.MFC42.DLL_CStringArray::SetAtGrow
mov eax, dword [esi + 8]
push 0x424140
push eax
mov ecx, esi
call sub.MFC42.DLL_CStringArray::SetAtGrow
mov eax, dword [esi + 8]
push 0x424110
push eax
mov ecx, esi
call sub.MFC42.DLL_CStringArray::SetAtGrow
mov eax, dword [esi + 8]
push 0x4240e8
push eax
mov ecx, esi
call sub.MFC42.DLL_CStringArray::SetAtGrow
mov eax, dword [esi + 8]
push 0x4240b4
push eax
mov ecx, esi
call sub.MFC42.DLL_CStringArray::SetAtGrow
mov eax, dword [esi + 8]
push 0x424080
push eax
mov ecx, esi
call sub.MFC42.DLL_CStringArray::SetAtGrow
mov eax, dword [esi + 8]
push 0x42404c
push eax
mov ecx, esi
call sub.MFC42.DLL_CStringArray::SetAtGrow
mov eax, dword [esi + 8]
push str.pptvhttp:__search.pptv.com_s_video_q_searchkey
push eax
mov ecx, esi
call sub.MFC42.DLL_CStringArray::SetAtGrow
mov eax, dword [esi + 8]
push 0x423fe0
push eax
mov ecx, esi
call sub.MFC42.DLL_CStringArray::SetAtGrow
mov eax, dword [esi + 8]
push 0x423f90
push eax
mov ecx, esi
call sub.MFC42.DLL_CStringArray::SetAtGrow
mov eax, dword [esi + 8]
push 0x423f54
push eax
mov ecx, esi
call sub.MFC42.DLL_CStringArray::SetAtGrow
mov eax, dword [esi + 8]
push 0x423f1c
push eax
mov ecx, esi
call sub.MFC42.DLL_CStringArray::SetAtGrow
mov eax, dword [esi + 8]
push 0x423ee8
push eax
mov ecx, esi
call sub.MFC42.DLL_CStringArray::SetAtGrow
mov eax, dword [esi + 8]
push 0x423ebc
push eax
mov ecx, esi
call sub.MFC42.DLL_CStringArray::SetAtGrow
mov eax, dword [esi + 8]
push 0x423e64
push eax
mov ecx, esi
call sub.MFC42.DLL_CStringArray::SetAtGrow
mov eax, dword [esi + 8]
push 0x423e20
push eax
mov ecx, esi
call sub.MFC42.DLL_CStringArray::SetAtGrow
mov eax, dword [esi + 8]
push 0x423df0
push eax
mov ecx, esi
call sub.MFC42.DLL_CStringArray::SetAtGrow
mov eax, dword [esi + 8]
push 0x423dc0
push eax
mov ecx, esi
call sub.MFC42.DLL_CStringArray::SetAtGrow
mov eax, dword [esi + 8]
push 0x423d8c
push eax
mov ecx, esi
call sub.MFC42.DLL_CStringArray::SetAtGrow
mov eax, dword [esi + 8]
push 0x423d60
push eax
mov ecx, esi
call sub.MFC42.DLL_CStringArray::SetAtGrow
mov eax, dword [esi + 8]
push 0x423d18
push eax
mov ecx, esi
call sub.MFC42.DLL_CStringArray::SetAtGrow
mov eax, dword [esi + 8]
push 0x423cc0
push eax
mov ecx, esi
call sub.MFC42.DLL_CStringArray::SetAtGrow
mov eax, dword [esi + 8]
push 0x423c84
push eax
mov ecx, esi
call sub.MFC42.DLL_CStringArray::SetAtGrow
mov eax, dword [esi + 8]
mov edi, 0x41da50
push edi
push eax
mov ecx, esi
call sub.MFC42.DLL_CStringArray::SetAtGrow
mov eax, dword [esi + 8]
push 0x423c58
push eax
mov ecx, esi
call sub.MFC42.DLL_CStringArray::SetAtGrow
mov eax, dword [esi + 8]
push 0x423c00
push eax
mov ecx, esi
call sub.MFC42.DLL_CStringArray::SetAtGrow
mov eax, dword [esi + 8]
push 0x423bd4
push eax
mov ecx, esi
call sub.MFC42.DLL_CStringArray::SetAtGrow
mov eax, dword [esi + 8]
push 0x423b88
push eax
mov ecx, esi
call sub.MFC42.DLL_CStringArray::SetAtGrow
mov eax, dword [esi + 8]
push 0x423b54
push eax
mov ecx, esi
call sub.MFC42.DLL_CStringArray::SetAtGrow
mov eax, dword [esi + 8]
push 0x423b24
push eax
mov ecx, esi
call sub.MFC42.DLL_CStringArray::SetAtGrow
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, esi
call sub.MFC42.DLL_CStringArray::SetAtGrow
mov eax, dword [esi + 8]
push 0x423afc
push eax
mov ecx, esi
call sub.MFC42.DLL_CStringArray::SetAtGrow
mov eax, dword [esi + 8]
push 0x423ac0
push eax
mov ecx, esi
call sub.MFC42.DLL_CStringArray::SetAtGrow
mov eax, dword [esi + 8]
push 0x423a9c
push eax
mov ecx, esi
call sub.MFC42.DLL_CStringArray::SetAtGrow
mov eax, dword [esi + 8]
push 0x423a5c
push eax
mov ecx, esi
call sub.MFC42.DLL_CStringArray::SetAtGrow
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, esi
call sub.MFC42.DLL_CStringArray::SetAtGrow
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, esi
call sub.MFC42.DLL_CStringArray::SetAtGrow
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, esi
call sub.MFC42.DLL_CStringArray::SetAtGrow
mov eax, dword [esi + 8]
push 0x423a30
push eax
mov ecx, esi
call sub.MFC42.DLL_CStringArray::SetAtGrow
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, esi
call sub.MFC42.DLL_CStringArray::SetAtGrow
mov eax, dword [esi + 8]
push 0x4239f8
push eax
mov ecx, esi
call sub.MFC42.DLL_CStringArray::SetAtGrow
mov eax, dword [esi + 8]
push 0x4239bc
push eax
mov ecx, esi
call sub.MFC42.DLL_CStringArray::SetAtGrow
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, esi
call sub.MFC42.DLL_CStringArray::SetAtGrow
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, esi
call sub.MFC42.DLL_CStringArray::SetAtGrow
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, esi
call sub.MFC42.DLL_CStringArray::SetAtGrow
mov eax, dword [esi + 8]
push 0x423990
push eax
mov ecx, esi
call sub.MFC42.DLL_CStringArray::SetAtGrow
mov eax, dword [esi + 8]
push 0x423958
push eax
mov ecx, esi
call sub.MFC42.DLL_CStringArray::SetAtGrow
mov eax, dword [esi + 8]
push 0x423928
push eax
mov ecx, esi
call sub.MFC42.DLL_CStringArray::SetAtGrow
mov eax, dword [esi + 8]
push 0x423898
push eax
mov ecx, esi
call sub.MFC42.DLL_CStringArray::SetAtGrow
mov eax, dword [esi + 8]
push str.Googlehttp:__www.google.cn_products_qencodeURI_searchkey
push eax
mov ecx, esi
call sub.MFC42.DLL_CStringArray::SetAtGrow
mov eax, dword [esi + 8]
push 0x423830
push eax
mov ecx, esi
call sub.MFC42.DLL_CStringArray::SetAtGrow
mov eax, dword [esi + 8]
push 0x4237f4
push eax
mov ecx, esi
call sub.MFC42.DLL_CStringArray::SetAtGrow
mov eax, dword [esi + 8]
push str.4399http:__so2.4399.com_search_search.php_ksearchkey
push eax
mov ecx, esi
call sub.MFC42.DLL_CStringArray::SetAtGrow
mov eax, dword [esi + 8]
push str.3366http:__www.3366.com_search.shtml_querywordsearchkey
push eax
mov ecx, esi
call sub.MFC42.DLL_CStringArray::SetAtGrow
mov eax, dword [esi + 8]
push str.17173http:__search.17173.com_jsp_game.jsp_keywordencodeURI_searchkey
push eax
mov ecx, esi
call sub.MFC42.DLL_CStringArray::SetAtGrow
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, esi
call sub.MFC42.DLL_CStringArray::SetAtGrow
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, esi
call sub.MFC42.DLL_CStringArray::SetAtGrow
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, esi
call sub.MFC42.DLL_CStringArray::SetAtGrow
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, esi
call sub.MFC42.DLL_CStringArray::SetAtGrow
mov eax, dword [esi + 8]
push 0x4236fc
push eax
mov ecx, esi
call sub.MFC42.DLL_CStringArray::SetAtGrow
mov eax, dword [esi + 8]
push 0x423690
push eax
mov ecx, esi
call sub.MFC42.DLL_CStringArray::SetAtGrow
mov eax, dword [esi + 8]
push 0x42365c
push eax
mov ecx, esi
call sub.MFC42.DLL_CStringArray::SetAtGrow
mov eax, dword [esi + 8]
push 0x423630
push eax
mov ecx, esi
call sub.MFC42.DLL_CStringArray::SetAtGrow
mov eax, dword [esi + 8]
push 0x4235f0
push eax
mov ecx, esi
call sub.MFC42.DLL_CStringArray::SetAtGrow
mov eax, dword [esi + 8]
push 0x4235b4
push eax
mov ecx, esi
call sub.MFC42.DLL_CStringArray::SetAtGrow
mov eax, dword [esi + 8]
push 0x42357c
push eax
mov ecx, esi
call sub.MFC42.DLL_CStringArray::SetAtGrow
push 0x423548
mov ecx, esi
call fcn.0040e584
push 0x423510
mov ecx, esi
call fcn.0040e584
push 0x4234c4
mov ecx, esi
call fcn.0040e584
push 0x423498
mov ecx, esi
call fcn.0040e584
push 0x423468
mov ecx, esi
call fcn.0040e584
push 0x423428
mov ecx, esi
call fcn.0040e584
push 0x4233e0
mov ecx, esi
call fcn.0040e584
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4