Function at 0x4644f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49ebfd
mov eax, dword fs:[0]
push eax
sub esp, 0x3e8
mov eax, dword [0x4e2e58]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x3a0], ecx
lea ecx, [ebp - 0x39c]
call sub.mfc120.dll_Ordinal_500
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x374]
call dword [sym.imp.mfc120.dll_Ordinal_316]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x37c]
call dword [sym.imp.mfc120.dll_Ordinal_316]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x3a4]
call dword [sym.imp.mfc120.dll_Ordinal_316]
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x3a0]
call fcn.0042b840
mov dword [ebp - 0x388], eax
lea ecx, [ebp - 0x130]
call dword [sym.imp.GrphCalc.dll_public:_void___thiscall_CDRect::constructor_void_]
mov dword [ebp - 0x3dc], 0xff
push 0x4b08bd
lea ecx, [ebp - 0x374]
call dword [sym.imp.mfc120.dll_Ordinal_1524]
mov dword [ebp - 0x378], 0
jmp 0x4645b6
mov eax, dword [ebp - 0x378]
add eax, 1
mov dword [ebp - 0x378], eax
mov ecx, dword [ebp + 0xc]
call fcn.004928b0
cmp dword [ebp - 0x378], eax
jge 0x464680
cmp dword [ebp - 0x378], 0
jle 0x4645fd
mov ecx, dword [ebp - 0x378]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.004176d0
movzx edx, word [eax]
push edx
push 0x4b090c
lea eax, [ebp - 0x37c]
push eax
call dword [sym.imp.mfc120.dll_Ordinal_4764]
add esp, 0xc
jmp 0x464625
mov ecx, dword [ebp - 0x378]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.004176d0
movzx edx, word [eax]
push edx
push 0x4b0910
lea eax, [ebp - 0x37c]
push eax
call dword [sym.imp.mfc120.dll_Ordinal_4764]
add esp, 0xc
lea ecx, [ebp - 0x37c]
push ecx
lea edx, [ebp - 0x374]
push edx
lea eax, [ebp - 0x3b0]
push eax
call fcn.004138f0
add esp, 0xc
mov dword [ebp - 0x3b8], eax
mov ecx, dword [ebp - 0x3b8]
mov dword [ebp - 0x3ac], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x3ac]
push edx
lea ecx, [ebp - 0x374]
call dword [sym.imp.mfc120.dll_Ordinal_1521]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x3b0]
call dword [sym.imp.mfc120.dll_Ordinal_1041]
jmp 0x4645a7
mov ecx, dword [ebp - 0x3a0]
call dword [sym.imp.pblcdlg.dll_public:_int___thiscall_CShowView::GetCurrPage_void_]
push eax
lea eax, [ebp - 0x370]
push eax
mov ecx, dword [ebp - 0x388]
add ecx, 0x1a8
call dword [sym.imp.EleSet.dll_public:_class_CDRect___thiscall_CEleSet::GetAllOutRect_int_]
push eax
lea ecx, [ebp - 0x350]
push ecx
lea ecx, [ebp - 0x130]
call dword [sym.imp.GrphCalc.dll_public:_class_CDRect___thiscall_CDRect::operator_class_CDRect_const__]
push 0x100
push 0
mov edx, dword [ebp + 8]
push edx
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x110]
push eax
push 0x100
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0x4b0914
lea edx, [ebp - 0x110]
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push 0
push 0x1002
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x39c]
call sub.mfc120.dll_Ordinal_11782
test eax, eax
jne 0x464768
mov dword [ebp - 0x3b4], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x3a4]
call dword [sym.imp.mfc120.dll_Ordinal_1041]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x37c]
call dword [sym.imp.mfc120.dll_Ordinal_1041]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x374]
call dword [sym.imp.mfc120.dll_Ordinal_1041]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x39c]
call sub.mfc120.dll_Ordinal_1137
mov eax, dword [ebp - 0x3b4]
jmp 0x464ada
lea ecx, [ebp - 0x3f4]
call dword [sym.imp.GrphCalc.dll_public:_void___thiscall_C3DDPoint::constructor_void_]
mov ecx, dword [ebp + 0x58]
push ecx
mov edx, dword [ebp + 0x54]
push edx
cvtsd2ss xmm0, qword [ebp + 0x4c]
push ecx
movss dword [esp], xmm0
mov eax, dword [ebp + 0x40]
push eax
mov ecx, dword [ebp + 0x28]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x24]
push eax
lea ecx, [ebp - 0x3f4]
push ecx
mov edx, dword [ebp + 0x20]
push edx
cvtsd2ss xmm0, qword [ebp + 0x18]
push ecx
movss dword [esp], xmm0
lea eax, [ebp - 0x374]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 0x39c]
push edx
mov ecx, dword [ebp - 0x388]
add ecx, 0x26c
call dword [sym.imp.EleSet.dll_public:_long_int___thiscall_CGraveManager::OutputNetLaser_class_CFile___class_CWordArray___class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char______float__class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char______class_C3DDPoint___class_CDRect___class_CDRect___int__int__float__int__int_]
mov dword [ebp - 0x3bc], eax
lea ecx, [ebp - 0x39c]
call sub.mfc120.dll_Ordinal_5765
mov dword [ebp - 0x3c0], eax
mov ecx, dword [ebp + 0xc]
call fcn.0042ba70
push ecx
mov ecx, esp
mov dword [ebp - 0x3cc], esp
lea eax, [ebp - 0x374]
push eax
call dword [sym.imp.mfc120.dll_Ordinal_300]
mov dword [ebp - 0x3d8], eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.EleSet.dll_void___cdecl_GetLayerID_class_CWordArray___class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char____]
add esp, 8
cmp dword [ebp + 0x28], 0
jle 0x46490e
push 0
push 0
push 0
lea ecx, [ebp - 0x39c]
call sub.mfc120.dll_Ordinal_12860
mov dword [ebp - 0x380], 0x200
mov edx, dword [ebp - 0x380]
push edx
lea eax, [ebp - 0x330]
push eax
lea ecx, [ebp - 0x39c]
call sub.mfc120.dll_Ordinal_12165
cmp dword [ebp + 0x28], 0xea60
jle 0x464867
mov dword [ebp + 0x28], 0xea60
mov cx, word [ebp + 0x28]
mov word [ebp - 0x1ba], cx
mov dx, word [ebp - 0x1ba]
mov word [ebp - 0x1bc], dx
lea ecx, [ebp - 0x130]
call dword [sym.imp.GrphCalc.dll_public:_double___thiscall_CDRect::Width_void_]
fstp qword [ebp - 0x3c8]
movsd xmm0, qword [ebp - 0x3c8]
addsd xmm0, qword [ebp + 0x2c]
addsd xmm0, qword [0x4a6d20]
cvttsd2si eax, xmm0
mov word [ebp - 0x1b8], ax
lea ecx, [ebp - 0x130]
call dword [sym.imp.GrphCalc.dll_public:_double___thiscall_CDRect::Height_void_]
fstp qword [ebp - 0x3d4]
movsd xmm0, qword [ebp - 0x3d4]
addsd xmm0, qword [ebp + 0x34]
addsd xmm0, qword [0x4a6d20]
cvttsd2si ecx, xmm0
mov word [ebp - 0x1b6], cx
push 0
push 0
push 0
lea ecx, [ebp - 0x39c]
call sub.mfc120.dll_Ordinal_12860
mov edx, dword [ebp - 0x380]
push edx
lea eax, [ebp - 0x330]
push eax
lea ecx, [ebp - 0x39c]
call sub.mfc120.dll_Ordinal_14379
push 0
push 0
push 0
lea ecx, [ebp - 0x39c]
call sub.mfc120.dll_Ordinal_12860
mov dword [ebp - 0x380], 0x200
mov ecx, dword [ebp - 0x380]
push ecx
lea edx, [ebp - 0x330]
push edx
lea ecx, [ebp - 0x39c]
call sub.mfc120.dll_Ordinal_12165
mov ecx, dword [ebp + 0xc]
call fcn.004928b0
cmp eax, 1
jle 0x4649ec
movzx eax, word [ebp - 0x330]
and eax, 0xff00
or eax, 0xc8
mov word [ebp - 0x330], ax
mov ecx, dword [ebp + 0xc]
call fcn.004928b0
mov word [ebp - 0x18c], ax
mov ecx, 0xffff
mov word [ebp - 0x18a], cx
cmp dword [ebp + 0x48], 0
jne 0x464997
xor edx, edx
mov word [ebp - 0x188], dx
jmp 0x4649ea
xor eax, eax
mov word [ebp - 0x188], ax
mov dword [ebp - 0x384], 0
jmp 0x4649bb
mov ecx, dword [ebp - 0x384]
add ecx, 1
mov dword [ebp - 0x384], ecx
mov ecx, dword [ebp + 0xc]
call fcn.004928b0
cmp dword [ebp - 0x384], eax
jge 0x4649ea
mov edx, 1
mov ecx, dword [ebp - 0x384]
shl edx, cl
movzx eax, word [ebp - 0x188]
or eax, edx
mov word [ebp - 0x188], ax
jmp 0x4649ac
jmp 0x464a0d
mov ecx, 1
mov word [ebp - 0x18c], cx
mov edx, 0xffff
mov word [ebp - 0x18a], dx
xor eax, eax
mov word [ebp - 0x188], ax
mov dword [ebp - 0x198], 0
mov dword [ebp - 0x194], 0
mov dword [ebp - 0x190], 0
xor ecx, ecx
mov word [ebp - 0x1aa], cx
mov dx, word [ebp + 0x3c]
mov word [ebp - 0x19c], dx
xor eax, eax
mov word [ebp - 0x19a], ax
xor ecx, ecx
mov word [ebp - 0x132], cx
push 0
push 0
push 0
lea ecx, [ebp - 0x39c]
call sub.mfc120.dll_Ordinal_12860
mov edx, dword [ebp - 0x380]
push edx
lea eax, [ebp - 0x330]
push eax
lea ecx, [ebp - 0x39c]
call sub.mfc120.dll_Ordinal_14379
lea ecx, [ebp - 0x39c]
call sub.mfc120.dll_Ordinal_2838
mov ecx, dword [ebp - 0x3bc]
mov dword [ebp - 0x3a8], ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x3a4]
call dword [sym.imp.mfc120.dll_Ordinal_1041]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x37c]
call dword [sym.imp.mfc120.dll_Ordinal_1041]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x374]
call dword [sym.imp.mfc120.dll_Ordinal_1041]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x39c]
call sub.mfc120.dll_Ordinal_1137
mov eax, dword [ebp - 0x3a8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00499036
mov esp, ebp
pop ebp
ret 0x54