Function at 0x487610
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x554c90
mov eax, dword fs:[0]
push eax
sub esp, 0x168
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5c403c]
xor eax, esp
push eax
lea eax, [esp + 0x17c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x18c]
mov ecx, dword [edi + 0xb0]
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
lea edx, [esp + 0x60]
xor ebx, ebx
push edx
mov dword [esp + 0x34], ebx
call eax
mov edx, dword [esp + 0x60]
lea ecx, [esp + 0x58]
push ecx
push edx
call dword [sym.imp.htmlayout.dll_HTMLayoutGetRootElement]
test eax, eax
je 0x48767a
mov eax, 0x80004005
jmp 0x487dc6
mov eax, dword [esp + 0x58]
push eax
mov esi, eax
call dword [sym.imp.htmlayout.dll_HTMLayout_UseElement]
mov ebp, eax
neg ebp
sbb ebp, ebp
not ebp
and ebp, esi
mov dword [esp + 0x24], ebp
mov dword [esp + 0x184], ebx
lea eax, [esp + 0x38]
push eax
call fcn.004d3aa0
mov byte [esp + 0x184], 1
mov esi, dword [edi + 0xf4]
mov ecx, dword [edi + 0xf8]
add ecx, esi
cmp esi, ecx
jbe 0x4876c6
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edx, dword [edi + 0xdc]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], esi
mov bl, 2
jmp 0x4876e0
mov eax, dword [edi + 0xf4]
mov esi, dword [edi + 0xf8]
add esi, eax
cmp eax, esi
jbe 0x4876f8
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x1c]
mov eax, dword [edi + 0xdc]
test ecx, ecx
je 0x48770a
cmp ecx, eax
je 0x487710
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp dword [esp + 0x20], esi
je 0x487936
lea eax, [esp + 0x1c]
call fcn.00413720
mov eax, dword [eax + 4]
lea ecx, [esp + 0x24]
push ecx
mov edx, eax
call fcn.00486860
mov dword [esp + 0x58], eax
test eax, eax
je 0x487903
push eax
mov esi, eax
call dword [sym.imp.htmlayout.dll_HTMLayout_UseElement]
mov edi, eax
neg edi
sbb edi, edi
not edi
and edi, esi
mov dword [esp + 0x5c], edi
mov byte [esp + 0x184], bl
lea eax, [esp + 0x1c]
call fcn.00413720
push eax
call fcn.004df440
lea edx, [esp + 0x18]
push edx
push edi
mov esi, eax
mov dword [esp + 0x20], 0
call dword [sym.imp.htmlayout.dll_HTMLayoutGetElementState]
mov eax, dword [esp + 0x18]
shr eax, 6
and al, 1
je 0x4877b3
test esi, esi
je 0x4877dc
mov ecx, dword [0x5c6f48]
mov edx, dword [ecx]
push edx
push 3
push esi
call fcn.004de050
push 1
mov ecx, esi
call fcn.004df920
inc dword [esp + 0x30]
jmp 0x4878e1
test esi, esi
je 0x4878e1
push 1
mov ecx, esi
call fcn.004de700
mov eax, 1
call fcn.004de860
push 0
mov ecx, esi
call fcn.004df920
jmp 0x4878e1
lea eax, [esp + 0x1c]
call fcn.00413720
mov eax, dword [eax + 8]
cmp dword [eax - 0xc], 0
je 0x4878e1
lea ecx, [esp + 0x28]
call dword [0x55a6c4]
mov byte [esp + 0x184], 3
lea ecx, [esp + 0x2c]
call dword [0x55a6c4]
mov byte [esp + 0x184], 4
push 0x400
lea ecx, [esp + 0x2c]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBuffer]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0xffffffffffffffff
lea ecx, [esp + 0x2c]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::ReleaseBuffer]
push 0x56152c
lea ecx, [esp + 0x2c]
call dword [0x55a294]
mov esi, dword [esp + 0x28]
push 0x400
lea ecx, [esp + 0x30]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBuffer]
push eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push 0x56f23c
push esi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push 0xffffffffffffffff
lea ecx, [esp + 0x30]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::ReleaseBuffer]
push str..wtwExtension
lea ecx, [esp + 0x30]
call dword [0x55a294]
lea ecx, [esp + 0x2c]
push ecx
lea eax, [esp + 0x20]
call fcn.00413720
mov ecx, eax
add ecx, 0x10
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
inc dword [esp + 0x30]
lea eax, [esp + 0x1c]
call fcn.00413720
push eax
lea eax, [esp + 0x3c]
call fcn.00487f10
mov byte [esp + 0x184], 3
lea ecx, [esp + 0x2c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov byte [esp + 0x184], bl
lea ecx, [esp + 0x28]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov byte [esp + 0x184], 1
test edi, edi
je 0x4878f4
push edi
call dword [sym.imp.htmlayout.dll_HTMLayout_UnuseElement]
mov edi, dword [esp + 0x18c]
mov dword [esp + 0x5c], 0
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x487930
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
xor ecx, ecx
mov edx, dword [ecx + 0x1c]
add edx, dword [eax + 0x18]
cmp dword [esp + 0x20], edx
jb 0x487927
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
inc dword [esp + 0x20]
jmp 0x4876e0
mov eax, dword [eax]
mov ecx, eax
jmp 0x487915
cmp dword [esp + 0x30], 0
jne 0x4879d3
cmp dword [edi + 0xd4], 0
je 0x4879d3
push str.wtwOther
lea ecx, [esp + 0x1c]
call dword [0x55a504]
mov byte [esp + 0x184], 5
mov eax, dword [edi + 0x20]
mov edx, dword [0x5c6f7c]
push eax
push 0x30
push 1
push str.You_have_to_select_at_least_one_position._If_You_dont_want_to_do_it__cancel_this_wizard_and_setup_everything_in_options_panel.
lea ecx, [esp + 0x28]
push 0x419
push ecx
mov ecx, str.Cannot_continue
call fcn.00504530
add esp, 0x18
mov byte [esp + 0x184], 1
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov byte [esp + 0x184], 0
lea edx, [esp + 0x38]
push edx
call fcn.00487e30
mov dword [esp + 0x184], 0xffffffff
test ebp, ebp
je 0x4879c9
push ebp
call dword [sym.imp.htmlayout.dll_HTMLayout_UnuseElement]
mov eax, 1
jmp 0x487dbe
cmp dword [esp + 0x54], 0
je 0x487d80
mov eax, dword [edi + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call sub.mfc90u.dll_CWnd::FromHandle
push eax
lea ecx, [esp + 0x68]
push ecx
call fcn.004881e0
mov byte [esp + 0x184], 6
push str.wtwOther
lea ecx, [esp + 0x1c]
call dword [0x55a504]
mov byte [esp + 0x184], 7
mov eax, dword [0x5c6f7c]
push str.Please_wait__addons_are_being_downloaded...
push 0x415
lea edx, [esp + 0x20]
push edx
call fcn.00504820
push eax
lea ecx, [esp + 0x120]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_3]
mov byte [esp + 0x184], 6
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
lea edx, [eax + ecx]
mov esi, eax
cmp eax, edx
jbe 0x487a6c
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x50]
mov ebp, dword [esp + 0x38]
mov ebx, dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov dword [esp + 0x1c], ebp
mov edi, esi
mov ecx, dword [esp + 0x54]
lea esi, [eax + ecx]
mov dword [esp + 0x20], edi
cmp eax, esi
jbe 0x487a8d
call ebx
test ebp, ebp
je 0x487a97
cmp ebp, dword [esp + 0x38]
je 0x487a99
call ebx
cmp edi, esi
je 0x487ae5
lea eax, [esp + 0x1c]
call fcn.00413720
lea esi, [eax + 8]
lea eax, [esp + 0x1c]
call fcn.00413720
add eax, 0x10
push eax
mov eax, esi
lea esi, [esp + 0x68]
call fcn.00488370
test ebp, ebp
jne 0x487ade
call ebx
xor eax, eax
xor ecx, ecx
mov edx, dword [ecx + 0x1c]
add edx, dword [eax + 0x18]
cmp edi, edx
jb 0x487ad7
call ebx
mov eax, dword [esp + 0x50]
inc edi
jmp 0x487a7c
mov eax, dword [ebp]
mov ecx, eax
jmp 0x487acb
lea ecx, [esp + 0x64]
call sub.mfc90u.dll_CDialog::DoModal
cmp eax, 1
je 0x487b66
push str.wtwOther
lea ecx, [esp + 0x1c]
call dword [0x55a504]
mov byte [esp + 0x184], 8
lea eax, [esp + 0x64]
call fcn.004883c0
push eax
lea eax, [esp + 0x3c]
call fcn.00487e90
mov eax, dword [eax + 0xc]
mov ebx, dword [esp + 0x18c]
mov ecx, dword [ebx + 0x20]
push eax
push ecx
push 0x30
push 1
push str.Error_occured_while_downloading__s._Wizard_cannot_continue__check_internet_connectin_or_dont_select_problematic_plugin_on_the_list.
lea edx, [esp + 0x2c]
push 0x416
push edx
mov edx, dword [0x5c6f7c]
mov ecx, str.Download_error
call fcn.00504530
add esp, 0x1c
mov byte [esp + 0x184], 6
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
jmp 0x487b6d
mov ebx, dword [esp + 0x18c]
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
lea edx, [eax + ecx]
mov esi, eax
cmp eax, edx
jbe 0x487b88
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x50]
mov ebp, dword [esp + 0x38]
mov dword [esp + 0x1c], ebp
mov edi, esi
mov ecx, dword [esp + 0x54]
lea esi, [eax + ecx]
mov dword [esp + 0x20], edi
cmp eax, esi
jbe 0x487ba7
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
test ebp, ebp
je 0x487bb1
cmp ebp, dword [esp + 0x38]
je 0x487bb7
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp edi, esi
je 0x487ccb
lea eax, [esp + 0x1c]
call fcn.00413720
push 0
push 0
push 0
lea edx, [eax + 0x10]
mov eax, dword [0x5c6edc]
push 1
push eax
mov ecx, ebx
call fcn.0049bb40
test eax, eax
je 0x487c10
test ebp, ebp
jne 0x487c09
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
xor ecx, ecx
mov ecx, dword [ecx + 0x1c]
add ecx, dword [eax + 0x18]
cmp edi, ecx
jb 0x487c02
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x50]
inc edi
jmp 0x487b92
mov eax, dword [ebp]
mov ecx, eax
jmp 0x487bf2
push str.wtwOther
lea ecx, [esp + 0x1c]
call dword [0x55a504]
mov byte [esp + 0x184], 9
lea eax, [esp + 0x1c]
call fcn.00413720
mov edx, dword [eax + 0xc]
mov eax, dword [ebx + 0x20]
push edx
mov edx, dword [0x5c6f7c]
push eax
push 0x30
push 1
push str.Error_occured_while_installing__s._Wizard_cannot_continue__check_internet_connection_or_dont_select_problematic_plugin_on_the_list.
lea ecx, [esp + 0x2c]
push 0x417
push ecx
mov ecx, str.Instalation_error
call fcn.00504530
add esp, 0x1c
mov byte [esp + 0x184], 6
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov byte [esp + 0x184], 1
lea ecx, [esp + 0x64]
call fcn.004882b0
mov byte [esp + 0x184], 0xa
lea esi, [esp + 0x38]
call fcn.00505980
mov byte [esp + 0x184], 0
mov edx, dword [esp + 0x38]
push edx
call sub.mfc90u.dll_delete
add esp, 4
mov dword [esp + 0x184], 0xffffffff
mov eax, dword [esp + 0x24]
test eax, eax
je 0x487cc1
push eax
call dword [sym.imp.htmlayout.dll_HTMLayout_UnuseElement]
mov eax, 0x80004005
jmp 0x487dbe
call fcn.004deb60
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
mov ebx, dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
lea edx, [eax + ecx]
mov esi, eax
cmp eax, edx
jbe 0x487ced
call ebx
mov eax, dword [esp + 0x50]
mov ebp, dword [esp + 0x38]
mov dword [esp + 0x1c], ebp
mov edi, esi
mov ecx, dword [esp + 0x54]
lea esi, [eax + ecx]
mov dword [esp + 0x20], edi
cmp eax, esi
jbe 0x487d08
call ebx
test ebp, ebp
je 0x487d12
cmp ebp, dword [esp + 0x38]
je 0x487d14
call ebx
cmp edi, esi
je 0x487d6b
lea eax, [esp + 0x1c]
call fcn.00413720
push eax
call fcn.004df440
mov esi, eax
test esi, esi
je 0x487d47
mov edx, dword [0x5c6f48]
mov eax, dword [edx]
push eax
push 3
push esi
call fcn.004de050
push 1
mov ecx, esi
call fcn.004df920
test ebp, ebp
jne 0x487d64
call ebx
xor eax, eax
xor ecx, ecx
mov ecx, dword [ecx + 0x1c]
add ecx, dword [eax + 0x18]
cmp edi, ecx
jb 0x487d5d
call ebx
mov eax, dword [esp + 0x50]
inc edi
jmp 0x487cf7
mov eax, dword [ebp]
mov ecx, eax
jmp 0x487d51
mov byte [esp + 0x184], 1
lea ecx, [esp + 0x64]
call fcn.004882b0
mov ebp, dword [esp + 0x24]
mov byte [esp + 0x184], 0xd
lea esi, [esp + 0x38]
call fcn.00505980
mov byte [esp + 0x184], 0
mov edx, dword [esp + 0x38]
push edx
call sub.mfc90u.dll_delete
add esp, 4
mov dword [esp + 0x184], 0xffffffff
test ebp, ebp
je 0x487dbc
push ebp
call dword [sym.imp.htmlayout.dll_HTMLayout_UnuseElement]
xor eax, eax
mov dword [esp + 0x24], 0
mov ecx, dword [esp + 0x17c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x174
ret 4