Function at 0x4050b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x573fd3
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x5d9000]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x34], edi
push 0
push 0x66
mov dword [ebp - 0x38], edi
call fcn.0041c02c
lea esi, [edi + 0xa8]
mov dword [ebp - 4], 0
mov ecx, esi
mov dword [edi], vtable.CCatchScreenDlg.0
mov dword [ebp - 0x34], esi
call fcn.0040fb6a
mov dword [esi], vtable.CWebBrowser2.0
mov byte [ebp - 4], 1
lea eax, [edi + 0x17c]
mov dword [edi + 0x15c], 0
mov ecx, eax
mov dword [edi + 0x160], 0
mov dword [edi + 0x164], 0
mov dword [edi + 0x168], 0
mov dword [edi + 0x16c], 0
mov dword [edi + 0x170], 0
mov dword [edi + 0x174], 0
mov dword [edi + 0x178], 0
mov dword [eax], vtable.BaseTracker.0
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 0
mov dword [eax + 0x28], 0
mov dword [eax + 0x30], 0
mov dword [eax + 0x34], 0
mov dword [eax + 0x38], 0
mov dword [eax + 0x3c], 0
mov dword [eax + 0x40], 0
mov dword [eax + 0x44], 0
call fcn.00403800
mov dword [edi + 0x1d4], 0
mov dword [edi + method.CBrush.virtual_0], vtable.CBrush.0
mov dword [edi + method.CList_class_IControlSiteFactory___class_IControlSiteFactory__.virtual_0], vtable.CList_class_CShape___class_CShape__.0
mov dword [edi + 0x1ec], 0
mov dword [edi + 0x1f0], 0
mov dword [edi + 0x1e8], 0
mov dword [edi + 0x1e4], 0
mov dword [edi + 0x1f4], 0
mov dword [edi + 0x1f8], 0xa
mov dword [edi + method.CList_class_IControlSiteFactory___class_IControlSiteFactory__.virtual_0], vtable.CList_class_CPoint__class_CPoint_.0
mov dword [edi + 0x208], 0
mov dword [edi + 0x20c], 0
mov dword [edi + 0x204], 0
mov dword [edi + 0x200], 0
mov dword [edi + 0x210], 0
mov dword [edi + 0x214], 0xa
mov dword [edi + 0x240], 0
mov dword [edi + method.CFont.virtual_0], vtable.CFont.0
mov dword [edi + 0x248], 0
mov dword [edi + method.CRgn.virtual_0], vtable.CRgn.0
mov byte [ebp - 4], 7
call fcn.0040f20f
mov ecx, eax
test ecx, ecx
je 0x405682
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [edi + 0x24c], eax
lea esi, [edi + 0x260]
mov byte [ebp - 4], 8
mov ecx, esi
mov dword [ebp - 0x3c], esi
call fcn.0040fb6a
mov byte [ebp - 4], 9
lea eax, [ebp - 0x30]
mov dword [esi], vtable.CInputEdit.0
push 0
mov dword [esi + 0x80], 0
mov dword [esi + 0x84], 0
mov dword [esi + 0x88], 0
mov dword [esi + 0x8c], 0
push eax
mov dword [esi + 0x90], 0
call dword [sym.imp.USER32.dll_CopyRect]
movups xmm0, xmmword [ebp - 0x30]
push 8
movups xmmword [esi + 0x80], xmm0
call fcn.0041e4fb
add esp, 4
mov dword [ebp - 0x34], eax
test eax, eax
je 0x40533b
mov dword [eax + 4], 0
mov dword [eax], vtable.CFont.0
jmp 0x405340
xor eax, eax
mov dword [ebp - 0x34], eax
push 0x5b87a0
push 0x20
push 0
push 0
push 0
push 0x86
push 0
push 0
push 0
push 0x190
push 0
push 0
push 0
push 0xc
mov dword [esi + 0xa4], eax
call dword [sym.imp.GDI32.dll_CreateFontW]
mov ecx, dword [ebp - 0x34]
push eax
call fcn.00418dcd
mov dword [esi + 0xa8], 0xff
push 0xfffffffffffffffc
push 0xfffffffffffffffd
push 0xfffffffffffffffe
push 0xffffffffffffffff
lea eax, [edi + 0x1ac]
mov byte [ebp - 4], 0xa
push eax
mov dword [edi + 0x1a8], 0x51
call dword [sym.imp.USER32.dll_SetRect]
mov esi, dword [sym.imp.GDI32.dll_CreatePen]
push 0x82640a
push 0
push 2
mov dword [edi + 0x180], 0x82640a
call esi
mov dword [0x5e23d4], eax
test eax, eax
jne 0x4053d7
push 5
call fcn.0041aa15
call fcn.00418d57
push dword [edi + 0x180]
push 0
push 0
call esi
mov dword [0x5e23d0], eax
test eax, eax
jne 0x4053f8
push 5
call fcn.0041aa15
call fcn.00418d57
mov esi, dword [sym.imp.USER32.dll_LoadCursorW]
push 0x7f82
push 0
call esi
push 0x7f83
push 0
mov dword [0x5e23dc], eax
call esi
mov ecx, dword [0x5e23dc]
push 0x7f85
push 0
mov dword [0x5e23e0], eax
mov dword [0x5e23e4], ecx
mov dword [0x5e23e8], eax
call esi
push 0x7f84
push 0
mov dword [0x5e23ec], eax
call esi
mov ecx, dword [0x5e23ec]
push 0x7f86
push 0
mov dword [0x5e23f0], eax
mov dword [0x5e23f4], ecx
mov dword [0x5e23f8], eax
call esi
mov dword [0x5e23fc], eax
call fcn.0041a828
call fcn.0041a828
push 0x81
mov eax, dword [eax + 0xc]
push eax
call esi
mov dword [edi + 0x1d8], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x20]
mov dword [edi + 0x154], 0
push eax
mov dword [edi + 0x148], 0
mov dword [edi + 0x14c], 0
mov dword [edi + 0x150], 0
mov dword [edi + 0x144], 0
mov dword [edi + 0x158], 0
mov dword [edi + 0x15c], 0
mov dword [edi + 0x160], 0
mov dword [edi + 0x164], 0
mov dword [edi + 0x168], 0
mov dword [edi + 0x16c], 0
mov dword [edi + 0x170], 0
mov dword [edi + 0x234], 0
mov dword [edi + 0x238], 0
mov dword [edi + 0x1cc], 0
push 0x409780
push 0
mov dword [edi + 0x21c], 0
mov dword [edi + 0x220], 0
mov dword [edi + 0x224], 0
mov dword [edi + 0x228], 0
mov dword [edi + 0x22c], 0
push 0
mov dword [edi + 0x230], 1
movups xmmword [ebp - 0x20], xmm0
call dword [sym.imp.USER32.dll_EnumDisplayMonitors]
mov eax, dword [ebp - 0x20]
lea esi, [edi + 0x24c]
mov ecx, dword [ebp - 0x18]
mov dword [edi + 0x134], eax
mov eax, dword [ebp - 0x1c]
mov dword [edi + 0x138], eax
mov eax, dword [ebp - 0x14]
mov dword [edi + 0x13c], ecx
mov dword [edi + 0x12c], ecx
mov ecx, 1
mov dword [edi + 0x140], eax
mov dword [edi + 0x130], eax
mov eax, dword [esi]
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, 0x105
or ecx, eax
jge 0x4055c5
push 0x105
mov ecx, esi
call fcn.004035a0
push dword [esi]
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov eax, dword [esi]
test eax, eax
jne 0x4055dc
xor ecx, ecx
jmp 0x4055f2
push dword [eax - 8]
push eax
call fcn.0055c203
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x405678
mov eax, dword [esi]
cmp ecx, dword [eax - 8]
jg 0x405678
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [esi]
push edx
mov word [eax + ecx*2], dx
lea eax, [ebp - 0x20]
push eax
mov ecx, edi
call fcn.00407080
push 0x32
push 0x32
push 0
push 0
mov dword [edi + 0x128], eax
call dword [sym.imp.GDI32.dll_CreateRectRgn]
push eax
lea ecx, [edi + 0x244]
call fcn.00418dcd
mov dword [edi + 0x250], 0xff
call fcn.0041a828
call fcn.0041a828
push 0x90
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [edi + 0x258], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00554267
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.004037b0
push 0x80004005
call fcn.004037b0
int3