Function at 0x4622fd
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4eacd3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x9c0
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi - 0xcc]
lea edi, [esi - 0xcc]
mov ecx, edi
call dword [eax + 0xb4]
mov ecx, dword [esp + 0x9e4]
mov edx, dword [esp + 0x9e8]
mov eax, dword [edi]
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], edx
push ecx
mov ecx, edi
call dword [eax + 0xa4]
mov eax, dword [esi + 0x128]
xor ebx, ebx
cmp eax, ebx
jne 0x462352
cmp dword [esi + 0x12c], ebx
je 0x462541
mov edx, dword [edi]
lea eax, [esp + 0x2c]
push eax
mov ecx, edi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
call dword [edx + 0x74]
mov eax, dword [esi + 0x12c]
mov ebp, dword [sym.imp.USER32.dll_SetRect]
cmp eax, ebx
je 0x46238b
push ebx
push ebx
push ebx
lea ecx, [esi + 0xf0]
push ebx
push ecx
call ebp
lea edi, [esi + 0xf0]
push edi
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x4626aa
mov edx, dword [esi + 0x10c]
mov eax, dword [esi + 0x104]
sub edx, eax
mov eax, dword [esp + 0x2c]
lea ecx, [edx + eax + 0x3c]
mov edx, dword [esp + 0x38]
push edx
push ecx
mov ecx, dword [esp + 0x38]
add eax, 0x3c
push ecx
lea edx, [esp + 0x28]
push eax
push edx
call ebp
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push eax
lea edx, [esp + 0x20]
push ecx
push edx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x462541
cmp dword [esi - 0x4c], ebx
je 0x462541
or ebp, 0xffffffff
push ebx
push ebp
push 2
push ebx
lea ecx, [esp + 0x198]
call fcn.00410c60
lea ecx, [esp + 0x188]
mov dword [esp + 0x9d8], ebx
call sub.MFC42.DLL_CDialog::DoModal
mov eax, dword [0x53a360]
mov ecx, 0x53a360
mov dword [esp + 0x10], ecx
call dword [eax + 4]
mov eax, dword [0x534064]
mov ebx, 1
test eax, eax
mov byte [esp + 0x9d8], bl
jne 0x462495
mov eax, dword [0x534060]
test eax, eax
jne 0x462495
push 0x24
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x3c], eax
test eax, eax
mov byte [esp + 0x9d8], 2
je 0x46246b
mov ecx, eax
call fcn.0040b730
jmp 0x46246d
xor eax, eax
mov ecx, dword [0x5265c0]
mov byte [esp + 0x9d8], bl
push ecx
push 0x40b380
mov ecx, 0x538d90
mov dword [0x534060], eax
call fcn.00402180
mov dword [0x534064], ebx
mov edx, dword [0x53a360]
mov edi, dword [0x534060]
mov ecx, 0x53a360
mov byte [esp + 0x9d8], 0
call dword [edx + 8]
mov ecx, edi
call fcn.0040f930
lea ecx, [esp + 0x98c]
mov dword [esp + 0x9d8], 7
call sub.MFC42.DLL_CTabCtrl::CTabCtrl
lea ecx, [esp + 0x7f8]
mov byte [esp + 0x9d8], 6
call fcn.00408ff0
lea ecx, [esp + 0x58c]
mov byte [esp + 0x9d8], 5
call fcn.004115e0
lea ecx, [esp + 0x1fc]
mov byte [esp + 0x9d8], 4
call fcn.00413460
lea ecx, [esp + 0x1f4]
mov byte [esp + 0x9d8], 3
mov dword [esp + method.CBrush.virtual_0], vtable.CBrush.0
call fcn.00401780
lea ecx, [esp + 0x188]
mov dword [esp + 0x9d8], ebp
call sub.MFC42.DLL_CDialog::CDialog
xor ebx, ebx
jmp 0x462544
or ebp, 0xffffffff
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push eax
lea edx, [esi + 0x150]
push ecx
push edx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x462681
mov eax, dword [esi + 0x148]
cmp dword [eax - 8], ebx
jle 0x462681
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esi + 0x148]
push 0
mov ebx, 0xe
push 0
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x9e4], ebx
call fcn.0044baf0
lea ecx, [esp + 0x54]
call fcn.004daec0
lea ecx, [esp + 0x84]
mov byte [esp + 0x9d8], 0xf
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea edx, [esp + 0x84]
lea eax, [esp + 0x84]
push edx
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push 0
push 0
push 3
push 0
push 0
lea ecx, [esp + 0x98]
push closesocket
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, ebp
jne 0x462621
lea ecx, [esp + 0x54]
mov byte [esp + 0x9d8], bl
call fcn.004daf40
lea ecx, [esp + 0x10]
mov dword [esp + 0x9d8], ebp
call sub.MFC42.DLL_CString::CString
jmp 0x4627ab
lea edx, [esp + 0x3c]
lea eax, [esp + 0x4c]
push edx
lea ecx, [esp + 0x48]
push eax
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x462658
mov eax, dword [esi + 0x14c]
lea edx, [esp + 0x3c]
lea ecx, [esp + 0x84]
push edx
push ecx
push eax
lea ecx, [esp + 0x60]
call fcn.004db600
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x54]
mov byte [esp + 0x9d8], bl
call fcn.004daf40
lea ecx, [esp + 0x10]
mov dword [esp + 0x9d8], ebp
call sub.MFC42.DLL_CString::CString
xor ebx, ebx
mov eax, dword [esi + 0x48]
cmp dword [eax - 8], ebx
je 0x4627ab
mov esi, dword [esi + 0xb0]
cmp esi, ebx
je 0x4627ab
push eax
push esi
call fcn.004c2900
add esp, 8
jmp 0x4627ab
mov edx, dword [edi + 8]
mov eax, dword [edi]
sub edx, eax
mov eax, dword [esp + 0x2c]
lea ecx, [edx + eax + 0x3c]
mov edx, dword [esp + 0x38]
push edx
push ecx
mov ecx, dword [esp + 0x38]
add eax, 0x3c
push ecx
lea edx, [esp + 0x28]
push eax
push edx
call ebp
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push eax
lea edx, [esp + 0x20]
push ecx
push edx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x4627ab
cmp dword [esi - 0x4c], ebx
je 0x4627ab
push ebx
mov ebx, 1
push ebx
push ebx
push 0
lea ecx, [esp + 0x198]
call fcn.00410c60
lea ecx, [esp + 0x188]
mov dword [esp + 0x9d8], 8
call sub.MFC42.DLL_CDialog::DoModal
lea ecx, [esp + 0x98c]
mov dword [esp + 0x9d8], 0xd
call sub.MFC42.DLL_CTabCtrl::CTabCtrl
lea ecx, [esp + 0x7f8]
mov byte [esp + 0x9d8], 0xc
call fcn.00408ff0
lea ecx, [esp + 0x58c]
mov byte [esp + 0x9d8], 0xb
call fcn.004115e0
lea ecx, [esp + 0x1fc]
mov byte [esp + 0x9d8], 0xa
call fcn.00413460
lea ecx, [esp + 0x1f4]
mov byte [esp + 0x9d8], 9
mov dword [esp + method.CBrush.virtual_0], vtable.CBrush.0
call fcn.00401780
lea ecx, [esp + 0x188]
mov dword [esp + 0x9d8], 0xffffffff
call sub.MFC42.DLL_CDialog::CDialog
mov ecx, dword [esp + 0x9d0]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x9cc
ret 0xc