Function at 0x4084c0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4478d2
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x45fce8]
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.0040d0b0
lea edi, [esi + 0x94]
xor ebx, ebx
mov ecx, edi
mov dword [esp + 0x20], ebx
mov dword [esi], vtable.CUpdateDlg.0
call fcn.00417667
mov dword [edi], vtable.CWebBrowser.0
lea edi, [esi + 0xe8]
mov ecx, edi
mov byte [esp + 0x20], 1
call fcn.00417667
mov dword [edi], vtable.CWebBrowser.0
push ebx
push ebx
push ebx
push ebx
lea edi, [esi + 0x3fad0]
push 1
push ebx
mov ecx, edi
mov byte [esp + 0x38], 2
mov dword [esp + 0x40], edi
call fcn.0041e2b0
push 1
mov ecx, edi
mov byte [esp + 0x24], 3
mov dword [edi], vtable.CCallbackInternetSession.0
call fcn.0041e30f
lea edi, [esi + 0x43b9c]
mov ecx, edi
mov byte [esp + 0x20], 4
call fcn.00417667
mov dword [edi], vtable.CStatic.0
lea edi, [esi + 0x43bf0]
mov ecx, edi
mov byte [esp + 0x20], 5
call fcn.00417667
mov dword [edi], vtable.CStatic.0
mov byte [esp + 0x20], 6
call fcn.0041c933
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4085ae
push 0x80004005
call fcn.004014e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x43c44], eax
lea ebp, [esi + 0x43c48]
mov ecx, ebp
mov byte [esp + 0x20], 7
call fcn.00417667
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 + 0x43cbc]
mov ecx, ebp
mov byte [esp + 0x20], 8
call fcn.00417667
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 + 0x43d30]
mov ecx, ebp
mov byte [esp + 0x20], 9
call fcn.00417667
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 + 0x43da4]
mov ecx, ebp
mov byte [esp + 0x20], 0xa
call fcn.00417667
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 + 0x43e18]
mov ecx, ebp
mov byte [esp + 0x20], 0xb
call fcn.00417667
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 + 0x43e8c]
mov byte [esp + 0x20], 0xc
mov ecx, ebp
call fcn.00417667
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 + 0x43f00]
mov byte [esp + 0x20], 0xd
call fcn.0040e040
lea ecx, [esi + 0x43f28]
mov byte [esp + 0x20], 0xe
call fcn.0040e040
lea ecx, [esi + 0x43f5c]
mov byte [esp + 0x20], 0xf
call fcn.0040c440
mov byte [esp + 0x20], 0x10
call fcn.00415802
call fcn.00415802
mov eax, dword [eax + 0xc]
push 0x80
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov ecx, esi
mov dword [esi + 0x43fc8], eax
call fcn.00406c40
push 0x81
mov ecx, 0x46d410
call dword [sym.imp.mumsg.dll_public:_char____thiscall_CMsg::Get_int_]
lea edi, [esi + 0x43984]
lea esp, [esp]
mov cl, byte [eax]
mov byte [edi], cl
add eax, 1
add edi, 1
cmp cl, bl
jne 0x408760
lea ecx, [esi + 0x43a84]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push pe_nt_image_headers32
lea edx, [esi + 0x3f968]
push ebx
push edx
call fcn.00431410
mov dword [esi + 0x13c], ebx
mov dword [esi + 0x3fae8], 1
mov dword [esi + 0x3faec], ebx
mov dword [esi + 0x88], ebx
mov dword [esi + 0x43fd0], ebx
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x90], ebx
mov dword [esi + 0x43f50], ebx
mov byte [esi + 0x43f54], bl
mov dword [esi + 0x43f55], ebx
add esp, 0xc
mov byte [esi + 0x43f59], bl
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