Function at 0x416660
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x45c602
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4760f4]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x28]
push eax
push 0x66
call fcn.00418540
lea edi, [esi + 0x98]
xor ebx, ebx
mov ecx, edi
mov dword [esp + 0x20], ebx
mov dword [esi], vtable.CUpdateDlg.1.0
mov dword [esi + 0x94], vtable.CUpdateDlg.0
call fcn.00423f61
mov dword [edi], vtable.CWebBrowser.0
lea edi, [esi + 0xec]
mov ecx, edi
mov byte [esp + 0x20], 1
call fcn.00423f61
mov dword [edi], vtable.CWebBrowser.0
mov byte [esp + 0x20], 2
call fcn.004294ec
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4166f7
push 0x80004005
call fcn.00401010
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x5364], eax
lea ebp, [esi + 0x5368]
mov ecx, ebp
mov byte [esp + 0x20], 3
call fcn.00423f61
mov dword [ebp], vtable.CBitmapButton.0
mov dword [ebp + 0x58], ebx
mov edi, vtable.CBitmap.0
mov dword [ebp + 0x54], edi
mov dword [ebp + 0x60], ebx
mov dword [ebp + 0x5c], edi
mov dword [ebp + 0x68], ebx
mov dword [ebp + 0x64], edi
mov dword [ebp + 0x70], ebx
mov dword [ebp + 0x6c], edi
lea ebp, [esi + 0x53dc]
mov ecx, ebp
mov byte [esp + 0x20], 4
call fcn.00423f61
mov dword [ebp], vtable.CBitmapButton.0
mov dword [ebp + 0x58], ebx
mov dword [ebp + 0x54], edi
mov dword [ebp + 0x60], ebx
mov dword [ebp + 0x5c], edi
mov dword [ebp + 0x68], ebx
mov dword [ebp + 0x64], edi
mov dword [ebp + 0x70], ebx
mov dword [ebp + 0x6c], edi
lea ebp, [esi + 0x5450]
mov ecx, ebp
mov byte [esp + 0x20], 5
call fcn.00423f61
mov dword [ebp], vtable.CBitmapButton.0
mov dword [ebp + 0x58], ebx
mov dword [ebp + 0x54], edi
mov dword [ebp + 0x60], ebx
mov dword [ebp + 0x5c], edi
mov dword [ebp + 0x68], ebx
mov dword [ebp + 0x64], edi
mov dword [ebp + 0x70], ebx
mov dword [ebp + 0x6c], edi
lea ebp, [esi + 0x54c4]
mov ecx, ebp
mov byte [esp + 0x20], 6
call fcn.00423f61
mov dword [ebp], vtable.CBitmapButton.0
mov dword [ebp + 0x58], ebx
mov dword [ebp + 0x54], edi
mov dword [ebp + 0x60], ebx
mov dword [ebp + 0x5c], edi
mov dword [ebp + 0x68], ebx
mov dword [ebp + 0x64], edi
mov dword [ebp + 0x70], ebx
mov dword [ebp + 0x6c], edi
lea ebp, [esi + 0x5538]
mov ecx, ebp
mov byte [esp + 0x20], 7
call fcn.00423f61
mov dword [ebp], vtable.CBitmapButton.0
mov dword [ebp + 0x58], ebx
mov dword [ebp + 0x54], edi
mov dword [ebp + 0x60], ebx
mov dword [ebp + 0x5c], edi
mov dword [ebp + 0x68], ebx
mov dword [ebp + 0x64], edi
mov dword [ebp + 0x70], ebx
mov dword [ebp + 0x6c], edi
lea ebp, [esi + 0x55ac]
mov byte [esp + 0x20], 8
mov ecx, ebp
call fcn.00423f61
mov dword [ebp], vtable.CBitmapButton.0
mov dword [ebp + 0x58], ebx
mov dword [ebp + 0x54], edi
mov dword [ebp + 0x60], ebx
mov dword [ebp + 0x5c], edi
mov dword [ebp + 0x68], ebx
mov dword [ebp + 0x64], edi
mov dword [ebp + 0x70], ebx
mov dword [ebp + 0x6c], edi
lea ebp, [esi + 0x5620]
mov ecx, ebp
mov byte [esp + 0x20], 9
call fcn.00423f61
mov dword [ebp], vtable.CBitmapButton.0
mov dword [ebp + 0x58], ebx
mov dword [ebp + 0x54], edi
mov dword [ebp + 0x60], ebx
mov dword [ebp + 0x5c], edi
mov dword [ebp + 0x68], ebx
mov dword [ebp + 0x64], edi
mov dword [ebp + 0x70], ebx
mov dword [ebp + 0x6c], edi
lea ecx, [esi + 0x5694]
mov byte [esp + 0x20], 0xa
call fcn.00417fc0
lea ebp, [esi + 0x5700]
mov ecx, ebp
mov byte [esp + 0x20], 0xb
call fcn.00423f61
mov dword [ebp], vtable.CBitmapButton.0
mov dword [ebp + 0x58], ebx
mov dword [ebp + 0x54], edi
mov dword [ebp + 0x60], ebx
mov dword [ebp + 0x5c], edi
mov dword [ebp + 0x68], ebx
mov dword [ebp + 0x64], edi
mov dword [ebp + 0x70], ebx
mov dword [ebp + 0x6c], edi
lea ecx, [esi + 0x5774]
mov byte [esp + 0x20], 0xc
call fcn.00417fc0
lea ecx, [esi + 0x57e0]
mov byte [esp + 0x20], 0xd
call fcn.00419480
lea ecx, [esi + 0x5808]
mov byte [esp + 0x20], 0xe
call fcn.00419480
lea ecx, [esi + 0x583c]
mov byte [esp + 0x20], 0xf
call fcn.00408040
lea ecx, [esi + 0x5854]
mov byte [esp + 0x20], 0x10
call fcn.00417990
lea ecx, [esi + 0x5960]
mov byte [esp + 0x20], 0x11
call fcn.00408040
lea ecx, [esi + 0x5978]
mov byte [esp + 0x20], 0x12
call fcn.00408040
mov byte [esp + 0x20], 0x13
call fcn.0042a359
call fcn.0042a359
mov eax, dword [eax + 0xc]
push 0x80
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov ecx, esi
mov dword [esi + 0x5834], eax
call fcn.00413040
push 0x81
mov ecx, 0x4838c0
call dword [sym.imp.mumsg.dll_public:_char____thiscall_CMsg::Get_int_]
lea edi, [esi + 0x5154]
mov cl, byte [eax]
mov byte [edi], cl
inc eax
inc edi
cmp cl, bl
jne 0x416957
lea ecx, [esi + 0x5254]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push pe_nt_image_headers32
lea edx, [esi + 0x1b6]
push ebx
push edx
call fcn.0043f280
mov eax, 1
mov dword [esi + 0x31c], eax
mov dword [esi + 0x5830], eax
add esp, 0xc
mov dword [esi + 0x140], ebx
mov dword [esi + 0x320], ebx
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4